I am having a devel of time getting web rtc over sip working. So the paste is from asterisk
<— Received SIP request (2796 bytes) from UDP:10.123.245.111:5060 —>
INVITE sip:*[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.123.245.111:5060;branch=z9hG4bKa7258c373cea6e20feaa5d431815dfa2.0;sfent
Session-Expires: 14400
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK666521.gpgDL8xf9MKZcM2jcZVVjOt88sjyc-eWEB0AQDYvnS0_
Max-Forwards: 68
To: sip:*[email protected]
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
Call-ID: s0986vrpbcp3h1d7pirf
CSeq: 9774 INVITE
Contact: sip:edSRgxVhVIdC4YC0dmsmPdP9QB4bni2CCzQmVHyyMzSTIvE0NNUBwZlMkodaVRGw_grt5cMSvcBJce1DlXW3axDVDv[email protected]10.123.245.111
Content-Type: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: ice,replaces,outbound
User-Agent: JsSIP 3.10.0
Content-Length: 1918
Record-Route: sip:[email protected];lr
v=0
o=- 746846767847031410 2 IN IP4 10.123.245.111
s=-
c=IN IP4 10.123.245.111
t=0 0
a=group:BUNDLE 0
a=extmap-allow-mixed
a=msid-semantic: WMS 87e66346-be50-4f2a-a083-0537a211230b
m=audio 58266 RTP/AVP 111 63 9 0 8 13 110 126
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 docs/native-code/rtp-hdrext/abs-send-time - src - Git at Google
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:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
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:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:126 telephone-event/8000
a=ssrc:1402670331 cname:zBkMFBPWFwfxFwE0
a=ssrc:1402670331 msid:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
m=audio 58266 RTP/SAVP 111 63 9 0 8 13 110 126
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 docs/native-code/rtp-hdrext/abs-send-time - src - Git at Google
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:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
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:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:126 telephone-event/8000
a=ssrc:1402670331 cname:zBkMFBPWFwfxFwE0
a=ssrc:1402670331 msid:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
<— Transmitting SIP response (738 bytes) to UDP:10.123.245.111:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.123.245.111:5060;rport=5060;received=10.123.245.111;branch=z9hG4bKa7258c373cea6e20feaa5d431815dfa2.0;sfent
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK666521.gpgDL8xf9MKZcM2jcZVVjOt88sjyc-eWEB0AQDYvnS0_
Record-Route: sip:[email protected]:5060;lr
Call-ID: s0986vrpbcp3h1d7pirf
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
To: sip:*[email protected];tag=z9hG4bKa7258c373cea6e20feaa5d431815dfa2.0
CSeq: 9774 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1684415635/43994a875c524e3c3d9da73153004e37”,opaque=“13a0da905124c8c9”,algorithm=MD5,qop=“auth”
Server: TFPBX-16.0.40(20.2.1)
Content-Length: 0
<— Received SIP request (376 bytes) from UDP:10.123.245.111:5060 —>
ACK sip:*[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.123.245.111:5060;branch=z9hG4bKa7258c373cea6e20feaa5d431815dfa2.0;sfent
Call-ID: s0986vrpbcp3h1d7pirf
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
To: sip:*[email protected];tag=z9hG4bKa7258c373cea6e20feaa5d431815dfa2.0
CSeq: 9774 ACK
Max-Forwards: 70
Content-Length: 0
<— Received SIP request (3081 bytes) from UDP:10.123.245.111:5060 —>
INVITE sip:*[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.123.245.111:5060;branch=z9hG4bK43605d00757e16d0feaa5d431815dfa2.0;sfent
Session-Expires: 14400
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK5412132.CUTN9YcBMR+k7QOdV2Bf0Hngmw6lknqCoA0H9lMGxrM_
Max-Forwards: 68
To: sip:*[email protected]
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
Call-ID: s0986vrpbcp3h1d7pirf
CSeq: 9775 INVITE
Authorization: Digest algorithm=MD5, username=“32897”, realm=“asterisk”, nonce=“1684415635/43994a875c524e3c3d9da73153004e37”, uri=“sip:*[email protected]”, response=“18f6733f57d7bc06b9909857b9bfe16a”, opaque=“13a0da905124c8c9”, qop=auth, cnonce=“sth8eui3983e”, nc=00000001
Contact: sip:edSRgxVhVIdC4YC0dmsmPdP9QB4bni2CCzQmVHyyMzSTIvE0NNUBwZlMkodaVRGw_grt5cMSvcBJce1DlXW3axDVDv[email protected]10.123.245.111
Content-Type: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: ice,replaces,outbound
User-Agent: JsSIP 3.10.0
Content-Length: 1918
Record-Route: sip:[email protected];lr
v=0
o=- 746846767847031410 2 IN IP4 10.123.245.111
s=-
c=IN IP4 10.123.245.111
t=0 0
a=group:BUNDLE 0
a=extmap-allow-mixed
a=msid-semantic: WMS 87e66346-be50-4f2a-a083-0537a211230b
m=audio 58268 RTP/AVP 111 63 9 0 8 13 110 126
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 docs/native-code/rtp-hdrext/abs-send-time - src - Git at Google
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:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
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:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:126 telephone-event/8000
a=ssrc:1402670331 cname:zBkMFBPWFwfxFwE0
a=ssrc:1402670331 msid:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
m=audio 58268 RTP/SAVP 111 63 9 0 8 13 110 126
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 docs/native-code/rtp-hdrext/abs-send-time - src - Git at Google
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:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
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:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:126 telephone-event/8000
a=ssrc:1402670331 cname:zBkMFBPWFwfxFwE0
a=ssrc:1402670331 msid:87e66346-be50-4f2a-a083-0537a211230b a36035bd-6e0e-446a-99c6-c2121eb53e4a
<— Transmitting SIP response (541 bytes) to UDP:10.123.245.111:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.123.245.111:5060;rport=5060;received=10.123.245.111;branch=z9hG4bK43605d00757e16d0feaa5d431815dfa2.0;sfent
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK5412132.CUTN9YcBMR+k7QOdV2Bf0Hngmw6lknqCoA0H9lMGxrM_
Record-Route: sip:[email protected]:5060;lr
Call-ID: s0986vrpbcp3h1d7pirf
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
To: sip:*[email protected]
CSeq: 9775 INVITE
Server: TFPBX-16.0.40(20.2.1)
Content-Length: 0
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio CoS mark 5
<— Transmitting SIP response (1287 bytes) to UDP:10.123.245.111:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.123.245.111:5060;rport=5060;received=10.123.245.111;branch=z9hG4bK43605d00757e16d0feaa5d431815dfa2.0;sfent
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK5412132.CUTN9YcBMR+k7QOdV2Bf0Hngmw6lknqCoA0H9lMGxrM_
Record-Route: sip:[email protected]:5060;lr
Call-ID: s0986vrpbcp3h1d7pirf
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
To: sip:*[email protected];tag=3196ad17-6ca8-4372-9c59-ee878a250f2f
CSeq: 9775 INVITE
Server: TFPBX-16.0.40(20.2.1)
Contact: sip:10.123.245.20:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 14400;refresher=uas
Content-Type: application/sdp
Content-Length: 443
v=0
o=- 2871771762 4 IN IP4 10.123.245.20
s=Asterisk
c=IN IP4 10.123.245.20
t=0 0
a=group:BUNDLE 0
m=audio 35538 RTP/AVP 0 8 111 126
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:111 opus/48000/2
a=fmtp:111 useinbandfec=1
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
a=ssrc:240232346 cname:3ca0268a-bb22-4081-a201-ab5ec3995b7d
a=mid:0
m=audio 0 RTP/SAVP 111 63 9 0 8 13 110 126
<— Received SIP request (584 bytes) from UDP:10.123.245.111:5060 —>
ACK sip:10.123.245.20:5060 SIP/2.0
Via: SIP/2.0/UDP 10.123.245.111:5060;branch=z9hG4bK247933b8b104284bc738187e305a17f7.0
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK2013933.ldQR8Q-wuoIBmRiNWYZepjf3Q1NcvReuIRG3MOj5ITY_
Max-Forwards: 68
To: sip:*[email protected];tag=3196ad17-6ca8-4372-9c59-ee878a250f2f
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
Call-ID: s0986vrpbcp3h1d7pirf
CSeq: 9775 ACK
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: outbound
User-Agent: JsSIP 3.10.0
Content-Length: 0
<— Received SIP request (642 bytes) from UDP:10.123.245.111:5060 —>
BYE sip:10.123.245.20:5060 SIP/2.0
Via: SIP/2.0/UDP 10.123.245.111:5060;branch=z9hG4bK7fc621d91fbcd93ac738187e305a17f7.0;sfent
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK7345304.jEB1NZ8kix7XFqK7iOOY1h26v3wKRiftV0GVe+NR79M_
Max-Forwards: 68
To: sip:*[email protected];tag=3196ad17-6ca8-4372-9c59-ee878a250f2f
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
Call-ID: s0986vrpbcp3h1d7pirf
CSeq: 9776 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.10.0
Content-Length: 0
<— Transmitting SIP response (501 bytes) to UDP:10.123.245.111:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.123.245.111:5060;rport=5060;received=10.123.245.111;branch=z9hG4bK7fc621d91fbcd93ac738187e305a17f7.0;sfent
Via: SIP/2.0/WSS 10.123.245.111;branch=z9hG4bK7345304.jEB1NZ8kix7XFqK7iOOY1h26v3wKRiftV0GVe+NR79M_
Call-ID: s0986vrpbcp3h1d7pirf
From: “Daniel Smith” sip:[email protected];tag=aheqh1jl8l
To: sip:*[email protected];tag=3196ad17-6ca8-4372-9c59-ee878a250f2f
CSeq: 9776 BYE
Server: TFPBX-16.0.40(20.2.1)
Content-Length: 0
== Spawn extension (from-internal, 68, 2) exited non-zero on ‘PJSIP/32897-00000034’
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/32897-00000034’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/32897-00000034’
ec2-tel20CLI> quit
The jssip client is from queuemetrics,
my asterisk host is 10.123.245.20
The SBC is at the 10.123.245.111 address internall.
My web client is getting to the point os trying to start the call up but I’m geting the SIP 488 error which suggests something in the sdp is off.
I’m expecting the audio from teh asterisk server to be in the port 20K to 40K and the port range to be in the 58024 o 60999 from the sbc to the web client. (all udp)