488 response after receving 200 OK

35 views
Skip to first unread message

Mike Remski

unread,
Apr 5, 2022, 12:10:36 PMApr 5
to js...@googlegroups.com
Application is running in node.js, JsSIP starts the conversation, sends
out the invite, the server responds with 100 Trying (expected), followed
by a 200 Ok, then JsSIP sends ACK and BYE with BYE of 488. I believe
this is originating from RTCSession.js, line 2897 or so.

I'm looking for some extra eyes on "why" JsSIP is rejecting the answer.
Even if I've done something stupid, please point it out.

Thanks in advance.

Following is the output.

****** Invite sent from JsSIP application *******

JsSIP:Transport send() +798ms
JsSIP:Transport sending message:
JsSIP:Transport
JsSIP:Transport INVITE
sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061
SIP/2.0 JsSIP:Transport Via: SIP/2.0/WS
uun6ihbcpfti.invalid;branch=z9hG4bK1546170 JsSIP:Transport
Max-Forwards: 69 JsSIP:Transport To:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>
JsSIP:Transport From: "Tester"
<sip:test...@testdomain.com>;tag=siv3r6pjuk JsSIP:Transport Call-ID:
no5oqll1dcl1froo18oi JsSIP:Transport CSeq: 1486 INVITE JsSIP:Transport
X-EDGE-UNITE:
eyJ0eXAiOiJKV1QiLCJraWQiOiJ3VTNpZklJYUxPVUFSZVJCL0ZHNmVNMVAxUU09IiwiYWxnIjoiUlMyNTYifQ.eyJhdF9oYXNoIjoiWU5vdEMza1dnMEloQUtHbWtqX21mZyIsInN1YiI6Im1vaGFtbWFkMUBkZXZ0ZXN0IiwidV9yb2xlcyI6WyJST0xFX1dPUkxEX1BBUlRJQ0lQQU5UIiwiUk9MRV9JTkNJREVOVF9BQ0NFU1NfSUNPTSIsIlJPTEVfSU5DSURFTlRfQ1JFQVRPUiJdLCJhdWRpdFRyYWNraW5nSWQiOiJkMDY3N2NkNS0zNDQ2LTQ0NzUtYmVmOC04OTJlOWU3YmE1OTQtNzcyMDU2IiwiaXNzIjoiaHR0cHM6Ly9sbmszNjAuZGV2MzYwLm11dHVh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UsImV4cGlyZXNfaW4iOjM2MDAsImp0aSI6IndaN2NlendVZUo2YmVJeWt6X0NjU3FEQ1dYTSJ9.mn1415ZC0oq50KO58oIFoBw6tcGifgIL7hOS1RBxkoM
JsSIP:Transport Contact:
<sip:l71o...@uun6ihbcpfti.invalid;transport=ws;ob> JsSIP:Transport
Content-Type: application/sdp JsSIP:Transport Session-Expires: 90
JsSIP:Transport Allow:
INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
JsSIP:Transport Supported: timer,ice,replaces,outbound JsSIP:Transport
User-Agent: JsSIP 3.9.0 JsSIP:Transport Content-Length: 3349
JsSIP:Transport JsSIP:Transport v=0 JsSIP:Transport o=-
3934523793441905534 2 IN IP4 127.0.0.1 JsSIP:Transport s=-
JsSIP:Transport t=0 0 JsSIP:Transport a=group:BUNDLE 0 JsSIP:Transport
a=msid-semantic: WMS 43bd5ed9-305c-46a6-aa07-72e627ebe596
JsSIP:Transport m=audio 52413 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8
106 105 13 110 112 113 126 JsSIP:Transport c=IN IP4 192.168.9.34
JsSIP:Transport a=rtcp:9 IN IP4 0.0.0.0 JsSIP:Transport
a=candidate:893859000 1 udp 2122260223 192.168.9.34 52413 typ host
generation 0 network-id 1 network-cost 50 JsSIP:Transport
a=candidate:255631849 1 udp 2122194687 192.168.217.2 52414 typ host
generation 0 network-id 2 JsSIP:Transport a=candidate:2245486364 1 udp
2122131711 2409:4053:2d16:2293:4542:62f1:9776:7f7b 52415 typ host
generation 0 network-id 4 network-cost 10 JsSIP:Transport
a=candidate:1893997316 1 udp 2122066175
2409:4053:2d16:2293:9418:1461:10d2:6395 52416 typ host generation 0
network-id 5 network-cost 10 JsSIP:Transport a=candidate:1414049232 1
udp 2121998079 192.168.100.134 52417 typ host generation 0 network-id 3
network-cost 10 JsSIP:Transport a=candidate:559267639 1 udp 2121940223
::1 52418 typ host generation 0 network-id 7 JsSIP:Transport
a=candidate:1510613869 1 udp 2121867007 127.0.0.1 52419 typ host
generation 0 network-id 6 JsSIP:Transport a=candidate:2076493896 1 tcp
1518280447 192.168.9.34 61755 typ host tcptype passive generation 0
network-id 1 network-cost 50 JsSIP:Transport a=candidate:1103060249 1
tcp 1518214911 192.168.217.2 61756 typ host tcptype passive generation
0 network-id 2 JsSIP:Transport a=candidate:3411319788 1 tcp 1518151935
2409:4053:2d16:2293:4542:62f1:9776:7f7b 61757 typ host tcptype passive
generation 0 network-id 4 network-cost 10 JsSIP:Transport
a=candidate:1046996980 1 tcp 1518086399
2409:4053:2d16:2293:9418:1461:10d2:6395 61758 typ host tcptype passive
generation 0 network-id 5 network-cost 10 JsSIP:Transport
a=candidate:449532192 1 tcp 1518018303 192.168.100.134 61759 typ host
tcptype passive generation 0 network-id 3 network-cost 10
JsSIP:Transport a=candidate:1876313031 1 tcp 1517960447 ::1 61760 typ
host tcptype passive generation 0 network-id 7 JsSIP:Transport
a=candidate:344579997 1 tcp 1517887231 127.0.0.1 61761 typ host tcptype
passive generation 0 network-id 6 JsSIP:Transport a=ice-ufrag:T0YE
JsSIP:Transport a=ice-pwd:k2xWUVwNt8BXjyZ3K6ntzV1o JsSIP:Transport
a=ice-options:trickle JsSIP:Transport a=fingerprint:sha-256
10:46:1D:44:63:50:FA:04:9A:67:AD:FF:F7:1C:DE:38:36:36:55:B3:4F:92:AB:F8:08:66:1A:B5:8F:8F:58:39
JsSIP:Transport a=setup:actpass JsSIP:Transport a=mid:0 JsSIP:Transport
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level JsSIP:Transport
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
JsSIP:Transport a=extmap:3
http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
JsSIP:Transport a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
JsSIP:Transport a=extmap:5
urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id JsSIP:Transport
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
JsSIP:Transport a=sendrecv JsSIP:Transport
a=msid:43bd5ed9-305c-46a6-aa07-72e627ebe596
f674a5b7-5d59-40d6-8614-c8f2b0942fd9 JsSIP:Transport a=rtcp-mux
JsSIP:Transport a=rtpmap:111 opus/48000/2 JsSIP:Transport a=rtcp-fb:111
transport-cc JsSIP:Transport a=fmtp:111 minptime=10;useinbandfec=1
JsSIP:Transport a=rtpmap:103 ISAC/16000 JsSIP:Transport a=rtpmap:104
ISAC/32000 JsSIP:Transport a=rtpmap:9 G722/8000 JsSIP:Transport
a=rtpmap:102 ILBC/8000 JsSIP:Transport a=rtpmap:0 PCMU/8000
JsSIP:Transport a=rtpmap:8 PCMA/8000 JsSIP:Transport a=rtpmap:106
CN/32000 JsSIP:Transport a=rtpmap:105 CN/16000 JsSIP:Transport
a=rtpmap:13 CN/8000 JsSIP:Transport a=rtpmap:110 telephone-event/48000
JsSIP:Transport a=rtpmap:112 telephone-event/32000 JsSIP:Transport
a=rtpmap:113 telephone-event/16000 JsSIP:Transport a=rtpmap:126
telephone-event/8000 JsSIP:Transport a=ssrc:1147057402
cname:GQvGpr96P9k1d1Uy JsSIP:Transport a=ssrc:1147057402
msid:43bd5ed9-305c-46a6-aa07-72e627ebe596
f674a5b7-5d59-40d6-8614-c8f2b0942fd9 JsSIP:Transport a=ssrc:1147057402
mslabel:43bd5ed9-305c-46a6-aa07-72e627ebe596 JsSIP:Transport
a=ssrc:1147057402 label:f674a5b7-5d59-40d6-8614-c8f2b0942fd9
JsSIP:Transport


