[asterisk-users] GoTo IF

Doug Lytle support at drdos.info
Mon Sep 28 09:52:11 CDT 2009


michel freiha wrote:
> 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
>

exten => s,n,GotoIf($["${conference.room}" != ""]?s-process,1:s-notexist,1)

Doug

-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list