Open philjones88 opened 1 year ago
Not the same call. The SIP messages SIPjs generates/receives
REGISTER sip:cucm.lab SIP/2.0
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK3088947
To: <sip:7070@cucm.lab>
From: "SIPjs" <sip:7070@cucm.lab>;tag=mluli4q858
CSeq: 3 REGISTER
Call-ID: dsgsqaem2o518689kq57
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="7070", realm="ccmsipline", nonce="xxxx", uri="sip:cucm.lab", response="xxxx"
Contact: <sip:7070@hlgd63mgkb2c.invalid;transport=ws>;expires=3600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.21.1
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK3088947;received=10.10.60.2;rport=62779
From: "SIPjs" <sip:7070@cucm.lab>;tag=mluli4q858
To: <sip:7070@cucm.lab>;tag=Ha1FpF4QSZeXa
Call-ID: dsgsqaem2o518689kq57
CSeq: 3 REGISTER
Contact: <sip:7070@hlgd63mgkb2c.invalid;transport=ws>;expires=3600
Content-Length: 0
INVITE sip:606355@cucm.lab SIP/2.0
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK1726309
To: <sip:606355@cucm.lab>
From: "SIPjs" <sip:7070@cucm.lab>;tag=1k8erfqkac
CSeq: 1 INVITE
Call-ID: dsgsq7l24r33ent7pcdt
Max-Forwards: 70
Contact: <sip:7070@hlgd63mgkb2c.invalid;transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound
User-Agent: SIP.js/0.21.1
Content-Type: application/sdp
Content-Length: 2488
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 8614063317839580609 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 6F:7E:57:E7:BB:9F:33:D6:18:A0:D2:B2:7F:DA:BC:A5:33:72:E9:51:BD:12:01:C5:24:F8:25:CA:5C:79:49:28
a=group:BUNDLE 0
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 51539 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 51.x.x.x
a=candidate:0 1 UDP 2122252543 10.10.60.2 51539 typ host
a=candidate:2 1 UDP 2122121471 2a01:4c8:e000:1190:986d:8dd5:bf22:d5d3 59684 typ host
a=candidate:4 1 UDP 2122055935 192.168.64.1 50365 typ host
a=candidate:6 1 UDP 2122187007 fdd9:15f2:f672:afd8:453:6510:7dc4:c8d7 57141 typ host
a=candidate:8 1 TCP 2105524479 10.10.60.2 9 typ host tcptype active
a=candidate:9 1 TCP 2105393407 2a01:4c8:e000:1190:986d:8dd5:bf22:d5d3 9 typ host tcptype active
a=candidate:10 1 TCP 2105327871 192.168.64.1 9 typ host tcptype active
a=candidate:11 1 TCP 2105458943 fdd9:15f2:f672:afd8:453:6510:7dc4:c8d7 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 10.10.60.2 59192 typ host
a=candidate:2 2 UDP 2122121470 2a01:4c8:e000:1190:986d:8dd5:bf22:d5d3 53381 typ host
a=candidate:4 2 UDP 2122055934 192.168.64.1 63504 typ host
a=candidate:6 2 UDP 2122187006 fdd9:15f2:f672:afd8:453:6510:7dc4:c8d7 58533 typ host
a=candidate:8 2 TCP 2105524478 10.10.60.2 9 typ host tcptype active
a=candidate:9 2 TCP 2105393406 2a01:4c8:e000:1190:986d:8dd5:bf22:d5d3 9 typ host tcptype active
a=candidate:10 2 TCP 2105327870 192.168.64.1 9 typ host tcptype active
a=candidate:11 2 TCP 2105458942 fdd9:15f2:f672:afd8:453:6510:7dc4:c8d7 9 typ host tcptype active
a=candidate:1 1 UDP 1686052863 51.x.x.x 51539 typ srflx raddr 10.10.60.2 rport 51539
a=candidate:1 2 UDP 1686052862 51.x.x.x 59192 typ srflx raddr 10.10.60.2 rport 59192
a=sendrecv
a=end-of-candidates
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:dcb19a4c09aa4e65d04fcbd33882026f
a=ice-ufrag:886882ce
a=mid:0
a=msid:{88d1ba99-1802-4ff9-b64e-6664ab31b346} {f4f9622d-9ff6-464a-93cf-c03bf26a1397}
a=rtcp:59192 IN IP4 51.x.x.x
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=setup:actpass
a=ssrc:2181697991 cname:{3fbb5a8b-683a-4fc8-a87d-beee089e8463}
SIP/2.0 100 Trying
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK1726309;received=10.10.60.2;rport=62779
From: "SIPjs" <sip:7070@cucm.lab>;tag=1k8erfqkac
To: <sip:606355@cucm.lab>
Call-ID: dsgsq7l24r33ent7pcdt
CSeq: 1 INVITE
Content-Length: 0
SIP/2.0 180 Ringing
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK1726309;received=10.10.60.2;rport=62779
From: "SIPjs" <sip:7070@cucm.lab>;tag=1k8erfqkac
To: <sip:606355@cucm.lab>;tag=jKt8QaNUp84Fp
Call-ID: dsgsq7l24r33ent7pcdt
CSeq: 1 INVITE
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
Allow-Events: presence
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK1726309;received=10.10.60.2;rport=62779
From: "SIPjs" <sip:7070@cucm.lab>;tag=1k8erfqkac
To: <sip:606355@cucm.lab>;tag=jKt8QaNUp84Fp
Call-ID: dsgsq7l24r33ent7pcdt
CSeq: 1 INVITE
Contact: <sips:192.168.4.31:5443;transport=wss>
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
Allow-Events: presence
Content-Type: application/sdp
Content-Length: 616
v=0
o=CiscoSystemsCCM-SIP 72421 1 IN IP4 192.168.4.31
s=SIP Call
c=IN IP4 192.168.4.31
b=TIAS:256000
b=AS:272
t=0 0
m=audio 31005 UDP/TLS/RTP/SAVPF 101
a=mid:0
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:31005
a=rtcp-mux
a=setup:active
a=fingerprint:sha-256 47:5A:1F:1A:70:D6:92:24:0D:3E:D0:B7:AE:0F:64:EB:CD:07:B3:B5:61:7C:97:93:F2:B9:34:E2:07:76:62:76
a=tls-id:2c839787edf0acfa0178edac6f6adfb2
a=ice-ufrag:IC0tZWzZ
a=ice-pwd:P92DI6R9ayJwtEwHcBMRnXa2h6
a=ice-options:trickle
a=candidate:wFCsocUfA7wrKaYM 1 UDP 2130706431 192.168.4.31 31005 typ host
a=end-of-candidates
ACK sips:192.168.4.31:5443;transport=wss SIP/2.0
Via: SIP/2.0/WSS hlgd63mgkb2c.invalid;branch=z9hG4bK1468061
To: <sip:606355@cucm.lab>;tag=jKt8QaNUp84Fp
From: "SIPjs" <sip:7070@cucm.lab>;tag=1k8erfqkac
CSeq: 1 ACK
Call-ID: dsgsq7l24r33ent7pcdt
Max-Forwards: 70
Supported: outbound
User-Agent: SIP.js/0.21.1
Content-Length: 0
BYE sip:7070@hlgd63mgkb2c.invalid;transport=ws;ob SIP/2.0
Via: SIP/2.0/WSS 192.168.4.31:5443;branch=z9hG4bKHr5ZU8e7epUKK
Max-Forwards: 70
From: <sip:606355@cucm.lab>;tag=jKt8QaNUp84Fp
To: "SIPjs" <sip:7070@cucm.lab>;tag=1k8erfqkac
Call-ID: dsgsq7l24r33ent7pcdt
CSeq: 2 BYE
Content-Length: 0
I did notice SIPjs log out:
sip.user-agent-client | Non-100 1xx INVITE response received without a Contact header field, dropping.
Using:
Setup is:
It connects ok (not 100% sure but it seems audio/video streams don't connect) but don't get audio from the other end.
RTP Engine logs:
Drachtio server logs:
Node app logs:
RTP Engine Codecs