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. vivek@staff.ownmail.com Trikon electronics Pvt. Ltd. --Sweat saves blood, blood saves lives, and brains saves both.
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, vivek@staff.ownmail.com <vivek@staff.ownmail.com> 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. > > vivek@staff.ownmail.com > 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: > lists.digium.com/mailman/listinfo/asterisk-users > > >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en gnu.org" -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20060203/23f4ceb5/attachment.htm