Failed to set remote answer sdp: The order of m-lines in answer doesn't match order in offer. Rejecting answer.

168 views
Skip to first unread message

ryan embgrets

unread,
Mar 28, 2022, 7:57:36 AM3/28/22
to JsSIP
Greetings,

I am trying to get a call working with webrtc, but getting below error upon answer.

Failed to set remote answer sdp: The order of m-lines in answer doesn't match order in offer. Rejecting answer.

I have examined the both invite and 200 ok sdp, and i don't see the m= line order being changed between them.

So seeking expert help on this one.

Pasting whole console logging below.


tryit-jssip.js:8 JsSIP:RTCSession emit "sdp" +40s
tryit-jssip.js:8 JsSIP:RTCSession emit "sending" [request:n {ua: n, headers: {…}, method: 'INVITE', ruri: e, body: 'v=0\r\no=- 6622245520828962871 2 IN IP4 127.0.0.1\r\ns…4760 label:274d6691-7fdb-4cca-8e6a-8e117ed3fba2\r\n', …}] +18ms
tryit-jssip.js:8 JsSIP:Transport send() +30s
tryit-jssip.js:8 JsSIP:Transport sending message:INVITE sip:12022...@sip.domain.com SIP/2.0
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;branch=z9hG4bK2579712
Max-Forwards: 69
To: <sip:12022...@sip.domain.com>
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
Call-ID: c8vu939pa9fee81helq0
CSeq: 2489 INVITE
Contact: <sip:bi8l...@vn9dhhj13nvg.invalid;transport=ws;ob>
Content-Type: application/sdp
Session-Expires: 90
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: timer,ice,replaces,outbound
User-Agent: JsSIP 3.9.0
Content-Length: 8504

