Conference BYE for participant after some time

I’m working on a client for Asterisk conference. Calling in works. Video is started fine. I can see other participants joining, but after a couple of seconds each participant receives a BYE and is kicked out. Before, I got another issue that indicated that it has to do with an invalid OPTIONS response(had to do with an invalid branch), but I can’t seem to find the issue here. A correct OPTIONS response with another SIP client, which keeps the call session alive:

OPTIONS sip:f9p07nme@127.0.0.1:54814;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj5217fde8-4afd-49bd-b5ed-13b750da137f;alias
From: <sip:2000@gcc>;tag=fab428b8-60ed-4f50-9753-339c5d895d45
To: <sip:f9p07nme@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: b28e4ab4-b7c4-4a8c-99f1-347fc0a313d6
CSeq: 17065 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0

SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj5217fde8-4afd-49bd-b5ed-13b750da137f;alias
From: <sip:2000@gcc>;tag=fab428b8-60ed-4f50-9753-339c5d895d45
To: <sip:f9p07nme@127.0.0.1>;tag=17cv21ukt0
CSeq: 17065 OPTIONS
Call-ID: b28e4ab4-b7c4-4a8c-99f1-347fc0a313d6
Supported: outbound
User-Agent: CA11/undefined (Linux/Chrome) ca11
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0

Custom client with OPTIONS that returns a BYE after a couple of OPTIONS requests:

OPTIONS sip:99414265@127.0.0.1:41608;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj131ef8f1-e08a-4400-94b3-d8b150973cc0;alias
From: <sip:2000@gcc>;tag=b2cebdfe-412b-42e4-bcec-fff0c2ec4f6a
To: <sip:99414265@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: 86afd918-c34f-429d-accc-687b3dbb3514
CSeq: 29520 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0

SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj131ef8f1-e08a-4400-94b3-d8b150973cc0;alias
From: <sip:2000@sip.dev.ca11.app>;tag=b2cebdfe-412b-42e4-bcec-fff0c2ec4f6a
To: <sip:99414265@127.0.0.1>;tag=9326341034777
Call-ID: 86afd918-c34f-429d-accc-687b3dbb3514
CSeq: 29520 OPTIONS
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Supported: outbound
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0

...

BYE sip:51555739@127.0.0.1:45570;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPje37577d8-ac6e-43ed-8011-4965413db544;alias
From: <sip:2222@sip.dev.ca11.app>;tag=90481b86-6720-43a1-8a25-f6134579af1c
To: <sip:2000@sip.dev.ca11.app>;tag=108265710710224
Call-ID: UZkPkPQt-
CSeq: 10746 BYE
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0

Asterisk console just notices a leave:

asterisk    |     -- Channel PJSIP/2000-00000015 left 'softmix' base-bridge <fb23d0af-aafa-4a61-b470-2b451cdd8022>
asterisk    |     -- <CBAnn/guest-0000000c;1> Playing 'confbridge-leave.slin' (language 'en')
asterisk    |     -- Channel CBAnn/guest-0000000c;2 left 'softmix' base-bridge <fb23d0af-aafa-4a61-b470-2b451cdd8022>

Any idea what I’m missing in the SIP Response, that causes the call to end?

An OPTIONS request wouldn’t cause a BYE. You’d need to show a full SIP trace as to what is going on.

Hi @jcolp, thanks for the help! The issue reminded me of Contact reachable/unreachable, which was related to an invalid OPTIONS response(invalid branch parameter). That’s why I thought these disconnects might have to do with it. The full trace:

REGISTER sip:sip.dev.ca11.app SIP/2.0
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport;branch=z9hG4bK61074917
Max-Forwards: 70
From: <sip:2000@sip.dev.ca11.app>
To: <sip:2000@sip.dev.ca11.app>
Call-ID: 93106106977722
CSeq: 1 REGISTER
Contact: <sip:24917485@nb4btmdpfcgh.invalid;transport=ws>;expires=600
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Content-Length: 0


SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport=58150;received=127.0.0.1;branch=z9hG4bK61074917
Call-ID: 93106106977722
From: <sip:2000@sip.dev.ca11.app>
To: <sip:2000@sip.dev.ca11.app>;tag=z9hG4bK61074917
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="asterisk",nonce="1591851724/1b655f1ed7780bfaeff6f8821d462de7",opaque="0de2be11086c868e",algorithm=md5,qop="auth"
Server: CA11 Asterisk
Content-Length:  0


