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: msn@minotaur.cc Y!: Minotaur_Chris This email is made from 100% recycled electrons
"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 +0000, 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