[Freeswitch-users] JSON channel variable from Dialplan
s.safarov at gmail.com
Tue Apr 27 05:17:08 UTC 2021
you create FreeSwitch mod using asr_set_json_text_params as example.
On Tue, Apr 27, 2021 at 1:36 AM Guillermo Ruiz Camauer <grcamauer at gmail.com>
> Hi all,
> Is it possible to set the value of a channel variable to a JSON formatted
> I need to do something like this:
> <action application="set" data="MY_VAR=[\"Ford\", \"Chevy\"]"/>
> The problem seems to be that FS is not accepting the escape sequence and
> MY_VAR gets set to [\
> How do I go about escaping double quotes in the dialplan?
> Guillermo Ruiz Camauer
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users