REGISTER sip:sip.dev.ca11.app SIP/2.0
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport;branch=z9hG4bK810491035
Max-Forwards: 70
From: <sip:2000@sip.dev.ca11.app>
To: <sip:2000@sip.dev.ca11.app>
Call-ID: 93106106977722
CSeq: 1 REGISTER
Contact: <sip:24917485@nb4btmdpfcgh.invalid;transport=ws>;expires=600
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Authorization: Digest algorithm=MD5, username="2000", realm="asterisk", nonce="1591851724/1b655f1ed7780bfaeff6f8821d462de7", uri="sip:sip.dev.ca11.app", response="a859a07f2424ad2105139a2f02ba459a", opaque="0de2be11086c868e", qop=auth, cnonce="4110118297225", nc=00000001
Content-Length: 0


SIP/2.0 200 OK
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport=58150;received=127.0.0.1;branch=z9hG4bK810491035
Call-ID: 93106106977722
From: <sip:2000@sip.dev.ca11.app>
To: <sip:2000@sip.dev.ca11.app>;tag=z9hG4bK810491035
CSeq: 1 REGISTER
Date: Thu, 11 Jun 2020 05:02:04 GMT
Contact: <sip:24917485@127.0.0.1:58150;transport=WS>;expires=599
Server: CA11 Asterisk
Content-Length:  0


OPTIONS sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPjb3dd65a2-42e6-499a-8560-a325a754aa12;alias
From: <sip:2000@gcc>;tag=1caa3a32-bc02-425a-8ae6-13018223a4d7
To: <sip:24917485@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: 8beee984-471b-4856-8e6e-ee6851598ac0
CSeq: 27847 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0


SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPjb3dd65a2-42e6-499a-8560-a325a754aa12;alias
From: <sip:2000@sip.dev.ca11.app>;tag=1caa3a32-bc02-425a-8ae6-13018223a4d7
To: <sip:24917485@127.0.0.1>;tag=968447469757
Call-ID: 8beee984-471b-4856-8e6e-ee6851598ac0
CSeq: 27847 OPTIONS
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Supported: outbound
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0


INVITE sip:2222@sip.dev.ca11.app SIP/2.0
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport;branch=z9hG4bK45105256
Max-Forwards: 70
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>
Call-ID: T2P9hpoZG
CSeq: 1 INVITE
Contact: <sip:24917485@nb4btmdpfcgh.invalid;transport=ws>;expires=600
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Content-Type: application/sdp
Content-Length: 5748

v=0
o=- 4755271236849711714 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
m=audio 52149 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 192.168.1.30
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2311777672 1 udp 2122260223 192.168.1.30 52149 typ host generation 0 network-id 1 network-cost 10
a=candidate:3343454584 1 tcp 1518280447 192.168.1.30 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:cc50
a=ice-pwd:KCZ47aOhGcXjO70eaRkCgGEp
a=ice-options:trickle
a=fingerprint:sha-256 8B:C4:9C:B5:07:7A:A1:4A:7F:20:36:7F:C3:C8:C1:49:EC:ED:B3:A0:FD:4A:9B:E1:C3:01:D7:DC:70:EA:BD:43
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=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 52fdadcc-70e9-48d7-b681-7bc2c6f8348f
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
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:1922737959 cname:nrksxguVes7d1oCP
a=ssrc:1922737959 msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 52fdadcc-70e9-48d7-b681-7bc2c6f8348f
a=ssrc:1922737959 mslabel:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
a=ssrc:1922737959 label:52fdadcc-70e9-48d7-b681-7bc2c6f8348f
m=video 38753 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123
c=IN IP4 192.168.1.30
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2311777672 1 udp 2122260223 192.168.1.30 38753 typ host generation 0 network-id 1 network-cost 10
a=candidate:3343454584 1 tcp 1518280447 192.168.1.30 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:cc50
a=ice-pwd:KCZ47aOhGcXjO70eaRkCgGEp
a=ice-options:trickle
a=fingerprint:sha-256 8B:C4:9C:B5:07:7A:A1:4A:7F:20:36:7F:C3:C8:C1:49:EC:ED:B3:A0:FD:4A:9B:E1:C3:01:D7:DC:70:EA:BD:43
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:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 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://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 47900b85-c79e-4e5f-9915-2c072082c2f1
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:122 rtx/90000
a=fmtp:122 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:121 rtx/90000
a=fmtp:121 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 red/90000
a=rtpmap:120 rtx/90000
a=fmtp:120 apt=124
a=rtpmap:123 ulpfec/90000
a=ssrc-group:FID 2363170199 3854549709
a=ssrc:2363170199 cname:nrksxguVes7d1oCP
a=ssrc:2363170199 msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 47900b85-c79e-4e5f-9915-2c072082c2f1
a=ssrc:2363170199 mslabel:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
a=ssrc:2363170199 label:47900b85-c79e-4e5f-9915-2c072082c2f1
a=ssrc:3854549709 cname:nrksxguVes7d1oCP
a=ssrc:3854549709 msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 47900b85-c79e-4e5f-9915-2c072082c2f1
a=ssrc:3854549709 mslabel:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
a=ssrc:3854549709 label:47900b85-c79e-4e5f-9915-2c072082c2f1


SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport=58150;received=127.0.0.1;branch=z9hG4bK45105256
Call-ID: T2P9hpoZG
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>;tag=z9hG4bK45105256
CSeq: 1 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1591851729/2a7106e7bf2057769c5a657b7a1043c9",opaque="4a6343431e7e43e1",algorithm=md5,qop="auth"
Server: CA11 Asterisk
Content-Length:  0


INVITE sip:2222@sip.dev.ca11.app SIP/2.0
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport;branch=z9hG4bK46524510
Max-Forwards: 70
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>
Call-ID: T2P9hpoZG
CSeq: 1 INVITE
Contact: <sip:24917485@nb4btmdpfcgh.invalid;transport=ws>;expires=600
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Authorization: Digest algorithm=MD5, username="2000", realm="asterisk", nonce="1591851729/2a7106e7bf2057769c5a657b7a1043c9", uri="sip:sip.dev.ca11.app", response="f5e2be32e81ff4823b5695d620192cec", opaque="4a6343431e7e43e1", qop=auth, cnonce="8534269109251", nc=00000002
Content-Type: application/sdp
Content-Length: 5748

v=0
o=- 4755271236849711714 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
m=audio 52149 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 192.168.1.30
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2311777672 1 udp 2122260223 192.168.1.30 52149 typ host generation 0 network-id 1 network-cost 10
a=candidate:3343454584 1 tcp 1518280447 192.168.1.30 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:cc50
a=ice-pwd:KCZ47aOhGcXjO70eaRkCgGEp
a=ice-options:trickle
a=fingerprint:sha-256 8B:C4:9C:B5:07:7A:A1:4A:7F:20:36:7F:C3:C8:C1:49:EC:ED:B3:A0:FD:4A:9B:E1:C3:01:D7:DC:70:EA:BD:43
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=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 52fdadcc-70e9-48d7-b681-7bc2c6f8348f
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
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:1922737959 cname:nrksxguVes7d1oCP
a=ssrc:1922737959 msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 52fdadcc-70e9-48d7-b681-7bc2c6f8348f
a=ssrc:1922737959 mslabel:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
a=ssrc:1922737959 label:52fdadcc-70e9-48d7-b681-7bc2c6f8348f
m=video 38753 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123
c=IN IP4 192.168.1.30
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2311777672 1 udp 2122260223 192.168.1.30 38753 typ host generation 0 network-id 1 network-cost 10
a=candidate:3343454584 1 tcp 1518280447 192.168.1.30 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:cc50
a=ice-pwd:KCZ47aOhGcXjO70eaRkCgGEp
a=ice-options:trickle
a=fingerprint:sha-256 8B:C4:9C:B5:07:7A:A1:4A:7F:20:36:7F:C3:C8:C1:49:EC:ED:B3:A0:FD:4A:9B:E1:C3:01:D7:DC:70:EA:BD:43
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:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 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://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 47900b85-c79e-4e5f-9915-2c072082c2f1
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:122 rtx/90000
a=fmtp:122 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:121 rtx/90000
a=fmtp:121 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 red/90000
a=rtpmap:120 rtx/90000
a=fmtp:120 apt=124
a=rtpmap:123 ulpfec/90000
a=ssrc-group:FID 2363170199 3854549709
a=ssrc:2363170199 cname:nrksxguVes7d1oCP
a=ssrc:2363170199 msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 47900b85-c79e-4e5f-9915-2c072082c2f1
a=ssrc:2363170199 mslabel:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
a=ssrc:2363170199 label:47900b85-c79e-4e5f-9915-2c072082c2f1
a=ssrc:3854549709 cname:nrksxguVes7d1oCP
a=ssrc:3854549709 msid:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE 47900b85-c79e-4e5f-9915-2c072082c2f1
a=ssrc:3854549709 mslabel:AbnkkoVcW1iTyhvHBOpV5qtW2MZjYMWsQZOE
a=ssrc:3854549709 label:47900b85-c79e-4e5f-9915-2c072082c2f1


