[HELP] Voicemail does not answer from directory dials

Hey, I’ve got Trixbox with Asterisk 1.2.11 running with 8 standard phone lines attached to Sangoma Remora cards. The system is relatively new, and I’ve just noticed an odd problem:

Voicemail works fine, answering after a particular interval, and can be direct dialed with a * prefix on the extension you want to reach. However, if you call from outside after hours and use the directory to dial the user, voicemail will never pickup. If you dial the extension without using the directory, however, voicemail picks up after the regular interval.

Where do I find the configuration information for the directory behaviour?

Thanks for your help!

I believe I found the directory info in extensions_additional.conf:

include => app-directory-custom
exten => #,1,Answer
exten => #,n,Wait(1)
exten => #,n,AGI(directory,${DIR-CONTEXT},from-did-direct,${DIRECTORY:0:1}${DIRECTORY_OPTS}o)
exten => #,n,Playback(vm-goodbye)
exten => #,n,Hangup

; end of [app-directory]

But I’m not sure what to do with it- especially since, if you just dial # for the directory from a local extension, the problem described above does not exist. It’s only for outside callers.

Any thoughts?