Closed abnin closed 2 months ago
Version "sip.js": "0.21.2"
Logs Wed Aug 23 2023 15:03:22 | sip.Transport | Sending WebSocket message: //EMPTY // In my opinion there should be a REGISTER HEADER like this
Example: REGISTER sip:xxx SIP/2.0 Via: SIP/2.0/WSS xxx;branch=xxx To: sip:xxx@xxxx From: sip:xxx@xxx;tag=xxx CSeq: 3 REGISTER Call-ID: xxx Max-Forwards: 70 Authorization: Digest algorithm=MD5, username="xxx", realm="xxx", nonce="xxx", uri="sip:xxx", response="xxx", qop=auth, cnonce="xxx", nc=xxx Contact: sip:xxx@xxx;transport=ws;+sip.instance="";expires=600 Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER Supported: outbound, path, gruu User-Agent: SIP.js/0.21.1 Content-Length: 0
But the send is empty.
Resolved.
In our code we put a .then() in registerer, overwritten the implementation of library SIP.js
I removed this, and everything back to normal.
Version "sip.js": "0.21.2"
Logs Wed Aug 23 2023 15:03:22 | sip.Transport | Sending WebSocket message: //EMPTY // In my opinion there should be a REGISTER HEADER like this
Example: REGISTER sip:xxx SIP/2.0 Via: SIP/2.0/WSS xxx;branch=xxx To: sip:xxx@xxxx From: sip:xxx@xxx;tag=xxx CSeq: 3 REGISTER Call-ID: xxx Max-Forwards: 70 Authorization: Digest algorithm=MD5, username="xxx", realm="xxx", nonce="xxx", uri="sip:xxx", response="xxx", qop=auth, cnonce="xxx", nc=xxx Contact: sip:xxx@xxx;transport=ws;+sip.instance="";expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.21.1
Content-Length: 0
But the send is empty.