[Asterisk-Users] Format of extensions.conf

Mark Phillips g7ltt at g7ltt.com
Mon Oct 24 19:25:03 MST 2005


Syntacticly? Would that be the same as Telestrate?



David Tillman wrote:
> 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
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 

Mark, G7LTT/KC2ENI
Randolph, NJ
http://www.g7ltt.com



More information about the asterisk-users mailing list