gincantalupo
2011-Feb-09 15:21 UTC
[asterisk-users] queue called by agi doesn't re-enter the script
Hello, I tried this piece of extensions on my Asterisk 1.8: exten => 679,1,NoOp(start) exten => 679,2,AGI(/var/lib/asterisk/bin/test.py) exten => 679,3,NoOp(--- end ---) exten => 679,n,Hangup where test.py executes a queue command. The strange thing is my CLI never shows the '--- end ---' string. It seems that with queues, the normal script flow is not going on to the next step...just like the queue forces an exit from extension.conf. Anybody knows why? Thank you. Giorgio Incnatalupo
Ted Tiberio
2011-Feb-09 15:34 UTC
[asterisk-users] queue called by agi doesn't re-enter the script
http://www.voip-info.org/wiki/view/Asterisk+cmd+DeadAGI read the part at the bottom about ignoring sighup, if you're using a later version i think there is a option like agisighup that you can use in the dialplan
Steve Edwards
2011-Feb-09 15:38 UTC
[asterisk-users] queue called by agi doesn't re-enter the script
On Wed, 9 Feb 2011, gincantalupo wrote:> I tried this piece of extensions on my Asterisk 1.8: > exten => 679,1,NoOp(start) > exten => 679,2,AGI(/var/lib/asterisk/bin/test.py) > exten => 679,3,NoOp(--- end ---) > exten => 679,n,Hangup > > where test.py executes a queue command. > > The strange thing is my CLI never shows the '--- end ---' string. It > seems that with queues, the normal script flow is not going on to the > next step...just like the queue forces an exit from extension.conf.What queue command does test.py execute? Did you use a tested 'py' AGI library or write your own? (Nobody gets it right the first time.) If you crank up verbosity and debug do you get any clues? The CLI command 'agi set debug on' may also yield some clues. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Apparently Analagous Threads
- how to show called name on calling polycomdisplay
- how to show called name on calling polycom display
- cannot get calls with Tellfree brazilian provider
- module zttranscode: what is it?
- module loading error with Ubuntu: insmod: error inserting '/lib/modules/2.6.12/misc/zaptel.ko': -1 Invalid module format