****** JsSIP Received 100 Trying this is expected in our
configuration ******

JsSIP:Transport +4ms
JsSIP:Transport received text message:
JsSIP:Transport
JsSIP:Transport SIP/2.0 100 Trying
JsSIP:Transport From:
"Tester"<sip:test...@testdomain.com>;tag=siv3r6pjuk JsSIP:Transport
To:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>
JsSIP:Transport Call-ID: no5oqll1dcl1froo18oi JsSIP:Transport CSeq:
1486 INVITE JsSIP:Transport Via: SIP/2.0/WS
uun6ihbcpfti.invalid;received=172.17.0.2;branch=z9hG4bK1546170
JsSIP:Transport Supported: timer JsSIP:Transport Contact:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>
JsSIP:Transport Content-Length: 0 JsSIP:Transport JsSIP:Transport
JsSIP:Transport +372ms


****** JsSIP Received 200 Ok ********
JsSIP:RTCSession receiveInviteResponse() +430ms
JsSIP:Transport received text message:
JsSIP:Transport
JsSIP:Transport SIP/2.0 200 OK
JsSIP:Transport From:
"Tester"<sip:test...@testdomain.com>;tag=siv3r6pjuk JsSIP:Transport
To:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>;tag=6bc541ed-6927ae72-4e1ca-7f55941e4358-0-13c4-764
JsSIP:Transport Call-ID: no5oqll1dcl1froo18oi JsSIP:Transport CSeq:
1486 INVITE JsSIP:Transport Session-Expires: 1800;refresher=uac
JsSIP:Transport Via: SIP/2.0/WS
uun6ihbcpfti.invalid;received=172.17.0.2;branch=z9hG4bK1546170
JsSIP:Transport Supported: timer JsSIP:Transport Contact:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>
JsSIP:Transport Session-Expires: 90;refresher=uas JsSIP:Transport
Content-Type: application/sdp JsSIP:Transport Content-Length: 1064
JsSIP:Transport JsSIP:Transport v=0
JsSIP:Transport o=mutualink.net 859484422 1914544920 IN IP4 1.2.3.4
JsSIP:Transport s=Mutualink-Edge
JsSIP:Transport t=0 0
JsSIP:Transport a=group:BUNDLE 0
JsSIP:Transport a=msid-semantic: WMS
43bd5ed9-305c-46a6-aa07-72e627ebe596 JsSIP:Transport
a=ice-ufrag:9EY2YUqF JsSIP:Transport a=ice-pwd:dFRVajOo59Ey+7S3FSLvS1o9
JsSIP:Transport m=audio 46034 UDP/TLS/RTP/SAVPF 0
JsSIP:Transport c=IN IP4 1.2.3.4
JsSIP:Transport a=rtcp:46034 IN IP4 1.2.3.4
JsSIP:Transport a=mid:0
JsSIP:Transport a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
JsSIP:Transport a=extmap:2
http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
JsSIP:Transport a=extmap:3
http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
JsSIP:Transport a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
JsSIP:Transport a=extmap:5
urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id JsSIP:Transport
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
JsSIP:Transport a=sendrecv JsSIP:Transport
a=msid:43bd5ed9-305c-46a6-aa07-72e627ebe596
f674a5b7-5d59-40d6-8614-c8f2b0942fd9 JsSIP:Transport a=rtcp-mux
JsSIP:Transport a=rtcp-fb:111 transport-cc JsSIP:Transport a=rtpmap:0
PCMU/8000 JsSIP:Transport a=fingerprint:SHA-256
D5:B1:DE:C4:46:EF:9E:39:8E:34:B0:61:13:A5:8A:5F:BD:F3:64:2C:CB:88:82:F7:C9:23:12:60:DB:5C:66:B6
JsSIP:Transport a=candidate:364 1 UDP 2130706431 1.2.3.4 46034 typ host
JsSIP:Transport a=setup:passive JsSIP:Transport JsSIP:Transport +74ms


