not sure what you want, but for multiple returns i use Set(AGI_STATUS=mystatus), so in the dialplan i just check for the variable AGI_STATUS and do whatever i need depending on the status.

regards

On 2/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
Hello friends,
  Asterisk applications like Dial and other commands return codes. When AGI script is executed, it returns -1 on hangup and 0 on non hangup exit. How do I check these return codes from the extensions.conf . I want to check these return codes and control the dialplan.
  Please help me how do I track this.

Thanks all for reading this mail.


With warm regards.

Vivek J. Joshi.

[EMAIL PROTECTED]
Trikon electronics Pvt. Ltd.

--Sweat saves blood, blood saves lives, and brains saves both.




_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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





--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to