Steve Edwards wrote:
So are the quotes now a requirement?
It looks like quotes are only a requirement on strings. In the original
post, the only difference I can see, compared to the snippet of my
dialplan without quoting, is that I'm not using the != comparison.
Whereas it seems to work okay on strings:
exten => s,n,GotoIf($[${LEN(${source})} = 4 ]?4digits,1:6)
exten => s,n,GotoIf($[${LEN(${source})} = 10 ]?10digits,1:7)
exten => s,n,GotoIf($[${LEN(${source})} = 14 ]?14digits,1:7)
exten => s,n,GotoIf($["${get-room-num}" = "99999"]?s-verify,1:s,5)
exten => s,n,GotoIf($["${TODAY}" = "${ISTODAY}"]?s,7:s,5)
exten => s,n,GotoIf($["${set.transfer}" = "N"]?s,17:s,16)
exten => 3,1,GotoIf($["${set.transfer}" = "N"]?i,1:3,2)
Doug
--
_____________________________________________________________________
-- 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