On Sun, 9 Mar 2008 03:11:58 +0100, "Grygoriy Dobrovolskyy" <[EMAIL PROTECTED]> wrote: >Two ways, use n priority or add 'g' iption in dial command. > >2008/3/9, Jim Duda <[EMAIL PROTECTED]>: >> >> 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
What about simply adding the "h" extension? [sphinx] exten => s,1,AGI(MisterHouse.agi,"Sphinx Connect") exten => s,n,Dial(CONSOLE/1,,e) exten => s,n,AGI(MisterHouse.agi,"Sphinx Disconnect") exten => s,n,Hangup exten => h,1,Verbose(Here we are) exten => h,n,Verbose(Next step) _______________________________________________ -- 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