Handling of re-invite with no SDP, sip.js sending 415 Unsupported Media Type

873 views
Skip to first unread message

jhu...@voxboxcoms.co.uk

unread,
Apr 19, 2017, 9:43:14 AM4/19/17
to SIP.js
Hi Guys,

I am making calls on the same opensips/freeswitch instance (with rtpengine) between 2 extensions, one being sip.js using chrome, and the other being a Yealink T42G.

When calling from the webclient to the Yealink, on answer, Freeswitch sends an immediate re-invite with No-sdp, and sip.js rejects it.

Is there a configuration setting I am missing or do I need to look elsewhere?

Many thanks and sorry for the noise!

Jon

justin fang

unread,
Apr 24, 2017, 3:47:42 AM4/24/17
to SIP.js, jhu...@voxboxcoms.co.uk
Hi Jon,

    A similar issue was discussed here  https://github.com/onsip/SIP.js/issues/12 which was post in 2014.
    It seems something wrong with RTCPeerConnection renegotiation.
    I read the sip.js source code, it handles reinvite with SDP only and I don't know the status currently.
    Can anyone please update here?

Thanks,
Justin

jhu...@voxboxcoms.co.uk於 2017年4月19日星期三 UTC+8下午9時43分14秒寫道:

justin fang

unread,
May 10, 2017, 4:58:42 AM5/10/17
to SIP.js, jhu...@voxboxcoms.co.uk
Hi,

    Is there anyone have update for this issue?

Thank,
Justin

justin fang於 2017年4月24日星期一 UTC+8下午3時47分42秒寫道:

Jonathan Hunter

unread,
Jun 11, 2017, 5:59:31 AM6/11/17
to justin fang, SIP.js
Hi All,

Just picking up on this again, any updates on this issue?

Thanks

Jon
--
Jonathan Hunter
Technical Director /Telephony Developer

Eric Green

unread,
Jun 21, 2017, 10:32:37 AM6/21/17
to SIP.js, ccf...@gmail.com, jhu...@voxboxcoms.co.uk
I am working on some of that code currently, it will definitely error out on an re-invite without SDP. Off the top of my head, I would guess that this it is valid signaling to have a re-invite with no SDP. Session.js would probably need a bit of a refactor to handle this case more generically. 

-Eric Green

justin fang

unread,
Aug 28, 2017, 4:09:12 AM8/28/17
to SIP.js, ccf...@gmail.com, jhu...@voxboxcoms.co.uk
Hi Eric,

    Do you have any good news? Could you please update us?

Thanks,
Justin

Eric Green於 2017年6月21日星期三 UTC+8下午10時32分37秒寫道:
-Eric Green

Eric Green

unread,
Aug 28, 2017, 9:16:47 AM8/28/17
to SIP.js, ccf...@gmail.com, jhu...@voxboxcoms.co.uk
You can take a look at my PR. This case is still unsupported though.

-Eric Green
Reply all
Reply to author
Forward
0 new messages