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       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to