[Freeswitch-users] XML unescaping

Sergey Safarov s.safarov at gmail.com
Sat Oct 27 13:46:15 UTC 2018


Hello
When need to assign variable value with XML symbols requires escaping is
suggested to use dialplan contractions like example
<action application="set"><![CDATA[
sip_h_Call-Info=<urn:nena:uid:callid:72270801514820004831:
lng.001.experient.co.us>;purpose=nena-CallId]]></action>

But more elegant will be
<action application="set"
data="sip_h_Call-Info=<urn:nena:uid:callid:72270801514820004831:
lng.001.experient.co.us>;purpose=nena-CallId"/>

I want add this functionality to FS. Could you give me reference to FS code
where is used escaping/unescaping.

Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181027/dd893d4c/attachment-0001.html>


More information about the FreeSWITCH-users mailing list