[asterisk-users] GoTo IF

Klaus Darilion klaus.mailinglists at pernau.at
Mon Sep 28 10:14:36 CDT 2009


extension.ael:


if (0!=${MYVARIABLE}) {
   ...
}

or test for empty/unset variables, use:

${EXISTS()} or
${ISNULL()}

regards
klaus

michel freiha schrieb:
> Hi all,
> 
> I need a goto If statement syntax  that check if a variable is not null 
> then go to dialplan 1 else go to dialplan2
> 
> Regards
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list