v=0
o=- 6622245520828962871 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=extmap-allow-mixed
a=msid-semantic: WMS u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN
m=audio 63589 UDP/TLS/RTP/SAVPF 111 63 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 40.38.137.77
a=rtcp:63591 IN IP4 40.38.137.77
a=candidate:2189193928 1 udp 2122260223 172.23.240.1 63588 typ host generation 0 network-id 1
a=candidate:2088420871 1 udp 2122194687 192.168.10.15 63589 typ host generation 0 network-id 2 network-cost 10
a=candidate:2189193928 2 udp 2122260222 172.23.240.1 63590 typ host generation 0 network-id 1
a=candidate:2088420871 2 udp 2122194686 192.168.10.15 63591 typ host generation 0 network-id 2 network-cost 10
a=candidate:3439300152 1 tcp 1518280447 172.23.240.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:855194359 1 tcp 1518214911 192.168.10.15 9 typ host tcptype active generation 0 network-id 2 network-cost 10
a=candidate:3439300152 2 tcp 1518280446 172.23.240.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:855194359 2 tcp 1518214910 192.168.10.15 9 typ host tcptype active generation 0 network-id 2 network-cost 10
a=candidate:4247961779 1 udp 1685987071 40.38.137.77 63589 typ srflx raddr 192.168.10.15 rport 63589 generation 0 network-id 2 network-cost 10
a=candidate:4247961779 2 udp 1685987070 40.38.137.77 63591 typ srflx raddr 192.168.10.15 rport 63591 generation 0 network-id 2 network-cost 10
a=ice-ufrag:vek1
a=ice-pwd:6Q6o8zpNEVi+Fb1eWc87VZmj
a=ice-options:trickle
a=fingerprint:sha-256 F9:B0:3E:29:9F:42:76:1F:33:93:81:A1:8F:DF:0B:AF:54:94:FE:90:B1:39:7B:7A:ED:E5:6A:B2:79:07:2B:C8
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=msid:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN 7a765281-0c45-4720-b072-5db8fb4c971a
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:63 red/48000/2
a=fmtp:63 111/111
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:1560948250 cname:GTkYsEzqagMT2Z60
a=ssrc:1560948250 msid:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN 7a765281-0c45-4720-b072-5db8fb4c971a
a=ssrc:1560948250 mslabel:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN
a=ssrc:1560948250 label:7a765281-0c45-4720-b072-5db8fb4c971a
m=video 63593 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 124 119 123 117 35 36 114 115 116 62 118
c=IN IP4 40.38.137.77
a=rtcp:63595 IN IP4 40.38.137.77
a=candidate:2189193928 1 udp 2122260223 172.23.240.1 63592 typ host generation 0 network-id 1
a=candidate:2088420871 1 udp 2122194687 192.168.10.15 63593 typ host generation 0 network-id 2 network-cost 10
a=candidate:2189193928 2 udp 2122260222 172.23.240.1 63594 typ host generation 0 network-id 1
a=candidate:2088420871 2 udp 2122194686 192.168.10.15 63595 typ host generation 0 network-id 2 network-cost 10
a=candidate:3439300152 1 tcp 1518280447 172.23.240.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:855194359 1 tcp 1518214911 192.168.10.15 9 typ host tcptype active generation 0 network-id 2 network-cost 10
a=candidate:3439300152 2 tcp 1518280446 172.23.240.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:855194359 2 tcp 1518214910 192.168.10.15 9 typ host tcptype active generation 0 network-id 2 network-cost 10
a=candidate:4247961779 1 udp 1685987071 40.38.137.77 63593 typ srflx raddr 192.168.10.15 rport 63593 generation 0 network-id 2 network-cost 10
a=candidate:4247961779 2 udp 1685987070 40.38.137.77 63595 typ srflx raddr 192.168.10.15 rport 63595 generation 0 network-id 2 network-cost 10
a=ice-ufrag:vek1
a=ice-pwd:6Q6o8zpNEVi+Fb1eWc87VZmj
a=ice-options:trickle
a=fingerprint:sha-256 F9:B0:3E:29:9F:42:76:1F:33:93:81:A1:8F:DF:0B:AF:54:94:FE:90:B1:39:7B:7A:ED:E5:6A:B2:79:07:2B:C8
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN 274d6691-7fdb-4cca-8e6a-8e117ed3fba2
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 VP9/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 profile-id=2
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:121 rtx/90000
a=fmtp:121 apt=102
a=rtpmap:127 H264/90000
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f
a=rtpmap:120 rtx/90000
a=fmtp:120 apt=127
a=rtpmap:125 H264/90000
a=rtcp-fb:125 goog-remb
a=rtcp-fb:125 transport-cc
a=rtcp-fb:125 ccm fir
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=125
a=rtpmap:108 H264/90000
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:124 H264/90000
a=rtcp-fb:124 goog-remb
a=rtcp-fb:124 transport-cc
a=rtcp-fb:124 ccm fir
a=rtcp-fb:124 nack
a=rtcp-fb:124 nack pli
a=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f
a=rtpmap:119 rtx/90000
a=fmtp:119 apt=124
a=rtpmap:123 H264/90000
a=rtcp-fb:123 goog-remb
a=rtcp-fb:123 transport-cc
a=rtcp-fb:123 ccm fir
a=rtcp-fb:123 nack
a=rtcp-fb:123 nack pli
a=fmtp:123 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f
a=rtpmap:117 rtx/90000
a=fmtp:117 apt=123
a=rtpmap:35 AV1/90000
a=rtcp-fb:35 goog-remb
a=rtcp-fb:35 transport-cc
a=rtcp-fb:35 ccm fir
a=rtcp-fb:35 nack
a=rtcp-fb:35 nack pli
a=rtpmap:36 rtx/90000
a=fmtp:36 apt=35
a=rtpmap:114 H264/90000
a=rtcp-fb:114 goog-remb
a=rtcp-fb:114 transport-cc
a=rtcp-fb:114 ccm fir
a=rtcp-fb:114 nack
a=rtcp-fb:114 nack pli
a=fmtp:114 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f
a=rtpmap:115 rtx/90000
a=fmtp:115 apt=114
a=rtpmap:116 red/90000
a=rtpmap:62 rtx/90000
a=fmtp:62 apt=116
a=rtpmap:118 ulpfec/90000
a=ssrc-group:FID 2413080595 736834760
a=ssrc:2413080595 cname:GTkYsEzqagMT2Z60
a=ssrc:2413080595 msid:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN 274d6691-7fdb-4cca-8e6a-8e117ed3fba2
a=ssrc:2413080595 mslabel:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN
a=ssrc:2413080595 label:274d6691-7fdb-4cca-8e6a-8e117ed3fba2
a=ssrc:736834760 cname:GTkYsEzqagMT2Z60
a=ssrc:736834760 msid:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN 274d6691-7fdb-4cca-8e6a-8e117ed3fba2
a=ssrc:736834760 mslabel:u1Pfvv5WGYe07R74sc8hbILAitEGHKCAUGyN
a=ssrc:736834760 label:274d6691-7fdb-4cca-8e6a-8e117ed3fba2
 +1ms
tryit-jssip.js:8 JsSIP:WebSocketInterface send() +30s
tryit-jssip.js:8 JsSIP:WebSocketInterface received WebSocket message +427ms
tryit-jssip.js:8 JsSIP:Transport received text message:SIP/2.0 100 Giving it a try
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;received=40.38.137.77;rport=57322;branch=z9hG4bK2579712
To: <sip:12022...@sip.domain.com>
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
Call-ID: c8vu939pa9fee81helq0
CSeq: 2489 INVITE
Server: PBX SBC v1.3
Content-Length: 0

 +429ms
