Hi All,
For some reason I can't get this GotoIf statement to work. Even if the name
and number are the same it jumps to line 3. I've tried with and without the
quotes around each variable.
exten => s,1,GotoIf($["${CALLERID(name)}" = "${CALLERID(num)}"]?:3)
exten => s,2,NoOp(they are the Same)
exten => s,3,NoOp(they are different)
The wisdom of this group is much appreciated.
This is an example only. I know the code will display both NoOp lines if the
name and number is the same.
Regards
David Klaverstyn
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users