[OpenSIPS-Users] WEBRTC - Bad Request/Body

Liviu Chircu liviu at opensips.org
Wed May 24 15:37:24 EDT 2017


http://www.opensips.org/html/docs/modules/2.4.x/sipmsgops.html#idp5377744

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 24.05.2017 22:29, Dragomir Haralambiev wrote:
> sipmsg_validate error: -13
>
> 2017-05-24 22:09 GMT+03:00 Liviu Chircu <liviu at opensips.org 
> <mailto:liviu at opensips.org>>:
>
>     Can you do an xlog("sipmsg_validate error: $rc\n") in the error
>     block, please?
>
>     Liviu Chircu
>     OpenSIPS Developer
>     http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     On 24.05.2017 22:00, Dragomir Haralambiev wrote:
>>     if (!sipmsg_validate("shr")) {
>>     send_reply("400", "Bad Request/Body");
>>     exit;
>>     };
>>
>>     2017-05-24 21:46 GMT+03:00 Liviu Chircu <liviu at opensips.org
>>     <mailto:liviu at opensips.org>>:
>>
>>         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.
>>
>>         Liviu Chircu
>>         OpenSIPS Developer
>>         http://www.opensips-solutions.com
>>         <http://www.opensips-solutions.com>
>>
>>         On 24.05.2017 19:15, Dragomir Haralambiev wrote:
>>>         In Opensips log I not see any errors.
>>>
>>>
>>>         On May 24, 2017 10:37, "Răzvan Crainea" <razvan at opensips.org
>>>         <mailto:razvan at opensips.org>> wrote:
>>>
>>>             Hi, Dragomir!
>>>
>>>             This doesn't help us at all. Can you check the OpenSIPS
>>>             logs for any errors?
>>>
>>>             Best regards,
>>>
>>>             Răzvan Crainea
>>>             OpenSIPS Solutions
>>>             www.opensips-solutions.com
>>>             <http://www.opensips-solutions.com>
>>>
>>>             On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:
>>>>             Hello,
>>>>
>>>>             After update from Opensips 2.2.3 to 2.2.4 I have follow
>>>>             problem with WebRTC (sip.js):
>>>>             When WebRTC send CANCEL Opensips return  SIP/2.0 400
>>>>             Bad Request/Body.
>>>>
>>>>             Here is WebSocket log:
>>>>
>>>>             Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) |
>>>>             sip.transport | sending WebSocket message:
>>>>
>>>>             CANCEL sip:3287423512@<IP:Opensips> SIP/2.0
>>>>             Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
>>>>             To: <sip:3287423512@<IP:Opensips>>
>>>>             From: "Tester"
>>>>             <sip:<Sip.js_ID>@<IP:Opensips>>;tag=6mmehombk4
>>>>             Call-ID: ncgujo0cn2a6neb0hguj
>>>>             CSeq: 9374 CANCEL
>>>>             Content-Length: 0
>>>>
>>>>
>>>>
>>>>             sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300
>>>>             (FLE Daylight Time) | sip.transport | received
>>>>             WebSocket text message:
>>>>
>>>>             SIP/2.0 400 Bad Request/Body
>>>>             Via: SIP/2.0/WSS
>>>>             192.0.2.16;received=<Sip.js_IP>;branch=z9hG4bK8296649
>>>>             To:
>>>>             <sip:3287423512@<IP:Opensips>>;tag=1fdc427fd21267a1733a000b01d225fc.005b
>>>>             From: "Tester"
>>>>             <sip:<Sip.js_ID>@<IP:Opensips>>;tag=6mmehombk4
>>>>             Call-ID: ncgujo0cn2a6neb0hguj
>>>>             CSeq: 9374 CANCEL
>>>>             Server: SIP Proxy
>>>>             Content-Length: 0
>>>>
>>>>
>>>>             _______________________________________________
>>>>             Users mailing list
>>>>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>             <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>
>>>
>>>             _______________________________________________
>>>             Users mailing list
>>>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>             <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         Users mailing list
>>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>         <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>>         _______________________________________________
>>         Users mailing list
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>         <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170524/50b5a059/attachment.html>


More information about the Users mailing list