tryit-jssip.js:8 JsSIP:RTCSession receiveInviteResponse() +434ms
tryit-jssip.js:8 JsSIP:WebSocketInterface received WebSocket message +2s
tryit-jssip.js:8 JsSIP:Transport received text message:SIP/2.0 183 Session Progress
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;rport=57322;received=40.38.137.77;branch=z9hG4bK2579712
Record-Route: <sip:129.99.243.128;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
Record-Route: <sip:129.99.243.128:443;transport=wss;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
To: <sip:12022...@sip.domain.com>;tag=as6230de61
Call-ID: c8vu939pa9fee81helq0
CSeq: 2489 INVITE
Server: PBXRTP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces
Contact: <sip:12022...@129.99.243.128:5071>
Content-Type: application/sdp
Content-Length: 839

v=0
o=PBX 1663803314 1663803314 IN IP4 129.99.243.208
s=PBX
c=IN IP4 129.99.243.208
t=0 0
m=audio 41153 UDP/TLS/RTP/SAVPF 8 0 111 126
a=maxptime:20
a=mid:0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:111 opus/48000/2
a=fmtp:111 cbr=1;useinbandfec=1
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=sendrecv
a=rtcp:41153
a=rtcp-mux
a=setup:passive
a=fingerprint:sha-256 3D:FA:3F:80:A7:09:1E:FC:0D:AD:FB:FB:BD:DA:93:E8:0C:44:7A:B9:73:5B:B6:30:14:FE:EE:A1:20:34:55:86
a=ptime:20
a=ice-ufrag:hYzoT7Bj
a=ice-pwd:7gcpffmptFtT7PxeDNxL4PomxJ
a=ice-options:trickle
a=candidate:QhTb5XK4FfQaOri6 1 UDP 2130706431 129.99.243.208 41153 typ host
a=end-of-candidates
m=video 0 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 124 119 123 117 35 36 114 115 116 62 118
a=mid:1
a=end-of-candidates
 +2s
tryit-jssip.js:8 JsSIP:RTCSession receiveInviteResponse() +2s
tryit-jssip.js:8 JsSIP:Dialog new UAC dialog created with status EARLY +11m
tryit-jssip.js:8 JsSIP:RTCSession emit "sdp" +4ms
tryit-jssip.js:8 tryit-jssip:Session peerconnection "addstream" event +43s
tryit-jssip.js:8 tryit-jssip:Session _handleRemoteStream() [stream:MediaStream {id: '0bcf0c55-c21b-412c-9d67-353538f3f74e', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}] +0ms
tryit-jssip.js:8 JsSIP:RTCSession session progress +16ms
tryit-jssip.js:8 JsSIP:RTCSession emit "progress" +0ms
tryit-jssip.js:8 tryit-jssip:audioPlayer play() [name:ringback, relativeVolume:1] +11m
tryit-jssip.js:8 tryit-jssip:Session session "progress" event [data:{originator: 'remote', response: n}] +8ms
tryit-jssip.js:8 JsSIP:WebSocketInterface received WebSocket message +172ms
tryit-jssip.js:8 JsSIP:Transport received text message:SIP/2.0 200 OK
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;rport=57322;received=40.38.137.77;branch=z9hG4bK2579712
Record-Route: <sip:129.99.243.128;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
Record-Route: <sip:129.99.243.128:443;transport=wss;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
To: <sip:12022...@sip.domain.com>;tag=as6230de61
Call-ID: c8vu939pa9fee81helq0
CSeq: 2489 INVITE
Server: PBXRTP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces
Contact: <sip:12022...@129.99.243.128:5071>
Content-Type: application/sdp
Content-Length: 839

v=0
o=PBX 1663803314 1663803314 IN IP4 129.99.243.208
s=PBX
c=IN IP4 129.99.243.208
t=0 0
m=audio 41153 UDP/TLS/RTP/SAVPF 8 0 111 126
a=maxptime:20
a=mid:0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:111 opus/48000/2
a=fmtp:111 cbr=1;useinbandfec=1
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=sendrecv
a=rtcp:41153
a=rtcp-mux
a=setup:passive
a=fingerprint:sha-256 3D:FA:3F:80:A7:09:1E:FC:0D:AD:FB:FB:BD:DA:93:E8:0C:44:7A:B9:73:5B:B6:30:14:FE:EE:A1:20:34:55:86
a=ptime:20
a=ice-ufrag:hYzoT7Bj
a=ice-pwd:7gcpffmptFtT7PxeDNxL4PomxJ
a=ice-options:trickle
a=candidate:QhTb5XK4FfQaOri6 1 UDP 2130706431 129.99.243.208 41153 typ host
a=end-of-candidates
m=video 0 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 124 119 123 117 35 36 114 115 116 62 118
a=mid:1
a=end-of-candidates
 +173ms
