put a slash right after the ^ In the expression or you have to feed it a proper regex in that chanvar.Sent from my iPhoneOn Sep 14, 2021, at 14:33, David Villasmil <david.villasmil.work@gmail.com> wrote:Hello all,I'm trying to compare 2 variables in a condition, something like<condition field="${sip_from_user}" expression="^${some_other_phone_number}$" inline="true">But it looks like FS expands the variable, and does the comparison. The problem with this is, those 2 phone numbers are in e.164, i.e.:sip_from_user = +18885551212some_other_phone_number = +18005551212and so the condition ends up being:<condition field="+18885551212" expression="^+18005551212$" inline="true">which of course won't work....Is there any way of escaping the variables automatically when comparing?I haven't found a way.__________________________________________________________________________________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com