<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Jonathan,<br>
      <br>
      If I understand correctly, you want to send a SIP INFO message
      from the script, right ?<br>
      <br>
      Why not using the t_new_request() function instead of the exec
      trigger?<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id295336">http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id295336</a><br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 01.12.2016 14:10, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote
cite="mid:AM4PR0201MB21627EE84CA711B33786733DBD8F0@AM4PR0201MB2162.eurprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <div>Hi guys,</div>
        <div><br>
        </div>
        <div>I am using the exec module to generate a SIP INFO message,
          and this working well.</div>
        <div><br>
        </div>
        <div>However I am trying to create an Event header which
          contains double quotes, so would look something like;</div>
        <div><br>
        </div>
        <div>Event:
          Test;id="2";category="RECORDING";p1="STOP";p2="MASK";p3="";p4=""</div>
        <div><br>
        </div>
        <div>However when It goes out on the wire (and I look on
          wireshark) it does not include the double quotes.</div>
        <div><br>
        </div>
        <div>How can I escape double quotes so they can be sent as part
          of the SIP header?</div>
        <div><br>
        </div>
        <div>I have tried %22 , and some backslash combinations.</div>
        <div><br>
        </div>
        <div>Its fine in terms of in the configuration file, if I use
          backslash, but not when sent out, so assume its a bash
          command?</div>
        <div><br>
        </div>
        <div>Any help/tips would be great!</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Jon</div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>