[Asterisk-Users] Result branching in AEL

Sergey Okhapkin sos at sokhapkin.dyndns.org
Fri Nov 11 07:51:21 MST 2005


"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




More information about the asterisk-users mailing list