[Asterisk-Users] Format of extensions.conf
David Tillman
photondave+asteriskusers at gmail.com
Mon Oct 24 19:08:11 MST 2005
In my (inherited) extensions.conf I have some lines of the format:
exten => o,2,GotoIf($["foo${FROM_DID}" =
"foo"]?from-pstn,s,1:from-pstn,${FROM_DID},1)
and some lines like:
exten => s,1,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4)
Note the quotes around the "foo${FROM_DID}" and "foo" in the
first, but the lack of quotes in the second.
Are these syntacticly equivalent?
In the first, is it just comparing to see if the string "foo" still equals
"foo" after the vars are interpolated?
Thanks,
-dave
More information about the asterisk-users
mailing list