[Asterisk-Users] Directory() Command

Howard Lowndes lannet at lannet.com.au
Mon Jan 17 13:54:07 MST 2005


On Tue, 2005-01-18 at 07:44, kurt x wrote:
> 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).

Directory (vm-context | dial-context)
                      ^
                   required
> 
> 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
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Howard.
LANNet Computing Associates;
Your Linux people <http://www.lannetlinux.com>
------------------------------------------
"When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft."
------------------------------------------
"Flatter government, not fatter government;
Get rid of the Australian states."





More information about the asterisk-users mailing list