***** JsJIP Processing the 200 OK
JsSIP:RTCSession receiveInviteResponse() +77ms
JsSIP:Dialog new UAC dialog created with status CONFIRMED +0ms
JsSIP:RTCSession emit "sdp" +3ms
JsSIP:RTCSession acceptAndTerminate() +2ms
JsSIP:RTCSession sendRequest() +1ms
JsSIP:Transport send() +27ms
JsSIP:Transport sending message:
JsSIP:Transport
JsSIP:Transport ACK
sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061
SIP/2.0 JsSIP:Transport Via: SIP/2.0/WS
uun6ihbcpfti.invalid;branch=z9hG4bK778528 JsSIP:Transport Max-Forwards:
69 JsSIP:Transport To:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>;tag=6bc541ed-6927ae72-4e1ca-7f55941e4358-0-13c4-764
JsSIP:Transport From: "Tester"
<sip:test...@testdomain.com>;tag=siv3r6pjuk JsSIP:Transport Call-ID:
no5oqll1dcl1froo18oi JsSIP:Transport CSeq: 1486 ACK JsSIP:Transport
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
JsSIP:Transport Supported: outbound JsSIP:Transport User-Agent: JsSIP
3.9.0 JsSIP:Transport Content-Length: 0 JsSIP:Transport
JsSIP:Transport
JsSIP:Transport +1ms
JsSIP:RTCSession sendRequest() +10ms
JsSIP:Transport send() +9ms
JsSIP:Transport sending message:
JsSIP:Transport
JsSIP:Transport BYE
sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061
SIP/2.0 JsSIP:Transport Via: SIP/2.0/WS
uun6ihbcpfti.invalid;branch=z9hG4bK5265644 JsSIP:Transport
Max-Forwards: 69 JsSIP:Transport To:
<sip:media_0e15066f-77ae-4c5a-9506...@sip.dev360.mutualink.net:5061>;tag=6bc541ed-6927ae72-4e1ca-7f55941e4358-0-13c4-764
JsSIP:Transport From: "Tester"
<sip:test...@testdomain.com>;tag=siv3r6pjuk JsSIP:Transport Call-ID:
no5oqll1dcl1froo18oi JsSIP:Transport CSeq: 1487 BYE JsSIP:Transport
Reason: SIP ;cause=488; text="Not Acceptable Here" JsSIP:Transport
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
JsSIP:Transport Supported: outbound JsSIP:Transport User-Agent: JsSIP
3.9.0 JsSIP:Transport Content-Length: 0 JsSIP:Transport
JsSIP:Transport
JsSIP:Transport +1ms
JsSIP:RTCSession session failed +11ms
JsSIP:RTCSession emit "_failed" +1ms
JsSIP:RTCSession close() +1ms
JsSIP:RTCSession close() | closing local MediaStream +1ms
JsSIP:RTCSession emit "failed" +2ms
call failed: [object Object]

Alex Balashov

unread,
Apr 5, 2022, 12:17:49 PMApr 5
to js...@googlegroups.com
Codec or media incompatibility.


Sent from mobile, with due apologies for brevity and errors.

> On Apr 5, 2022, at 12:10 PM, Mike Remski <mre...@comcast.net> wrote:
>
> Application is running in node.js, JsSIP starts the conversation, sends
> --
> 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/20220405121003.56c67251%40FBSDNUC.

Raman Ayyar

unread,
Apr 5, 2022, 2:31:31 PMApr 5
to js...@googlegroups.com
Thanks,
SDP in 200 OK had extra

  JsSIP:Transport a=rtcp-fb:111 transport-cc

After removing that, the SDP was accepted.
Now onto the next challenge ...

Thanks
Raman

Reply all
Reply to author
Forward
0 new messages