<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Just fyi, tls compression is disabled by default in the tls module:<br>
    -
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules/tls.html#tls_disable_compression">http://kamailio.org/docs/modules/stable/modules/tls.html#tls_disable_compression</a><br>
    <br>
    But you can try with it set and see what happens.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 1/24/13 10:09 AM, Peter Dunkley
      wrote:<br>
    </div>
    <blockquote
      cite="mid:0E741F08-8FC4-45A1-865C-55D92150667D@crocodile-rcs.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <div>I shod also add that the Kamailio WebSocket implementation
        does not support any extensions. &nbsp;So unless the deflate frame
        extension is implicit for TLS it will not be negotiated.
        &nbsp;Further, the implementation does not set any compressed bits
        and all unused flags etc should be zeroed automatically - but I
        will look at the code later.</div>
      <div><br>
      </div>
      <div>Peter<br>
        <br>
        On 24 Jan 2013, at 09:05, Peter Dunkley &lt;<a
          moz-do-not-send="true"
          href="mailto:peter.dunkley@crocodile-rcs.com">peter.dunkley@crocodile-rcs.com</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <div>I am not sure how to investigate this. &nbsp;It sounds like it
            might be a TLS related problem (or a WebSocket/TLS
            interworking problem in Kamailio). &nbsp;I don't know anything
            about the Kamailio TLS implementation - I just drop
            WebSocket frames into it as required.</div>
          <div><br>
          </div>
          <div>I did do (a little) WSS testing and saw no problems
            myself.</div>
          <div><br>
          </div>
          <div>Regards,</div>
          <div><br>
          </div>
          <div>Peter<br>
            <br>
            On 23 Jan 2013, at 22:12, Pete Kelly &lt;<a
              moz-do-not-send="true" href="mailto:pkelly@gmail.com">pkelly@gmail.com</a>&gt;
            wrote:<br>
            <br>
          </div>
          <blockquote type="cite">
            <div>
              <div dir="ltr">
                <p style="font-family:arial,sans-serif;font-size:13px">Hi,
                  I am having an issue at the moment with SIP NOTIFY
                  messages being sent from Kamailio (latest git master)
                  over wss transport</p>
                <p style="font-family:arial,sans-serif;font-size:13px">
                  I am getting reports from the receiving end saying
                  "Compressed bit must be 0 if no negotiated
                  deflate-frame extension"</p>
                <p style="font-family:arial,sans-serif;font-size:13px">The
                  only reference I can find to it is at the following
                  URL... where the problem was caused by the server
                  miscalculating the size of the msg:&nbsp;<a
                    moz-do-not-send="true"
href="http://stackoverflow.com/questions/12308728/compressed-bit-must-be-0-when-sending-a-message-to-websocket-client"
                    target="_blank">http://stackoverflow.com/questions/12308728/compressed-bit-must-be-0-when-sending-a-message-to-websocket-client</a></p>
                <p style="font-family:arial,sans-serif;font-size:13px">Does
                  anyone have any suggestions as to how I could debug
                  this within Kamailio? It sounds like Kamailio may be
                  sending some incorrect packet information but I am
                  unsure at this point.</p>
                <p style="font-family:arial,sans-serif;font-size:13px"><br>
                </p>
                <p style="font-family:arial,sans-serif;font-size:13px"><br>
                </p>
              </div>
            </div>
          </blockquote>
          <blockquote type="cite">
            <div><span>_______________________________________________</span><br>
              <span>SIP Express Router (SER) and Kamailio (OpenSER) -
                sr-users mailing list</span><br>
              <span><a moz-do-not-send="true"
                  href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a></span><br>
              <span><a moz-do-not-send="true"
                  href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></span><br>
            </div>
          </blockquote>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>_______________________________________________</span><br>
          <span>SIP Express Router (SER) and Kamailio (OpenSER) -
            sr-users mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a></span><br>
          <span><a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
 - <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
  </body>
</html>