[Asterisk-Users] Directory() Command

kurt x kurtwp at gmail.com
Mon Jan 17 13:44:56 MST 2005


I am trying to use the Directory() but am having difficulty using it.

According to Wiki page that I found you need to pass it
your voicemail.conf context.  My vm-context is [local].  So when
I setup the cmd (Directory(local)) I can search on the three letters
of the last name find that user.  But once I press one to except
the name and dial the extension I get the following message
form the * CLI.  

Jan 17 15:22:07 WARNING[-1285669968]: app_directory.c:182
play_mailbox_owner: Can't find extension '1111' in context 'local'. 
Did you pass the wrong context to Directory?

Reading the above error message I see that I need to pass it my
outbound context.  So I setup the command to look as follows:
Directory(local outbound).

I reload * and try again but this time it does not even pick up the
name I search for.  I used the same name in the first example.

Any ideas on where I want wrong would be greatly appreciated.

Kurt



More information about the asterisk-users mailing list