ACK sip:2222@sip.dev.ca11.app SIP/2.0
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport;branch=z9hG4bK46524510
Max-Forwards: 70
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>;tag=z9hG4bK45105256
Call-ID: T2P9hpoZG
CSeq: 1 ACK
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Content-Length: 0


SIP/2.0 100 Trying
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport=58150;received=127.0.0.1;branch=z9hG4bK46524510
Call-ID: T2P9hpoZG
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>
CSeq: 1 INVITE
Server: CA11 Asterisk
Content-Length:  0


SIP/2.0 100 Trying
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport=58150;received=127.0.0.1;branch=z9hG4bK46524510
Call-ID: T2P9hpoZG
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>
CSeq: 1 INVITE
Server: CA11 Asterisk
Content-Length:  0


SIP/2.0 200 OK
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport=58150;received=127.0.0.1;branch=z9hG4bK46524510
Call-ID: T2P9hpoZG
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>;tag=39ee5145-6d21-4904-885e-333a07ba576a
CSeq: 1 INVITE
Server: CA11 Asterisk
Contact: <sip:127.0.0.1:8088;transport=ws>
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Content-Type: application/sdp
Content-Length:  1865

v=0
o=- 3540990562 4 IN IP4 192.168.1.30
s=Asterisk
c=IN IP4 192.168.1.30
t=0 0
a=msid-semantic:WMS *
a=group:BUNDLE 0 1
m=audio 19380 UDP/TLS/RTP/SAVPF 111 126
a=connection:new
a=setup:active
a=fingerprint:SHA-256 DB:71:EA:55:8B:52:09:F3:19:F2:D8:16:C2:13:8F:45:C3:55:47:EC:51:C9:E1:3E:4A:7E:D0:58:5A:9A:7A:16
a=ice-ufrag:49b6f99223a378fb37202c5c3520df51
a=ice-pwd:756780c95011ebc97128e06520a1a596
a=candidate:Hc0a8011e 1 UDP 2130706431 192.168.1.30 19380 typ host
a=candidate:Hac130001 1 UDP 2130706431 172.19.0.1 19380 typ host
a=candidate:Hac120001 1 UDP 2130706431 172.18.0.1 19380 typ host
a=candidate:Hac110001 1 UDP 2130706431 172.17.0.1 19380 typ host
a=candidate:S5ed44178 1 UDP 1694498815 94.212.65.120 19380 typ srflx raddr 192.168.1.30 rport 19380
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=rtcp-mux
a=ssrc:1207174731 cname:cde8ef6e-bf79-4079-8e0d-f7fce9105345
a=msid:2e91f7ff-626c-4106-a654-ce69e7701fbe 407c6529-5888-4466-8554-929f81de4a17
a=rtcp-fb:* transport-cc
a=mid:0
m=video 19380 UDP/TLS/RTP/SAVPF 96 98
a=connection:new
a=setup:active
a=fingerprint:SHA-256 DB:71:EA:55:8B:52:09:F3:19:F2:D8:16:C2:13:8F:45:C3:55:47:EC:51:C9:E1:3E:4A:7E:D0:58:5A:9A:7A:16
a=ice-ufrag:49b6f99223a378fb37202c5c3520df51
a=ice-pwd:756780c95011ebc97128e06520a1a596
a=rtpmap:96 VP8/90000
a=rtpmap:98 VP9/90000
a=sendrecv
a=rtcp-mux
a=ssrc:2138106880 cname:5c442af3-295f-4382-b000-5654a717da0f
a=msid:2e91f7ff-626c-4106-a654-ce69e7701fbe abfef54b-eebf-46ba-b5bc-cec271dc1504
a=rtcp-fb:* transport-cc
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
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=mid:1


