Hi Jonathan,

If I understand correctly, you want to send a SIP INFO message from the script, right ?

Why not using the t_new_request() function instead of the exec trigger?
http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id295336

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01.12.2016 14:10, Jonathan Hunter wrote:
Hi guys,

I am using the exec module to generate a SIP INFO message, and this working well.

However I am trying to create an Event header which contains double quotes, so would look something like;

Event: Test;id="2";category="RECORDING";p1="STOP";p2="MASK";p3="";p4=""

However when It goes out on the wire (and I look on wireshark) it does not include the double quotes.

How can I escape double quotes so they can be sent as part of the SIP header?

I have tried %22 , and some backslash combinations.

Its fine in terms of in the configuration file, if I use backslash, but not when sent out, so assume its a bash command?

Any help/tips would be great!

Thanks

Jon



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to