[Asterisk-Users] Result branching in AEL
Morning all, I'm trying to rewrite my dialplan macros into AEL. How does one handle result-dependent branching (e.g. VoiceMail will branch to n+101 if mailbox doesn't exist) in AEL? Or is there a better way of doing this? Thanks in advance. Regards, Chris -- C.M. Bagnall, Director, Minotaur I.T. Limited Tel: (01604) 808408 Mobile: (07811) 332969 Skype: minotaur-uk ICQ: 13350579 AIM: MinotaurUK MSN: [EMAIL PROTECTED] Y!: Minotaur_Chris This email is made from 100% recycled electrons ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Result branching in AEL
n+101 feature is deprecated and is no longer supported in Asterisk. All applications are modified to set exit status variable. Use something like VoiceMail(b${EXTEN}); if(${VMSTATUS} = FAILED) { Noop(mailbox doesn't exists); } On Fri, 2005-11-11 at 10:11 +, Chris Bagnall wrote: Morning all, I'm trying to rewrite my dialplan macros into AEL. How does one handle result-dependent branching (e.g. VoiceMail will branch to n+101 if mailbox doesn't exist) in AEL? Or is there a better way of doing this? Thanks in advance. Regards, Chris ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users