Summary:ASTERISK-15553: Application Directory does not respect the [vm-context] context and selects users from the default context
Reporter:fordattenborough (fordattenborough)Labels:
Date Opened:2010-01-31 17:27:16.000-0600Date Closed:2011-06-07 14:00:18
Versions:Frequency of

I'm running Asterisk on a Centos 5 box (Linux version 2.6.18-164.10.1.el5 (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Jan 7 20:00:41 EST 2010)

I have separate contexts defined in voicemail.conf as follows:

100 => 1234,John Doe

And call application directory using the following syntax:
exten => 1,1,Directory([abcdental][,abcdental[,f]])

However since I migrated from 1.4 to 1.6, app_directory no longer parses the voicemail.conf to match the full name of the mailbox.  App_directory only matches directory names based on the entries registered to the default context (voicemail show users)

Therefore my workaround has been to define the users in users.conf; however the problem with that is that the fullnames in users.conf only register to the default voicemail context.  

It seems that the first argument of the app directory "vm-context"
Directory([vm-context][,dial-context[,options]]) is broken as app_directory will only return matches from the default context regardless of vm-context specified.  Thank you.
Comments:By: fordattenborough (fordattenborough) 2010-01-31 20:02:04.000-0600

Possible configuration error.  Please disregard and thank you.