[asterisk-users] Conditional branching

bails bails at westcomuk.com
Mon Aug 7 07:16:21 MST 2006


Hi all, I'm trying to set some variables absed on a mysql query, but the 
  value i want to return is "".

from everything i read i cant seem to match on it.

eg.

exten => _X,11,GotoIf($[${datavar1} = ""]?30:12)

will always go to 12 as ${datavar1} returns "" and the expression is false.

Any ideas

Bails



More information about the asterisk-users mailing list