Hi Bogdan,
Great idea, thank you for the response! Jon ________________________________ From: Bogdan-Andrei Iancu <bog...@opensips.org> Sent: 02 December 2016 09:56 To: OpenSIPS users mailling list; Jonathan Hunter Subject: Re: [OpenSIPS-Users] Adding Double-Quotes to a SIP header when using exec module opensips 2.1 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 Home - OpenSIPS Solutions<http://www.opensips-solutions.com/> www.opensips-solutions.com OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities. 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<mailto: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