WebSocket abrupt disconnection on making a call

39 views
Skip to first unread message

Alief Nochtavio

unread,
Aug 27, 2021, 7:25:27 AMAug 27
to JsSIP
Hi,

Our application have an issue where our users try to make an outgoing call, sometimes the websocket connection failed.

Screenshot 2021-08-27 181935.png
Screenshot 2021-08-27 182009.png

INVITE sip:xxx...@xxx.com SIP/2.0
Via: SIP/2.0/WSS l5vr7gn954g4.invalid;branch=z9hG4bK4972166
Max-Forwards: 69
From: <sip:555588004@xxx>;tag=bs59udtc2a
Call-ID: 9cllrc2dq037bt2ktm89
CSeq: 9862 INVITE
X-Recording-Id: 4599529275
X-Caller-Id: 6531303130
Contact: <sip:147l...@l5vr7gn954g4.invalid;transport=ws;ob>
Content-Type: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: ice,replaces,outbound
User-Agent: XXX
Content-Length: 2736

v=0
o=- 6971846626446213041 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0
a=extmap-allow-mixed
a=msid-semantic: WMS IXIp1qGaAmkMHCoEQGRR285fhj6x56tNIuSM
m=audio 55270 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 158.140.182.19
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3886062924 1 udp 2122260223 172.26.80.1 55268 typ host generation 0 network-id 1
a=candidate:3821841455 1 udp 2122194687 10.100.100.6 55269 typ host generation 0 network-id 3
a=candidate:2189294179 1 udp 2122129151 192.168.100.3 55270 typ host generation 0 network-id 2 network-cost 10
a=candidate:53869783 1 udp 1685921535 158.140.182.19 55270 typ srflx raddr 192.168.100.3 rport 55270 generation 0 network-id 2 network-cost 10
a=candidate:366794235 1 udp 1685987071 49.213.20.4 55269 typ srflx raddr 10.100.100.6 rport 55269 generation 0 network-id 3
a=candidate:53869783 1 udp 1685921535 158.140.182.83 55270 typ srflx raddr 192.168.100.3 rport 55270 generation 0 network-id 2 network-cost 10
a=candidate:2837668284 1 tcp 1518280447 172.26.80.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:2907656415 1 tcp 1518214911 10.100.100.6 9 typ host tcptype active generation 0 network-id 3
a=candidate:3439199891 1 tcp 1518149375 192.168.100.3 9 typ host tcptype active generation 0 network-id 2 network-cost 10
a=ice-ufrag:rN/s
a=ice-pwd:XgUMHUjJK07xqxUA8malXpko
a=ice-options:trickle
a=fingerprint:sha-256 A6:0E:61:6F:25:F6:70:A6:7E:9A:40:49:F6:07:A8:45:30:8C:33:D1:02:89:5B:88:B6:40:0D:F5:B9:A6:D1:57
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:IXIp1qGaAmkMHCoEQGRR285fhj6x56tNIuSM f852d1f6-a949-470f-866c-7c1b9670bc9f
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:2292901832 cname:jpcOXN00du3SNm0s
a=ssrc:2292901832 msid:IXIp1qGaAmkMHCoEQGRR285fhj6x56tNIuSM f852d1f6-a949-470f-866c-7c1b9670bc9f
a=ssrc:2292901832 mslabel:IXIp1qGaAmkMHCoEQGRR285fhj6x56tNIuSM
a=ssrc:2292901832 label:f852d1f6-a949-470f-866c-7c1b9670bc9f

Thanks!

AD Rehman

unread,
Aug 28, 2021, 8:50:55 AMAug 28
to js...@googlegroups.com
I reported the almost same issue, websocket fails to connect, even it take too long in try connecting.. required to adjust timeout.

How we could make that reconnect bit quicker?



--
You received this message because you are subscribed to the Google Groups "JsSIP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jssip+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/40f97d88-bf37-4366-ad66-5f8c1e65bc19n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages