Lenny Tropiano / asterisk.org Mailing list
2003-Feb-27 21:25 UTC
[Asterisk-Users] Directory() application, answers but doesn't dial...
I have the following in my config files: extensions.conf: exten => 0000,1,Directory(employees) [employees] exten => 5555,1,Playback(transfer,skip) exten => 5555,2,Macro(stdexten,5555,SIP/lenny) ;; exten => 5556,1,Playback(transfer,skip) exten => 5556,2,Macro(stdexten,5556,SIP/brian) voicemail.conf: 5555 => 5555,Lenny Tropiano,lenny at voiping.com 5556 => 5556,Brian Sinclair,brian at voiping.com If I dial 0000, the Directory application answer, I type TRO or SIN and wait... nothing, after a few seconds later it goes onto the "Bye, thank you for calling asterisk".... Any ideas? Lenny irc: InetNomad
Benjamin Miller
2003-Feb-28 09:11 UTC
[Asterisk-Users] Directory() application, answers but doesn't dial...
This was confusing to me too until I read the source code. Maybe the help text in app_directory could be updated. Here's the trick. Not ONLY is "employees" the context app_directory uses to call the person's extension when you select them, BUT IT ALSO is the context if voicemail.conf that the list of employees must be in. So, in your voicemail.conf you have below just make sure there is a [employees] above the names and it should work. Definite documentation issue here. ;-) Good Luck, Ben -----Original Message----- From: Lenny Tropiano / asterisk.org Mailing list [mailto:asterisk at enterprise.icus.com] Sent: Thursday, February 27, 2003 10:26 PM To: asterisk-users at lists.digium.com Subject: [Asterisk-Users] Directory() application, answers but doesn't dial... I have the following in my config files: extensions.conf: exten => 0000,1,Directory(employees) [employees] exten => 5555,1,Playback(transfer,skip) exten => 5555,2,Macro(stdexten,5555,SIP/lenny) ;; exten => 5556,1,Playback(transfer,skip) exten => 5556,2,Macro(stdexten,5556,SIP/brian) voicemail.conf: 5555 => 5555,Lenny Tropiano,lenny at voiping.com 5556 => 5556,Brian Sinclair,brian at voiping.com If I dial 0000, the Directory application answer, I type TRO or SIN and wait... nothing, after a few seconds later it goes onto the "Bye, thank you for calling asterisk".... Any ideas? Lenny irc: InetNomad _______________________________________________ Asterisk-Users mailing list Asterisk-Users at lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users