On 2005-09-26 at 18:15, Jim Gottlieb ([EMAIL PROTECTED]) wrote: > But since (as far as I know, without using AEL) there is no conditional > branching based on a variable, how am I supposed to use this?
OK, I forgot about GotoIf. However, the doc is wrong (or at least incomplete), because it only mentions SUCCESS and FAILURE, but I'm finding SYSTEMSTATUS set to APPERROR. So I'm doing: exten => s,5,GotoIf($["${SYSTEMSTATUS}" = "APPERROR"]?105:6) _______________________________________________ --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