<div dir="ltr">sipmsg_validate error: -13<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-24 22:09 GMT+03:00 Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><tt>Can you do an xlog("sipmsg_validate error: $rc\n") in the
error block, please?</tt><br>
</p><span class="">
<pre class="m_2104181678407636318moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_2104181678407636318moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
</span><div><div class="h5"><div class="m_2104181678407636318moz-cite-prefix">On 24.05.2017 22:00, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div><span class="m_2104181678407636318gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if
(!sipmsg_validate("shr")) {</div>
<div><span class="m_2104181678407636318gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>send_reply("400",
"Bad Request/Body");</div>
<div><span class="m_2104181678407636318gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_2104181678407636318gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>};</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-24 21:46 GMT+03:00 Liviu Chircu
<span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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><span class="m_2104181678407636318HOEnZb"><font color="#888888"><br>
</font></span></p>
<span class="m_2104181678407636318HOEnZb"><font color="#888888">
<pre class="m_2104181678407636318m_5097594307280287993moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_2104181678407636318m_5097594307280287993moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
</font></span>
<div>
<div class="m_2104181678407636318h5">
<div class="m_2104181678407636318m_5097594307280287993moz-cite-prefix">On
24.05.2017 19:15, Dragomir Haralambiev wrote:<br>
</div>
<blockquote type="cite">
<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">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_2104181678407636318m_5097594307280287993m_3337055302445408315m_-8119155774147526160moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="m_2104181678407636318m_5097594307280287993m_3337055302445408315m_-8119155774147526160moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div class="m_2104181678407636318m_5097594307280287993m_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="m_2104181678407636318m_5097594307280287993moz-txt-link-freetext">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="m_2104181678407636318m_5097594307280287993moz-txt-link-freetext">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="m_2104181678407636318m_5097594307280287993moz-txt-link-freetext">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_2104181678407636318m_5097594307280287993m_3337055302445408315m_-8119155774147526160mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_2104181678407636318m_5097594307280287993m_3337055302445408315m_-8119155774147526160moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_2104181678407636318m_5097594307280287993m_3337055302445408315m_-8119155774147526160moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">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">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="m_2104181678407636318m_5097594307280287993mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_2104181678407636318m_5097594307280287993moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_2104181678407636318m_5097594307280287993moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_2104181678407636318mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_2104181678407636318moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_2104181678407636318moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>