<action application="export"><![CDATA[sip_h_Diversion=<[email protected] 
 >;reason="unconditional"]]></action>

/b

On Dec 22, 2008, at 9:55 AM, rod wrote:

> Dear All,
>
> I've been playing with the freeswitch options for one month now, and
> I've been able to use it with kamailio working as a registrar.
>
> What I'd like to do is to add a diversion header using the following
> action in the dialplan:
>    <action application="export"
> data 
> ="sip_h_Diversion=<[email protected]>;reason="unconditional""/>
>
> Please note, that I'd like to put the word "unconditional" between
> quotes, this is to comply with the SIP gateway to which I'm sending  
> trafic.
>
> But I've been unable to set an escape character to use theses quotes,
> cause as you may understand, without escape character FS will consider
> this instruction instead:
>
> <action application="export"
> data="sip_h_Diversion=<[email protected]>;reason="
>
> cause the quote after reason= is considered as a closing quote for  
> data=".
>
> Is there a way to achieve this.
>
> Thanks.
> rod
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to