How do I get a context to continue to execute commands after the caller hangs up after a Dial command? I'm using the "e" option to the Dial application. I though the "e" option would allow the context to continue. This doesn't want to work for me. I'm using asterisk-1.6.beta5 I never get to "3" below. I get a message saying the "2" ended with a non-zero status. [sphinx] exten => s,1,AGI(MisterHouse.agi,"Sphinx Connect") exten => s,2,Dial(CONSOLE/1,,e) exten => s,3,AGI(MisterHouse.agi,"Sphinx Disconnect") exten => s,4,Hangup Thanks, Jim
Grygoriy Dobrovolskyy
2008-Mar-09 02:11 UTC
[asterisk-users] How Do I continue after Dial Command ??
Two ways, use n priority or add 'g' iption in dial command. 2008/3/9, Jim Duda <jim at duda.tzo.com>:> > How do I get a context to continue to execute commands after the caller > hangs up after a Dial command? I'm using the "e" option to the Dial > application. I though the "e" option would allow the context to > continue. This doesn't want to work for me. > > I'm using asterisk-1.6.beta5 > > I never get to "3" below. I get a message saying the "2" ended with a > non-zero status. > > [sphinx] > exten => s,1,AGI(MisterHouse.agi,"Sphinx Connect") > exten => s,2,Dial(CONSOLE/1,,e) > exten => s,3,AGI(MisterHouse.agi,"Sphinx Disconnect") > exten => s,4,Hangup > > Thanks, > > Jim > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080309/5671ed0b/attachment.htm