ACK sip:2222@sip.dev.ca11.app SIP/2.0
Via: SIP/2.0/WSS b55dhqu9asr5.invalid;rport;branch=39ee5145-6d21-4904-885e-333a07ba576a
Max-Forwards: 70
From: <sip:2000@sip.dev.ca11.app>;tag=954832534977
To: <sip:2222@sip.dev.ca11.app>;tag=39ee5145-6d21-4904-885e-333a07ba576a
Call-ID: T2P9hpoZG
CSeq: 1 ACK
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Content-Length: 0


MESSAGE sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPjb8840d8c-52e3-40a4-b696-3db3802cae47;alias
From: "guest" <sip:2222@sip.dev.ca11.app>;tag=39ee5145-6d21-4904-885e-333a07ba576a
To: <sip:2000@sip.dev.ca11.app>;tag=954832534977
Call-ID: T2P9hpoZG
CSeq: 3602 MESSAGE
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Type: application/x-asterisk-confbridge-event+json
Content-Length:   558

{
  "type": "ConfbridgeJoin",
  "timestamp": "2020-06-11T05:02:12.881+0000",
  "bridge": {
    "id": "b7cbfd5e-3e5e-4591-9fca-12e34492f031",
    "name": "guest",
    "creationtime": "2020-06-11T05:02:09.723+0000",
    "video_mode": "sfu"
  },
  "channels": [
    {
      "id": "1591851729.3",
      "name": "PJSIP/2000-00000001",
      "state": "Up",
      "caller": {
        "name": "Bob",
        "number": "2000"
      },
      "creationtime": "2020-06-11T05:02:09.704+0000",
      "language": "en",
      "admin": false,
      "muted": false
    }
  ]
}


MESSAGE sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj00f9c50f-bfeb-4538-ad30-6d392b961d64;alias
From: "guest" <sip:2222@sip.dev.ca11.app>;tag=39ee5145-6d21-4904-885e-333a07ba576a
To: <sip:2000@sip.dev.ca11.app>;tag=954832534977
Call-ID: T2P9hpoZG
CSeq: 3603 MESSAGE
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Type: application/x-asterisk-confbridge-event+json
Content-Length:   561

{
  "type": "ConfbridgeWelcome",
  "timestamp": "2020-06-11T05:02:12.881+0000",
  "bridge": {
    "id": "b7cbfd5e-3e5e-4591-9fca-12e34492f031",
    "name": "guest",
    "creationtime": "2020-06-11T05:02:09.723+0000",
    "video_mode": "sfu"
  },
  "channels": [
    {
      "id": "1591851729.3",
      "name": "PJSIP/2000-00000001",
      "state": "Up",
      "caller": {
        "name": "Bob",
        "number": "2000"
      },
      "creationtime": "2020-06-11T05:02:09.704+0000",
      "language": "en",
      "admin": false,
      "muted": false
    }
  ]
}


MESSAGE sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj7f26a5ff-f9ab-4074-95a1-e2f898017705;alias
From: "guest" <sip:2222@sip.dev.ca11.app>;tag=39ee5145-6d21-4904-885e-333a07ba576a
To: <sip:2000@sip.dev.ca11.app>;tag=954832534977
Call-ID: T2P9hpoZG
CSeq: 3604 MESSAGE
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Type: application/x-asterisk-confbridge-event+json
Content-Length:   569

{
  "type": "ConfbridgeTalking",
  "timestamp": "2020-06-11T05:02:12.924+0000",
  "bridge": {
    "id": "b7cbfd5e-3e5e-4591-9fca-12e34492f031",
    "name": "guest",
    "creationtime": "2020-06-11T05:02:09.723+0000",
    "video_mode": "sfu"
  },
  "channels": [
    {
      "id": "1591851729.3",
      "name": "PJSIP/2000-00000001",
      "state": "Up",
      "caller": {
        "name": "Bob",
        "number": "2000"
      },
      "creationtime": "2020-06-11T05:02:09.704+0000",
      "language": "en",
      "talking_status": "on",
      "admin": false
    }
  ]
}


OPTIONS sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPjdb2a4913-c13b-486a-8aea-1e5b4be64f07;alias
From: <sip:2000@gcc>;tag=023e9c4c-e094-4c39-a0cb-2b501b648f3e
To: <sip:24917485@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: d737008f-9d7c-4194-97fe-99a2236ad533
CSeq: 52354 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0


SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPjdb2a4913-c13b-486a-8aea-1e5b4be64f07;alias
From: <sip:2000@sip.dev.ca11.app>;tag=023e9c4c-e094-4c39-a0cb-2b501b648f3e
To: <sip:24917485@127.0.0.1>;tag=968447469757
Call-ID: d737008f-9d7c-4194-97fe-99a2236ad533
CSeq: 52354 OPTIONS
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Supported: outbound
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0


OPTIONS sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj4fc7d61c-a159-4163-81a5-0d9518a67a2e;alias
From: <sip:2000@gcc>;tag=3f950358-5f30-4a68-a4a7-53ef396cf5b0
To: <sip:24917485@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: 7339302c-389a-4ec3-a8c2-b29b34264bf8
CSeq: 63460 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0

SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj4fc7d61c-a159-4163-81a5-0d9518a67a2e;alias
From: <sip:2000@sip.dev.ca11.app>;tag=3f950358-5f30-4a68-a4a7-53ef396cf5b0
To: <sip:24917485@127.0.0.1>;tag=968447469757
Call-ID: 7339302c-389a-4ec3-a8c2-b29b34264bf8
CSeq: 63460 OPTIONS
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Supported: outbound
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0

OPTIONS sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj9ec43c27-39ae-47d8-a3ac-b7a8ba396733;alias
From: <sip:2000@gcc>;tag=dd44fe61-4128-4ce1-9098-c5cf1d7b20c8
To: <sip:24917485@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: ac591676-8c89-4c82-9318-bdd67ea29d30
CSeq: 53716 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0


SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj9ec43c27-39ae-47d8-a3ac-b7a8ba396733;alias
From: <sip:2000@sip.dev.ca11.app>;tag=dd44fe61-4128-4ce1-9098-c5cf1d7b20c8
To: <sip:24917485@127.0.0.1>;tag=968447469757
Call-ID: ac591676-8c89-4c82-9318-bdd67ea29d30
CSeq: 53716 OPTIONS
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Supported: outbound
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0


OPTIONS sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPja0eb669e-d81d-4c02-bff9-1b49b15cb0a8;alias
From: <sip:2000@gcc>;tag=a4ce4609-4376-48e6-bb8f-8bf1477e4784
To: <sip:24917485@127.0.0.1>
Contact: <sip:2000@gcc:5060;transport=ws>
Call-ID: 2aac5a73-2463-4e15-9e15-27adad8cc026
CSeq: 56412 OPTIONS
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0

SIP/2.0 200 OK
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPja0eb669e-d81d-4c02-bff9-1b49b15cb0a8;alias
From: <sip:2000@sip.dev.ca11.app>;tag=a4ce4609-4376-48e6-bb8f-8bf1477e4784
To: <sip:24917485@127.0.0.1>;tag=968447469757
Call-ID: 2aac5a73-2463-4e15-9e15-27adad8cc026
CSeq: 56412 OPTIONS
User-Agent: CA11/1.0.0 (Linux/Chrome) ca11
Supported: outbound
Allow: ACK,BYE,CANCEL,INFO,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE
Accept: application/sdp,application/dtmf-relay
Content-Length: 0


BYE sip:24917485@127.0.0.1:58150;transport=WS SIP/2.0
Via: SIP/2.0/WS 127.0.0.1:8088;rport;branch=z9hG4bKPj6e2f69f1-2006-4888-98bd-5377fd3f9722;alias
From: <sip:2222@sip.dev.ca11.app>;tag=39ee5145-6d21-4904-885e-333a07ba576a
To: <sip:2000@sip.dev.ca11.app>;tag=954832534977
Call-ID: T2P9hpoZG
CSeq: 3605 BYE
Max-Forwards: 70
User-Agent: CA11 Asterisk
Content-Length:  0

Is this a full SIP trace? I don’t see any responses to the MESSAGE requests which would be problematic. If the Javascript doesn’t support them then you’d want to disable the sending of events.

Hey @jcolp. Thanks for pointing me in the right direction! I totally disregarded MESSAGE requests. Settings enable_events=no in the bridge fixed the issue for now. I’ll look into what’s wrong with the message response I’m using.

Turned out that I messed up the dialog info. The conference is now kept alive with enable_events=yes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.