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

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" <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to