<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><tt>Are you using sipmsg_validate()? If yes, note that it can
        also receive an additional parameter, holding the error reason,
        which would be very helpful if printed.</tt><br>
    </p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS 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 24.05.2017 19:15, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADzurOKRS2ohrPaEwNat7ot0a4=HDHah6BqXr1cduyu_YLZufA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">In Opensips log I not see any errors.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On May 24, 2017 10:37, "Răzvan
            Crainea" <<a href="mailto:razvan@opensips.org"
              target="_blank" moz-do-not-send="true">razvan@opensips.org</a>>
            wrote:<br type="attribution">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> <tt>Hi, Dragomir!<br>
                  <br>
                  This doesn't help us at all. Can you check the
                  OpenSIPS logs for any errors?<br>
                  <br>
                  Best regards,<br>
                </tt>
                <pre class="m_3337055302445408315m_-8119155774147526160moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="m_3337055302445408315m_-8119155774147526160moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">www.opensips-solutions.com</a></pre>
                <div
                  class="m_3337055302445408315m_-8119155774147526160moz-cite-prefix">On
                  05/23/2017 09:39 PM, Dragomir Haralambiev wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">Hello,
                    <div><br>
                      <div>After update from Opensips 2.2.3 to 2.2.4 I
                        have follow problem with WebRTC (sip.js):</div>
                      <div>When WebRTC send CANCEL Opensips return
                         SIP/2.0 400 Bad Request/Body.</div>
                      <div><br>
                      </div>
                      <div>Here is WebSocket log:<br>
                        <br>
                        <div>Tue May 23 2017 21:10:47 GMT+0300 (FLE
                          Daylight Time) | sip.transport | sending
                          WebSocket message:</div>
                        <div><br>
                        </div>
                        <div>CANCEL <a class="moz-txt-link-freetext" href="sip:3287423512@">sip:3287423512@</a><IP:Opensips>
                          SIP/2.0</div>
                        <div>Via: SIP/2.0/WSS
                          192.0.2.16;branch=z9hG4bK82966<wbr>49</div>
                        <div>To:
                          <<a class="moz-txt-link-freetext" href="sip:3287423512@">sip:3287423512@</a><IP:Opensips>></div>
                        <div>From: "Tester"
                          <sip:<Sip.js_ID>@<IP:Opensips><wbr>>;tag=6mmehombk4</div>
                        <div>Call-ID: ncgujo0cn2a6neb0hguj</div>
                        <div>CSeq: 9374 CANCEL</div>
                        <div>Content-Length: 0</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>sip-0.7.7.js:2900 Tue May 23 2017 21:10:47
                          GMT+0300 (FLE Daylight Time) | sip.transport |
                          received WebSocket text message:</div>
                        <div><br>
                        </div>
                        <div>SIP/2.0 400 Bad Request/Body</div>
                        <div>Via: SIP/2.0/WSS
                          192.0.2.16;received=<Sip.js_IP<wbr>>;branch=z9hG4bK8296649</div>
                        <div>To:
                          <<a class="moz-txt-link-freetext" href="sip:3287423512@">sip:3287423512@</a><IP:Opensips>><wbr>;tag=1fdc427fd21267a1733a000b0<wbr>1d225fc.005b</div>
                        <div>From: "Tester"
                          <sip:<Sip.js_ID>@<IP:Opensips><wbr>>;tag=6mmehombk4</div>
                        <div>Call-ID: ncgujo0cn2a6neb0hguj</div>
                        <div>CSeq: 9374 CANCEL</div>
                        <div>Server: SIP Proxy</div>
                        <div>Content-Length: 0</div>
                      </div>
                    </div>
                  </div>
                  <br>
                  <fieldset
                    class="m_3337055302445408315m_-8119155774147526160mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_3337055302445408315m_-8119155774147526160moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_3337055302445408315m_-8119155774147526160moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
              </div>
              <br>
              ______________________________<wbr>_________________<br>
              Users mailing list<br>
              <a href="mailto:Users@lists.opensips.org" target="_blank"
                moz-do-not-send="true">Users@lists.opensips.org</a><br>
              <a
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
              <br>
            </blockquote>
          </div>
        </div>
      </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>