Hello,
I’m working on a project which needs to establish video calls between two SIP agents.
When both agents have a camera everything is working fine. However, when only one of the agent has a camera, the call fails, and while checking the SDP headers I have found what seems to be a bug in Asterisk’s SDP handling.
To explain and show the problem, I will only focus in one of the two use cases: the caller doesn’t have a camera but it wants to perform a video call so that there is bi-directional voice and it receives video from the callee.
In this case, the procedure should be the following one:
- The caller will initiate the call, and its SIP Invite message will have a SDP offer which will include: the audio information with an
a=sendrecv
line, and the video information with ana=recvonly
line. - Asterisk will answer the caller with a Trying SIP message.
- Asterisk will send and Invite to the callee. That invite should include the SDP body specifying that the caller wants bidirecctional audio and to receive video (the two a lines previously commented).
- The callee will then answer Asterisk with an OK SIP message including its SDP information which should contain the audio information with an
a=sendrecv
line, and the video information with ana=sendonly
line. - After some more steps the call should be initiated and should work propperly.
However, this is not what is happening. If you take a look at the logs at the end of this post, where this exact use case is performed, you can see that the step 3 is failing. Somewhere on the Asterisk SDP management, the a=recvonly
line is changed to a=sendonly
, and that wrong SDP body is what is sent to the callee, instead of the right one.
I have spend a long part of my day trying to solve this issue, but I coulnd’t find anything. It really seems it’s some king of bug, but could this be related to some king of Asterisk configuration?
Has somebody found this problem before?
Thanks a lot!
<--- Received SIP request (7187 bytes) from WS:192.168.0.12:32946 --->
INVITE sip:axis_local@192.168.0.32 SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKoeT48ldktGF0R6HUbioXqsWM1MPXC6Qs;rport
From: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
To: <sip:axis_local@192.168.0.32>
Contact: <sip:Use2@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=ws>;+g.oma.sip-im;language="en,fr"
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 44461 INVITE
Content-Type: application/sdp
Content-Length: 6331
Max-Forwards: 70
Authorization: Digest username="Use2",realm="asterisk",nonce="1659707266/9cb0e86748350faaac64d48ce50d99b6",uri="sip:axis_local@192.168.0.32",response="d51ab14a4f6a959065fd61375d76c91e",algorithm=md5,cnonce="7011a4ae95b44996e310ae5e762c9260",opaque="0499948d0ed13152",qop=auth,nc=00000001
User-Agent: IM-client/OMA1.0 sipML5-v1.2016.03.04
Organization: Doubango Telecom
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 6407858980220068000 0 IN IP4 127.0.0.1
s=Doubango Telecom - firefox
t=0 0
a=sendrecv
a=fingerprint:sha-256 11:36:38:5B:A0:EE:08:84:61:27:EE:C2:0D:27:7F:47:A9:1C:75:46:D9:EF:04:2E:4E:D0:CB:C3:4F:D8:99:DA
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 33108 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 192.168.56.1
a=candidate:0 1 UDP 2122187007 192.168.0.12 48944 typ host
a=candidate:1 1 UDP 2122121471 192.168.122.1 45343 typ host
a=candidate:2 1 UDP 2122055935 172.20.0.1 53787 typ host
a=candidate:3 1 UDP 2121990399 172.18.0.1 56135 typ host
a=candidate:4 1 UDP 2121924863 172.19.0.1 60623 typ host
a=candidate:5 1 UDP 2121859327 172.17.0.1 36279 typ host
a=candidate:6 1 UDP 2122252543 192.168.56.1 33108 typ host
a=candidate:7 1 TCP 2105458943 192.168.0.12 9 typ host tcptype active
a=candidate:8 1 TCP 2105393407 192.168.122.1 9 typ host tcptype active
a=candidate:9 1 TCP 2105327871 172.20.0.1 9 typ host tcptype active
a=candidate:10 1 TCP 2105262335 172.18.0.1 9 typ host tcptype active
a=candidate:11 1 TCP 2105196799 172.19.0.1 9 typ host tcptype active
a=candidate:12 1 TCP 2105131263 172.17.0.1 9 typ host tcptype active
a=candidate:13 1 TCP 2105524479 192.168.56.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122187006 192.168.0.12 43364 typ host
a=candidate:1 2 UDP 2122121470 192.168.122.1 44602 typ host
a=candidate:2 2 UDP 2122055934 172.20.0.1 57719 typ host
a=candidate:3 2 UDP 2121990398 172.18.0.1 52649 typ host
a=candidate:4 2 UDP 2121924862 172.19.0.1 48347 typ host
a=candidate:5 2 UDP 2121859326 172.17.0.1 52844 typ host
a=candidate:6 2 UDP 2122252542 192.168.56.1 47045 typ host
a=candidate:7 2 TCP 2105458942 192.168.0.12 9 typ host tcptype active
a=candidate:8 2 TCP 2105393406 192.168.122.1 9 typ host tcptype active
a=candidate:9 2 TCP 2105327870 172.20.0.1 9 typ host tcptype active
a=candidate:10 2 TCP 2105262334 172.18.0.1 9 typ host tcptype active
a=candidate:11 2 TCP 2105196798 172.19.0.1 9 typ host tcptype active
a=candidate:12 2 TCP 2105131262 172.17.0.1 9 typ host tcptype active
a=candidate:13 2 TCP 2105524478 192.168.56.1 9 typ host tcptype active
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:38902ac7ed5d4749bd4325ee31a4d83f
a=ice-ufrag:0730dec2
a=mid:0
a=msid:{0f35c7fc-e1aa-4165-bc49-46ba40351e19} {7077e186-222c-4b3b-89f1-4ccc6618ca71}
a=rtcp:47045 IN IP4 192.168.56.1
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:2650840728 cname:{6301cf2b-c2e1-44d6-8500-477fbb1fecf4}
m=video 40632 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 192.168.56.1
a=candidate:0 1 UDP 2122187007 192.168.0.12 34996 typ host
a=candidate:1 1 UDP 2122121471 192.168.122.1 46642 typ host
a=candidate:2 1 UDP 2122055935 172.20.0.1 56475 typ host
a=candidate:3 1 UDP 2121990399 172.18.0.1 53952 typ host
a=candidate:4 1 UDP 2121924863 172.19.0.1 50925 typ host
a=candidate:5 1 UDP 2121859327 172.17.0.1 46263 typ host
a=candidate:6 1 UDP 2122252543 192.168.56.1 40632 typ host
a=candidate:7 1 TCP 2105458943 192.168.0.12 9 typ host tcptype active
a=candidate:8 1 TCP 2105393407 192.168.122.1 9 typ host tcptype active
a=candidate:9 1 TCP 2105327871 172.20.0.1 9 typ host tcptype active
a=candidate:10 1 TCP 2105262335 172.18.0.1 9 typ host tcptype active
a=candidate:11 1 TCP 2105196799 172.19.0.1 9 typ host tcptype active
a=candidate:12 1 TCP 2105131263 172.17.0.1 9 typ host tcptype active
a=candidate:13 1 TCP 2105524479 192.168.56.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122187006 192.168.0.12 54217 typ host
a=candidate:1 2 UDP 2122121470 192.168.122.1 56911 typ host
a=candidate:2 2 UDP 2122055934 172.20.0.1 60058 typ host
a=candidate:3 2 UDP 2121990398 172.18.0.1 51025 typ host
a=candidate:4 2 UDP 2121924862 172.19.0.1 39660 typ host
a=candidate:5 2 UDP 2121859326 172.17.0.1 59333 typ host
a=candidate:6 2 UDP 2122252542 192.168.56.1 56774 typ host
a=candidate:7 2 TCP 2105458942 192.168.0.12 9 typ host tcptype active
a=candidate:8 2 TCP 2105393406 192.168.122.1 9 typ host tcptype active
a=candidate:9 2 TCP 2105327870 172.20.0.1 9 typ host tcptype active
a=candidate:10 2 TCP 2105262334 172.18.0.1 9 typ host tcptype active
a=candidate:11 2 TCP 2105196798 172.19.0.1 9 typ host tcptype active
a=candidate:12 2 TCP 2105131262 172.17.0.1 9 typ host tcptype active
a=candidate:13 2 TCP 2105524478 192.168.56.1 9 typ host tcptype active
a=recvonly
a=end-of-candidates
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:38902ac7ed5d4749bd4325ee31a4d83f
a=ice-ufrag:0730dec2
a=mid:1
a=rtcp:56774 IN IP4 192.168.56.1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:1164111410 cname:{6301cf2b-c2e1-44d6-8500-477fbb1fecf4}
<--- Transmitting SIP response (349 bytes) to WS:192.168.0.12:32946 --->
SIP/2.0 100 Trying
Via: SIP/2.0/WS df7jal23ls0d.invalid;rport=32946;received=192.168.0.12;branch=z9hG4bKoeT48ldktGF0R6HUbioXqsWM1MPXC6Qs
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
From: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
To: <sip:axis_local@192.168.0.32>
CSeq: 44461 INVITE
Server: FPBX-16.0.19(19.3.0)
Content-Length: 0
== DTLS ECDH initialized (automatic), faster PFS enabled
-- Executing [axis_local@default:1] Dial("PJSIP/Use2-00000000", "PJSIP/axis_local,20") in new stack
-- Called PJSIP/axis_local
<--- Transmitting SIP request (1974 bytes) to UDP:192.168.0.26:5060 --->
INVITE sip:axis_local@192.168.0.26:5060;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;rport;branch=z9hG4bKPj79157466-4adc-40cd-85ce-2beeff1b2876
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>
Contact: <sip:asterisk@192.168.0.32:5060>
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
CSeq: 31985 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.19(19.3.0)
Content-Type: application/sdp
Content-Length: 1295
v=0
o=- 183399448 183399448 IN IP4 192.168.0.32
s=Asterisk
c=IN IP4 192.168.0.32
t=0 0
m=audio 19204 RTP/AVP 0 8 107 101
a=ice-ufrag:2b26f68b431f230552c8783354f7df95
a=ice-pwd:664a97d82e3963d027901cbb7ae9cd88
a=candidate:Hc0a80020 1 UDP 2130706431 192.168.0.32 19204 typ host
a=candidate:H68935337 1 UDP 2130706431 fe80::a00:27ff:fed8:9e35 19204 typ host
a=candidate:Hc0a80020 2 UDP 2130706430 192.168.0.32 19205 typ host
a=candidate:H68935337 2 UDP 2130706430 fe80::a00:27ff:fed8:9e35 19205 typ host
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:107 opus/48000/2
a=fmtp:107 useinbandfec=1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
m=video 10114 RTP/AVP 100 99
a=ice-ufrag:109ac9d32315156e5d1f057c47ac02c8
a=ice-pwd:49cb1c68122f9673183e30e90f9d14c9
a=candidate:Hc0a80020 1 UDP 2130706431 192.168.0.32 10114 typ host
a=candidate:H68935337 1 UDP 2130706431 fe80::a00:27ff:fed8:9e35 10114 typ host
a=candidate:Hc0a80020 2 UDP 2130706430 192.168.0.32 10115 typ host
a=candidate:H68935337 2 UDP 2130706430 fe80::a00:27ff:fed8:9e35 10115 typ host
a=rtpmap:100 VP8/90000
a=fmtp:100 max-fr=60;max-fs=12288
a=rtpmap:99 H264/90000
a=fmtp:99 packetization-mode=1;level-asymmetry-allowed=1;profile-level-id=42E01F
a=sendonly
<--- Received SIP response (341 bytes) from UDP:192.168.0.26:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.32:5060;rport=5060;received=192.168.0.32;branch=z9hG4bKPj79157466-4adc-40cd-85ce-2beeff1b2876
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>
CSeq: 31985 INVITE
Content-Length: 0
<--- Received SIP response (341 bytes) from UDP:192.168.0.26:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.32:5060;rport=5060;received=192.168.0.32;branch=z9hG4bKPj79157466-4adc-40cd-85ce-2beeff1b2876
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>
CSeq: 31985 INVITE
Content-Length: 0
<--- Received SIP response (1235 bytes) from UDP:192.168.0.26:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.32:5060;rport=5060;received=192.168.0.32;branch=z9hG4bKPj79157466-4adc-40cd-85ce-2beeff1b2876
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>;tag=1FvgEULTmGZq9E5wsLn3R.X9w4hoVhAQ
CSeq: 31985 INVITE
Contact: "Axis Local" <sip:axis_local@192.168.0.26:5060;ob>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub, answermode
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 555
v=0
o=- 3868696077 3868696078 IN IP4 192.168.0.26
s=pjmedia
b=AS:699
t=0 0
a=X-nat:0
m=audio 4102 RTP/AVP 0 101
c=IN IP4 192.168.0.26
b=TIAS:650000
a=rtcp:4103 IN IP4 192.168.0.26
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ssrc:2079611727 cname:002c9e8b1f1646c5
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 4104 RTP/AVP 99
c=IN IP4 192.168.0.26
a=rtcp:4105 IN IP4 192.168.0.26
a=ssrc:791080956 cname:002c9e8b1f1646c5
a=rtcp-fb:* nack pli
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000d; packetization-mode=1
a=inactive
<--- Received SIP response (1235 bytes) from UDP:192.168.0.26:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.32:5060;rport=5060;received=192.168.0.32;branch=z9hG4bKPj79157466-4adc-40cd-85ce-2beeff1b2876
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>;tag=1FvgEULTmGZq9E5wsLn3R.X9w4hoVhAQ
CSeq: 31985 INVITE
Contact: "Axis Local" <sip:axis_local@192.168.0.26:5060;ob>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub, answermode
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 555
v=0
o=- 3868696077 3868696078 IN IP4 192.168.0.26
s=pjmedia
b=AS:699
t=0 0
a=X-nat:0
m=audio 4102 RTP/AVP 0 101
c=IN IP4 192.168.0.26
b=TIAS:650000
a=rtcp:4103 IN IP4 192.168.0.26
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ssrc:2079611727 cname:002c9e8b1f1646c5
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 4104 RTP/AVP 99
c=IN IP4 192.168.0.26
a=rtcp:4105 IN IP4 192.168.0.26
a=ssrc:791080956 cname:002c9e8b1f1646c5
a=rtcp-fb:* nack pli
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000d; packetization-mode=1
a=inactive
> 0x7fcca409e1e0 -- Strict RTP learning after remote address set to: 192.168.0.26:4102
> 0x7fcca40a59d0 -- Strict RTP learning after remote address set to: 192.168.0.26:4104
<--- Transmitting SIP request (429 bytes) to UDP:192.168.0.26:5060 --->
ACK sip:axis_local@192.168.0.26:5060;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;rport;branch=z9hG4bKPjb889671f-d815-480c-bc1a-d6d8b82ec4c3
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>;tag=1FvgEULTmGZq9E5wsLn3R.X9w4hoVhAQ
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
CSeq: 31985 ACK
Max-Forwards: 70
User-Agent: FPBX-16.0.19(19.3.0)
Content-Length: 0
<--- Transmitting SIP request (429 bytes) to UDP:192.168.0.26:5060 --->
ACK sip:axis_local@192.168.0.26:5060;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;rport;branch=z9hG4bKPjb889671f-d815-480c-bc1a-d6d8b82ec4c3
From: <sip:Use2@192.168.0.32>;tag=0648a5e5-1abf-416c-b4b1-ea82542061a1
To: <sip:axis_local@192.168.0.26;ob>;tag=1FvgEULTmGZq9E5wsLn3R.X9w4hoVhAQ
Call-ID: f4a3a6ed-6915-48df-81a0-190af93ab63e
CSeq: 31985 ACK
Max-Forwards: 70
User-Agent: FPBX-16.0.19(19.3.0)
Content-Length: 0
-- PJSIP/axis_local-00000001 answered PJSIP/Use2-00000000
> 0x7fcca4052730 -- Strict RTP learning after remote address set to: 192.168.56.1:33108
> 0x7fcca4089610 -- Strict RTP learning after remote address set to: 192.168.56.1:33108
<--- Transmitting SIP response (2441 bytes) to WS:192.168.0.12:32946 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS df7jal23ls0d.invalid;rport=32946;received=192.168.0.12;branch=z9hG4bKoeT48ldktGF0R6HUbioXqsWM1MPXC6Qs
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
From: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
To: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
CSeq: 44461 INVITE
Server: FPBX-16.0.19(19.3.0)
Contact: <sip:192.168.0.32:8088;transport=ws>
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Content-Type: application/sdp
Content-Length: 1815
v=0
o=- 3469762720 2 IN IP4 192.168.0.32
s=Asterisk
c=IN IP4 192.168.0.32
t=0 0
a=msid-semantic:WMS *
a=group:BUNDLE 0 1
m=audio 10800 UDP/TLS/RTP/SAVPF 0 8 109 101
a=connection:new
a=setup:active
a=fingerprint:SHA-256 62:7E:80:4B:57:EA:DF:DD:08:34:76:27:88:C7:1E:B4:77:C3:A0:7D:34:52:77:E5:A0:26:4E:0D:CC:22:9F:E7
a=ice-ufrag:69c05ee630099cd250f50b6d13a127cc
a=ice-pwd:3466e0724427141d53cefdb21cb7c768
a=candidate:Hc0a80020 1 UDP 2130706431 192.168.0.32 10800 typ host
a=candidate:H68935337 1 UDP 2130706431 fe80::a00:27ff:fed8:9e35 10800 typ host
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:109 opus/48000/2
a=fmtp:109 useinbandfec=1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
a=rtcp-mux
a=ssrc:154572995 cname:9203d39a-cdb0-45e3-879b-c09fc9be9adc
a=msid:0d300f96-7c5c-436a-95ad-310c68130108 1cae49fc-ae8b-484f-a28d-eff0d7eef799
a=rtcp-fb:* transport-cc
a=mid:0
m=video 10800 UDP/TLS/RTP/SAVPF 120 126
a=connection:new
a=setup:active
a=fingerprint:SHA-256 62:7E:80:4B:57:EA:DF:DD:08:34:76:27:88:C7:1E:B4:77:C3:A0:7D:34:52:77:E5:A0:26:4E:0D:CC:22:9F:E7
a=ice-ufrag:69c05ee630099cd250f50b6d13a127cc
a=ice-pwd:3466e0724427141d53cefdb21cb7c768
a=rtpmap:120 VP8/90000
a=fmtp:120 max-fr=60;max-fs=12288
a=rtpmap:126 H264/90000
a=fmtp:126 packetization-mode=1;level-asymmetry-allowed=1;profile-level-id=42E01F
a=sendonly
a=rtcp-mux
a=ssrc:584363117 cname:cbeafe94-b0dc-44d9-b967-7815661b3feb
a=msid:a125a9a5-b4a1-41b7-9b1d-cd416c0b6ec8 69e53380-6ca9-4eab-aec4-3281522c05fa
a=rtcp-fb:* transport-cc
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=mid:1
-- Channel PJSIP/axis_local-00000001 joined 'simple_bridge' basic-bridge <39f9ef67-7d58-44ca-a212-c8c332358d51>
-- Channel PJSIP/Use2-00000000 joined 'simple_bridge' basic-bridge <39f9ef67-7d58-44ca-a212-c8c332358d51>
> 0x7fcca4052730 -- Strict RTP learning after remote address set to: 192.168.0.12:48944
> 0x7fcca4089610 -- Strict RTP learning after ICE completion
<--- Received SIP request (859 bytes) from WS:192.168.0.12:32946 --->
ACK sip:192.168.0.32:8088;transport=ws SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKuKGarLJXP9fyyTc5nUfC;rport
From: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
To: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
Contact: <sip:Use2@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=ws>;+g.oma.sip-im;language="en,fr"
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 44461 ACK
Content-Length: 0
Max-Forwards: 70
Authorization: Digest username="Use2",realm="asterisk",nonce="1659707266/9cb0e86748350faaac64d48ce50d99b6",uri="sip:192.168.0.32:8088;transport=ws",response="0835dfe90671b4f612e069123cc8d724",algorithm=md5,cnonce="7011a4ae95b44996e310ae5e762c9260",opaque="0499948d0ed13152",qop=auth,nc=00000002
User-Agent: IM-client/OMA1.0 sipML5-v1.2016.03.04
Organization: Doubango Telecom
<--- Transmitting SIP request (2564 bytes) to WS:192.168.0.12:32946 --->
INVITE sip:Use2@192.168.0.12:32946;transport=ws;rtcweb-breaker=no;click2call=no SIP/2.0
Via: SIP/2.0/WS 192.168.0.32:8088;rport;branch=z9hG4bKPjf24e5f3d-01ab-4ed7-b6a6-8ade9362c0fc;alias
From: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
To: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
Contact: <sip:192.168.0.32:8088;transport=ws>
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 27302 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.19(19.3.0)
Content-Type: application/sdp
Content-Length: 1817
v=0
o=- 3469762720 3 IN IP4 192.168.0.32
s=Asterisk
c=IN IP4 192.168.0.32
t=0 0
a=msid-semantic:WMS *
a=group:BUNDLE 0 1
m=audio 10800 UDP/TLS/RTP/SAVPF 0 8 109 101
a=connection:new
a=setup:actpass
a=fingerprint:SHA-256 62:7E:80:4B:57:EA:DF:DD:08:34:76:27:88:C7:1E:B4:77:C3:A0:7D:34:52:77:E5:A0:26:4E:0D:CC:22:9F:E7
a=ice-ufrag:69c05ee630099cd250f50b6d13a127cc
a=ice-pwd:3466e0724427141d53cefdb21cb7c768
a=candidate:Hc0a80020 1 UDP 2130706431 192.168.0.32 10800 typ host
a=candidate:H68935337 1 UDP 2130706431 fe80::a00:27ff:fed8:9e35 10800 typ host
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:109 opus/48000/2
a=fmtp:109 useinbandfec=1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
a=rtcp-mux
a=ssrc:154572995 cname:9203d39a-cdb0-45e3-879b-c09fc9be9adc
a=msid:0d300f96-7c5c-436a-95ad-310c68130108 1cae49fc-ae8b-484f-a28d-eff0d7eef799
a=rtcp-fb:* transport-cc
a=mid:0
m=video 10800 UDP/TLS/RTP/SAVPF 120 126
a=connection:new
a=setup:actpass
a=fingerprint:SHA-256 62:7E:80:4B:57:EA:DF:DD:08:34:76:27:88:C7:1E:B4:77:C3:A0:7D:34:52:77:E5:A0:26:4E:0D:CC:22:9F:E7
a=ice-ufrag:69c05ee630099cd250f50b6d13a127cc
a=ice-pwd:3466e0724427141d53cefdb21cb7c768
a=rtpmap:120 VP8/90000
a=fmtp:120 max-fr=60;max-fs=12288
a=rtpmap:126 H264/90000
a=fmtp:126 packetization-mode=1;level-asymmetry-allowed=1;profile-level-id=42E01F
a=inactive
a=rtcp-mux
a=ssrc:584363117 cname:cbeafe94-b0dc-44d9-b967-7815661b3feb
a=msid:a125a9a5-b4a1-41b7-9b1d-cd416c0b6ec8 69e53380-6ca9-4eab-aec4-3281522c05fa
a=rtcp-fb:* transport-cc
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=mid:1
> 0x7fcca4052730 -- Strict RTP learning after remote address set to: 192.168.0.12:48944
> 0x7fcca4089610 -- Strict RTP learning after remote address set to: 192.168.0.12:48944
<--- Received SIP response (379 bytes) from WS:192.168.0.12:32946 --->
SIP/2.0 100 Trying (sent from the Transaction Layer)
Via: SIP/2.0/WS 192.168.0.32:8088;rport=8088;branch=z9hG4bKPjf24e5f3d-01ab-4ed7-b6a6-8ade9362c0fc;alias
From: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
To: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 27302 INVITE
Content-Length: 0
> 0x7fcca409e1e0 -- Strict RTP switching to RTP target address 192.168.0.26:4102 as source
> 0x7fcca4089610 -- Strict RTP switching to RTP target address 192.168.0.12:48944 as source
<--- Received SIP response (6842 bytes) from WS:192.168.0.12:32946 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS 192.168.0.32:8088;rport=8088;branch=z9hG4bKPjf24e5f3d-01ab-4ed7-b6a6-8ade9362c0fc;alias
From: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
To: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
Contact: <sip:Use2@df7jal23ls0d.invalid;transport=ws>
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 27302 INVITE
Content-Type: application/sdp
Content-Length: 6331
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER, UPDATE
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 6407858980220068000 0 IN IP4 127.0.0.1
s=Doubango Telecom - firefox
t=0 0
a=sendrecv
a=fingerprint:sha-256 11:36:38:5B:A0:EE:08:84:61:27:EE:C2:0D:27:7F:47:A9:1C:75:46:D9:EF:04:2E:4E:D0:CB:C3:4F:D8:99:DA
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 33108 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 192.168.56.1
a=candidate:0 1 UDP 2122187007 192.168.0.12 48944 typ host
a=candidate:1 1 UDP 2122121471 192.168.122.1 45343 typ host
a=candidate:2 1 UDP 2122055935 172.20.0.1 53787 typ host
a=candidate:3 1 UDP 2121990399 172.18.0.1 56135 typ host
a=candidate:4 1 UDP 2121924863 172.19.0.1 60623 typ host
a=candidate:5 1 UDP 2121859327 172.17.0.1 36279 typ host
a=candidate:6 1 UDP 2122252543 192.168.56.1 33108 typ host
a=candidate:7 1 TCP 2105458943 192.168.0.12 9 typ host tcptype active
a=candidate:8 1 TCP 2105393407 192.168.122.1 9 typ host tcptype active
a=candidate:9 1 TCP 2105327871 172.20.0.1 9 typ host tcptype active
a=candidate:10 1 TCP 2105262335 172.18.0.1 9 typ host tcptype active
a=candidate:11 1 TCP 2105196799 172.19.0.1 9 typ host tcptype active
a=candidate:12 1 TCP 2105131263 172.17.0.1 9 typ host tcptype active
a=candidate:13 1 TCP 2105524479 192.168.56.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122187006 192.168.0.12 43364 typ host
a=candidate:1 2 UDP 2122121470 192.168.122.1 44602 typ host
a=candidate:2 2 UDP 2122055934 172.20.0.1 57719 typ host
a=candidate:3 2 UDP 2121990398 172.18.0.1 52649 typ host
a=candidate:4 2 UDP 2121924862 172.19.0.1 48347 typ host
a=candidate:5 2 UDP 2121859326 172.17.0.1 52844 typ host
a=candidate:6 2 UDP 2122252542 192.168.56.1 47045 typ host
a=candidate:7 2 TCP 2105458942 192.168.0.12 9 typ host tcptype active
a=candidate:8 2 TCP 2105393406 192.168.122.1 9 typ host tcptype active
a=candidate:9 2 TCP 2105327870 172.20.0.1 9 typ host tcptype active
a=candidate:10 2 TCP 2105262334 172.18.0.1 9 typ host tcptype active
a=candidate:11 2 TCP 2105196798 172.19.0.1 9 typ host tcptype active
a=candidate:12 2 TCP 2105131262 172.17.0.1 9 typ host tcptype active
a=candidate:13 2 TCP 2105524478 192.168.56.1 9 typ host tcptype active
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:38902ac7ed5d4749bd4325ee31a4d83f
a=ice-ufrag:0730dec2
a=mid:0
a=msid:{0f35c7fc-e1aa-4165-bc49-46ba40351e19} {7077e186-222c-4b3b-89f1-4ccc6618ca71}
a=rtcp:47045 IN IP4 192.168.56.1
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:2650840728 cname:{6301cf2b-c2e1-44d6-8500-477fbb1fecf4}
m=video 40632 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 192.168.56.1
a=candidate:0 1 UDP 2122187007 192.168.0.12 34996 typ host
a=candidate:1 1 UDP 2122121471 192.168.122.1 46642 typ host
a=candidate:2 1 UDP 2122055935 172.20.0.1 56475 typ host
a=candidate:3 1 UDP 2121990399 172.18.0.1 53952 typ host
a=candidate:4 1 UDP 2121924863 172.19.0.1 50925 typ host
a=candidate:5 1 UDP 2121859327 172.17.0.1 46263 typ host
a=candidate:6 1 UDP 2122252543 192.168.56.1 40632 typ host
a=candidate:7 1 TCP 2105458943 192.168.0.12 9 typ host tcptype active
a=candidate:8 1 TCP 2105393407 192.168.122.1 9 typ host tcptype active
a=candidate:9 1 TCP 2105327871 172.20.0.1 9 typ host tcptype active
a=candidate:10 1 TCP 2105262335 172.18.0.1 9 typ host tcptype active
a=candidate:11 1 TCP 2105196799 172.19.0.1 9 typ host tcptype active
a=candidate:12 1 TCP 2105131263 172.17.0.1 9 typ host tcptype active
a=candidate:13 1 TCP 2105524479 192.168.56.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122187006 192.168.0.12 54217 typ host
a=candidate:1 2 UDP 2122121470 192.168.122.1 56911 typ host
a=candidate:2 2 UDP 2122055934 172.20.0.1 60058 typ host
a=candidate:3 2 UDP 2121990398 172.18.0.1 51025 typ host
a=candidate:4 2 UDP 2121924862 172.19.0.1 39660 typ host
a=candidate:5 2 UDP 2121859326 172.17.0.1 59333 typ host
a=candidate:6 2 UDP 2122252542 192.168.56.1 56774 typ host
a=candidate:7 2 TCP 2105458942 192.168.0.12 9 typ host tcptype active
a=candidate:8 2 TCP 2105393406 192.168.122.1 9 typ host tcptype active
a=candidate:9 2 TCP 2105327870 172.20.0.1 9 typ host tcptype active
a=candidate:10 2 TCP 2105262334 172.18.0.1 9 typ host tcptype active
a=candidate:11 2 TCP 2105196798 172.19.0.1 9 typ host tcptype active
a=candidate:12 2 TCP 2105131262 172.17.0.1 9 typ host tcptype active
a=candidate:13 2 TCP 2105524478 192.168.56.1 9 typ host tcptype active
a=recvonly
a=end-of-candidates
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:38902ac7ed5d4749bd4325ee31a4d83f
a=ice-ufrag:0730dec2
a=mid:1
a=rtcp:56774 IN IP4 192.168.56.1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:1164111410 cname:{6301cf2b-c2e1-44d6-8500-477fbb1fecf4}
> 0x7fcca4052730 -- Strict RTP learning after remote address set to: 192.168.56.1:33108
> 0x7fcca4089610 -- Strict RTP learning after remote address set to: 192.168.56.1:33108
<--- Transmitting SIP request (456 bytes) to WS:192.168.0.12:32946 --->
ACK sip:Use2@192.168.0.12:32946;transport=ws;rtcweb-breaker=no;click2call=no SIP/2.0
Via: SIP/2.0/WS 192.168.0.32:8088;rport;branch=z9hG4bKPje033427f-ffc2-4fe1-a45c-2f71456725d3;alias
From: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
To: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 27302 ACK
Max-Forwards: 70
User-Agent: FPBX-16.0.19(19.3.0)
Content-Length: 0
<--- Received SIP request (822 bytes) from WS:192.168.0.12:32946 --->
BYE sip:192.168.0.32:8088;transport=ws SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKLzCpFO9aoWAWn3FgUynvwCpdPpLkEw52;rport
From: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
To: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
CSeq: 44462 BYE
Content-Length: 0
Max-Forwards: 70
Accept-Contact: *;+g.oma.sip-im
Accept-Contact: *;language="en,fr"
Authorization: Digest username="Use2",realm="asterisk",nonce="1659707266/9cb0e86748350faaac64d48ce50d99b6",uri="sip:192.168.0.32:8088;transport=ws",response="9e2a698faecc554fc78703344f151dbd",algorithm=md5,cnonce="7011a4ae95b44996e310ae5e762c9260",opaque="0499948d0ed13152",qop=auth,nc=00000003
User-Agent: IM-client/OMA1.0 sipML5-v1.2016.03.04
Organization: Doubango Telecom
<--- Transmitting SIP response (383 bytes) to WS:192.168.0.12:32946 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS df7jal23ls0d.invalid;rport=32946;received=192.168.0.12;branch=z9hG4bKLzCpFO9aoWAWn3FgUynvwCpdPpLkEw52
Call-ID: fc455de6-91c4-2fa2-8ed9-4d578dac5c18
From: <sip:Use2@192.168.0.32>;tag=sHKhOyExhnCwe6Ix6gmb
To: <sip:axis_local@192.168.0.32>;tag=1ddffae4-301a-4321-bcf8-3e48c227687f
CSeq: 44462 BYE
Server: FPBX-16.0.19(19.3.0)
Content-Length: 0
-- Channel PJSIP/Use2-00000000 left 'simple_bridge' basic-bridge <39f9ef67-7d58-44ca-a212-c8c332358d51>