tryit-jssip.js:8 JsSIP:RTCSession receiveInviteResponse() +157ms
tryit-jssip.js:8 JsSIP:Dialog dialog c8vu939pa9fee81helq0uftk2oihn6as6230de61  changed to CONFIRMED state +175ms
tryit-jssip.js:8 JsSIP:RTCSession emit "sdp" +2ms
tryit-jssip.js:8 JsSIP:RTCSession acceptAndTerminate() +38ms
tryit-jssip.js:8 JsSIP:RTCSession sendRequest() +1ms
tryit-jssip.js:8 JsSIP:Transport send() +56ms
tryit-jssip.js:8 JsSIP:Transport sending message:ACK sip:12022...@129.99.243.128:5071 SIP/2.0
Route: <sip:129.99.243.128:443;transport=wss;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
Route: <sip:129.99.243.128;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;branch=z9hG4bK9706986
Max-Forwards: 69
To: <sip:12022...@sip.domain.com>;tag=as6230de61
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
Call-ID: c8vu939pa9fee81helq0
CSeq: 2489 ACK
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: outbound
User-Agent: JsSIP 3.9.0
Content-Length: 0

 +1ms
tryit-jssip.js:8 JsSIP:WebSocketInterface send() +58ms
tryit-jssip.js:8 JsSIP:RTCSession sendRequest() +5ms
tryit-jssip.js:8 JsSIP:Transport send() +3ms
tryit-jssip.js:8 JsSIP:Transport sending message:BYE sip:12022...@129.99.243.128:5071 SIP/2.0
Route: <sip:129.99.243.128:443;transport=wss;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
Route: <sip:129.99.243.128;r2=on;lr;ftag=uftk2oihn6;nat=wss;did=528.a76c4126>
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;branch=z9hG4bK6781287
Max-Forwards: 69
To: <sip:12022...@sip.domain.com>;tag=as6230de61
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
Call-ID: c8vu939pa9fee81helq0
CSeq: 2490 BYE
Reason: SIP ;cause=488; text="Not Acceptable Here"
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: outbound
User-Agent: JsSIP 3.9.0
Content-Length: 0

 +0ms
tryit-jssip.js:8 JsSIP:WebSocketInterface send() +4ms
tryit-jssip.js:8 JsSIP:RTCSession session failed +4ms
tryit-jssip.js:8 JsSIP:RTCSession emit "_failed" +0ms
tryit-jssip.js:8 JsSIP:RTCSession close() +1ms
tryit-jssip.js:8 JsSIP:RTCSession close() | closing local MediaStream +0ms
tryit-jssip.js:8 JsSIP:RTCSession emit "failed" +1ms
tryit-jssip.js:8 tryit-jssip:audioPlayer stop() [name:ringback] +208ms
tryit-jssip.js:8 tryit-jssip:audioPlayer play() [name:rejected, relativeVolume:1] +2ms
tryit-jssip.js:8 tryit-jssip:Session componentWillUnmount() +214ms
tryit-jssip.js:8 JsSIP:WARN:RTCSession emit "peerconnection:setremotedescriptionfailed" [error:DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: The order of m-lines in answer doesn't match order in offer. Rejecting answer.] +0ms
a @ tryit-jssip.js:8
(anonymous) @ tryit-jssip.js:8
Promise.catch (async)
(anonymous) @ tryit-jssip.js:8
Promise.then (async)
value @ tryit-jssip.js:8
onReceiveResponse @ tryit-jssip.js:8
value @ tryit-jssip.js:8
onReceiveResponse @ tryit-jssip.js:8
value @ tryit-jssip.js:8
(anonymous) @ tryit-jssip.js:8
value @ tryit-jssip.js:8
value @ tryit-jssip.js:8
tryit-jssip.js:8 JsSIP:WebSocketInterface received WebSocket message +353ms
tryit-jssip.js:8 JsSIP:Transport received text message:SIP/2.0 200 OK
Via: SIP/2.0/WSS vn9dhhj13nvg.invalid;rport=57322;received=40.38.137.77;branch=z9hG4bK6781287
From: "101" <sip:1...@sip.domain.com>;tag=uftk2oihn6
To: <sip:12022...@sip.domain.com>;tag=as6230de61
Call-ID: c8vu939pa9fee81helq0
CSeq: 2490 BYE
Server: PBXRTP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces
Content-Length: 0

 +355ms


Could someone help me in figuring out why webrtc is rejecting the call?

Br, Ryan.

Jehanzaib Younis

unread,
Apr 5, 2022, 6:08:46 AM4/5/22
to JsSIP
Hi Ryan,
Did you find the solution yet? I am having the same error.
Can you please describe the solution?

Thanks
Reply all
Reply to author
Forward
0 new messages