CyberMegaPhone StreamEcho show only one video


#1

Hello,
I’m trying to test CyberMegaPhone with the streamecho aplication.

chan_sip unloaded

Dialplan:
exten => 151,1,Answer()
same => n,StreamEcho(3,video)
same => n,Hangup()

pjsip.conf
[wss]
type=transport
async_operations=1
bind=0.0.0.0:5060
protocol=wss
allow_reload=yes
symmetric_transport=no

[cmp]
type=endpoint
disallow=all
allow=alaw,ulaw,h263,h264,vp8
context=internal
auth=cmp
aors=cmp
dtls_auto_generate_cert=yes
webrtc=yes
transport=wss
max_audio_streams = 10
max_video_streams = 15

[cmp]
type=auth
auth_type=userpass
password=password
username=cmp

[cmp]
type=aor
max_contacts=5
remove_existing=yes
qualify_frequency=0

http.conf
[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/tmp/asterisk.pem
tlsprivatekey=/tmp/asterisk.pem

enablestatic = yes
redirect = /cmp2k /static/cyber_mega_phone_2k/index.html

I can register cmp endpoint and call streamecho extension but i can see only one video (local video). Any hint?

Regards


#2

What is the console output? What is the SIP Signaling (pjsip set logger on)? What version of Asterisk?


#3

Asterisk 16.0.1, PJSIP channel, no error in the Asterisk console, Chrome Browser, SIP debug:`INVITE sip:151@45.79.21.242 SIP/2.0
Via: SIP/2.0/WSS 45.79.21.242;branch=z9hG4bK3417945
Max-Forwards: 69
To: sip:151@45.79.21.242
From: sip:cmp@45.79.21.242;tag=okdi9suik2
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 561 INVITE
Contact: sip:cmp@45.79.21.242;ob
Content-Type: application/sdp
Session-Expires: 90
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO
Supported: timer,ice,replaces,outbound
User-Agent: JsSIP 3.0.13
Content-Length: 4740

v=0
o=- 3036649244904335868 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
m=audio 52231 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 192.168.5.60
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3043313387 1 udp 2122260223 192.168.5.60 52231 typ host generation 0 network-id 1
a=candidate:4226202139 1 tcp 1518280447 192.168.5.60 9 typ host tcptype active generation 0 network-id 1
a=ice-ufrag:hE41
a=ice-pwd:/1q0i+QTXOZec+AVkixlno/T
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
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:2880868736 cname:mBX3m2WakaROEyDr
a=ssrc:2880868736 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 99f8e46a-bfa1-4ed0-9ff9-943efc8926db
a=ssrc:2880868736 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2880868736 label:99f8e46a-bfa1-4ed0-9ff9-943efc8926db
m=video 52232 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 123 127 122 125 107 108 109 124
c=IN IP4 192.168.5.60
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3043313387 1 udp 2122260223 192.168.5.60 52232 typ host generation 0 network-id 1
a=candidate:4226202139 1 tcp 1518280447 192.168.5.60 9 typ host tcptype active generation 0 network-id 1
a=ice-ufrag:hE41
a=ice-pwd:/1q0i+QTXOZec+AVkixlno/T
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:10 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=sendrecv
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 H264/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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
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=0;profile-level-id=42001f
a=rtpmap:123 rtx/90000
a=fmtp:123 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=1;profile-level-id=42e01f
a=rtpmap:122 rtx/90000
a=fmtp:122 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=0;profile-level-id=42e01f
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=125
a=rtpmap:108 red/90000
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:124 ulpfec/90000
a=ssrc-group:FID 2895750137 2598986708
a=ssrc:2895750137 cname:mBX3m2WakaROEyDr
a=ssrc:2895750137 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2895750137 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2895750137 label:9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2598986708 cname:mBX3m2WakaROEyDr
a=ssrc:2598986708 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2598986708 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2598986708 label:9f2df3b4-9ed0-461e-9571-e071f205f8d9

<— Transmitting SIP response (449 bytes) to WSS:186.114.161.175:49586 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS 45.79.21.242;rport=49586;received=186.114.161.175;branch=z9hG4bK3417945
Call-ID: joucnnvkm0m30ks7a69c
From: sip:cmp@45.79.21.242;tag=okdi9suik2
To: sip:151@45.79.21.242;tag=z9hG4bK3417945
CSeq: 561 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1545309392/57a9ab2dbcb147bbdf195510d1e0cf11”,opaque=“2aae6931412f5739”,algorithm=md5,qop=“auth”
Server: Asterisk
Content-Length: 0

<— Received SIP request (246 bytes) from WSS:186.114.161.175:49586 —>
ACK sip:151@45.79.21.242 SIP/2.0
Via: SIP/2.0/WSS 45.79.21.242;branch=z9hG4bK3417945
To: sip:151@45.79.21.242;tag=z9hG4bK3417945
From: sip:cmp@45.79.21.242;tag=okdi9suik2
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 561 ACK
Content-Length: 0

<— Received SIP request (5482 bytes) from WSS:186.114.161.175:49586 —>
INVITE sip:151@45.79.21.242 SIP/2.0
Via: SIP/2.0/WSS 45.79.21.242;branch=z9hG4bK8267827
Max-Forwards: 69
To: sip:151@45.79.21.242
From: sip:cmp@45.79.21.242;tag=okdi9suik2
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 562 INVITE
Authorization: Digest algorithm=MD5, username=“cmp”, realm=“asterisk”, nonce=“1545309392/57a9ab2dbcb147bbdf195510d1e0cf11”, uri="sip:151@45.79.21.242", response=“41152998b5d6e49b47d6d935dc20bd9d”, opaque=“2aae6931412f5739”, qop=auth, cnonce=“fqnsrl4ljofv”, nc=00000001
Contact: sip:cmp@45.79.21.242;ob
Content-Type: application/sdp
Session-Expires: 90
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO
Supported: timer,ice,replaces,outbound
User-Agent: JsSIP 3.0.13
Content-Length: 4740

v=0
o=- 3036649244904335868 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
m=audio 52231 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 192.168.5.60
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3043313387 1 udp 2122260223 192.168.5.60 52231 typ host generation 0 network-id 1
a=candidate:4226202139 1 tcp 1518280447 192.168.5.60 9 typ host tcptype active generation 0 network-id 1
a=ice-ufrag:hE41
a=ice-pwd:/1q0i+QTXOZec+AVkixlno/T
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
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:2880868736 cname:mBX3m2WakaROEyDr
a=ssrc:2880868736 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 99f8e46a-bfa1-4ed0-9ff9-943efc8926db
a=ssrc:2880868736 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2880868736 label:99f8e46a-bfa1-4ed0-9ff9-943efc8926db
m=video 52232 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 123 127 122 125 107 108 109 124
c=IN IP4 192.168.5.60
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3043313387 1 udp 2122260223 192.168.5.60 52232 typ host generation 0 network-id 1
a=candidate:4226202139 1 tcp 1518280447 192.168.5.60 9 typ host tcptype active generation 0 network-id 1
a=ice-ufrag:hE41
a=ice-pwd:/1q0i+QTXOZec+AVkixlno/T
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:10 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=sendrecv
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 H264/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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
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=0;profile-level-id=42001f
a=rtpmap:123 rtx/90000
a=fmtp:123 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=1;profile-level-id=42e01f
a=rtpmap:122 rtx/90000
a=fmtp:122 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=0;profile-level-id=42e01f
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=125
a=rtpmap:108 red/90000
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:124 ulpfec/90000
a=ssrc-group:FID 2895750137 2598986708
a=ssrc:2895750137 cname:mBX3m2WakaROEyDr
a=ssrc:2895750137 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2895750137 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2895750137 label:9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2598986708 cname:mBX3m2WakaROEyDr
a=ssrc:2598986708 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2598986708 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2598986708 label:9f2df3b4-9ed0-461e-9571-e071f205f8d9

== Setting global variable ‘SIPDOMAIN’ to ‘45.79.21.242’
<— Transmitting SIP response (277 bytes) to WSS:186.114.161.175:49586 —>
SIP/2.0 100 Trying
Via: SIP/2.0/WSS 45.79.21.242;rport=49586;received=186.114.161.175;branch=z9hG4bK8267827
Call-ID: joucnnvkm0m30ks7a69c
From: sip:cmp@45.79.21.242;tag=okdi9suik2
To: sip:151@45.79.21.242
CSeq: 562 INVITE
Server: Asterisk
Content-Length: 0

== DTLS ECDH initialized (automatic), faster PFS enabled
– Executing [151@externas-pjsip:1] Answer(“PJSIP/cmp-0000001b”, “”) in new stack
> 0x7f2dc00e4100 – Strict RTP learning after remote address set to: 192.168.5.60:52231
> 0x7f2dc0070a80 – Strict RTP learning after remote address set to: 192.168.5.60:52231
<— Transmitting SIP response (2172 bytes) to WSS:186.114.161.175:49586 —>
SIP/2.0 200 OK
Via: SIP/2.0/WSS 45.79.21.242;rport=49586;received=186.114.161.175;branch=z9hG4bK8267827
Call-ID: joucnnvkm0m30ks7a69c
From: sip:cmp@45.79.21.242;tag=okdi9suik2
To: sip:151@45.79.21.242;tag=0d86d909-8e4d-4ece-bd62-4b2072e20040
CSeq: 562 INVITE
Server: Asterisk
Contact: sip:45.79.21.242:8089;transport=ws
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 90;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 1567

v=0
o=- 1039870460 4 IN IP4 45.79.21.242
s=Asterisk
c=IN IP4 45.79.21.242
t=0 0
a=msid-semantic:WMS *
a=group:BUNDLE audio video
m=audio 15880 UDP/TLS/RTP/SAVPF 8 0 126
a=connection:new
a=setup:active
a=fingerprint:SHA-256 5A:CB:DB:A4:42:CD:2E:76:6C:7B:C7:F3:83:48:B2:56:D3:0E:9E:BB:B7:5D:7C:15:7E:65:AD:E5:3E:E8:AA:B8
a=ice-ufrag:1b20f84d2a4671234bcdb42f1d42e780
a=ice-pwd:7ddf3ca34d3bac2e47def1113c00a2f0
a=candidate:H2d4f15f2 1 UDP 2130706431 45.79.21.242 15880 typ host
a=candidate:Hc0a8dab2 1 UDP 2130706431 192.168.218.178 15880 typ host
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
a=rtcp-mux
a=ssrc:700455380 cname:99592c06-5734-4463-9a57-41cff1c8df51
a=msid:0f613d4f-1110-48b9-98b9-f26f48bf3eb2 d7f11808-afd7-4b53-89d9-3bf108557fba
a=mid:audio
m=video 15880 UDP/TLS/RTP/SAVPF 100 96
a=connection:new
a=setup:active
a=fingerprint:SHA-256 5A:CB:DB:A4:42:CD:2E:76:6C:7B:C7:F3:83:48:B2:56:D3:0E:9E:BB:B7:5D:7C:15:7E:65:AD:E5:3E:E8:AA:B8
a=ice-ufrag:1b20f84d2a4671234bcdb42f1d42e780
a=ice-pwd:7ddf3ca34d3bac2e47def1113c00a2f0
a=rtpmap:100 H264/90000
a=fmtp:100 packetization-mode=1;level-asymmetry-allowed=1
a=rtpmap:96 VP8/90000
a=sendrecv
a=rtcp-mux
a=ssrc:1147691001 cname:1f7c914c-f1f5-4d34-8fc8-e8b9be6a434c
a=msid:0f613d4f-1110-48b9-98b9-f26f48bf3eb2 5ee77266-19d4-4e0c-893b-37b186ee346b
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=mid:video

<— Received SIP request (411 bytes) from WSS:186.114.161.175:49586 —>
ACK sip:45.79.21.242:8089;transport=ws SIP/2.0
Via: SIP/2.0/WSS 45.79.21.242;branch=z9hG4bK3800624
Max-Forwards: 69
To: sip:151@45.79.21.242;tag=0d86d909-8e4d-4ece-bd62-4b2072e20040
From: sip:cmp@45.79.21.242;tag=okdi9suik2
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 562 ACK
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO
Supported: outbound
User-Agent: JsSIP 3.0.13
Content-Length: 0

   > 0x7f2dc00e4100 -- Strict RTP learning after remote address set to: 186.114.161.175:52231
   > 0x7f2dc0070a80 -- Strict RTP learning after ICE completion
-- Executing [151@externas-pjsip:2] StreamEcho("PJSIP/cmp-0000001b", "3,video") in new stack

<— Transmitting SIP request (3681 bytes) to WSS:186.114.161.175:49586 —>
INVITE sip:cmp@186.114.161.175:49586;transport=ws;ob SIP/2.0
Via: SIP/2.0/WSS 45.79.21.242:8089;rport;branch=z9hG4bKPj1d332f92-f25e-42f5-9bce-5ac5fc65364e;alias
From: sip:151@45.79.21.242;tag=0d86d909-8e4d-4ece-bd62-4b2072e20040
To: sip:cmp@45.79.21.242;tag=okdi9suik2
Contact: sip:45.79.21.242:8089;transport=ws
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 12729 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 90;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: Asterisk
Content-Type: application/sdp
Content-Length: 2999

v=0
o=- 1039870460 5 IN IP4 45.79.21.242
s=Asterisk
c=IN IP4 45.79.21.242
t=0 0
a=msid-semantic:WMS *
a=group:BUNDLE audio video video-2 video-3
m=audio 15880 UDP/TLS/RTP/SAVPF 8 0 126
a=connection:new
a=setup:actpass
a=fingerprint:SHA-256 5A:CB:DB:A4:42:CD:2E:76:6C:7B:C7:F3:83:48:B2:56:D3:0E:9E:BB:B7:5D:7C:15:7E:65:AD:E5:3E:E8:AA:B8
a=ice-ufrag:1b20f84d2a4671234bcdb42f1d42e780
a=ice-pwd:7ddf3ca34d3bac2e47def1113c00a2f0
a=candidate:H2d4f15f2 1 UDP 2130706431 45.79.21.242 15880 typ host
a=candidate:Hc0a8dab2 1 UDP 2130706431 192.168.218.178 15880 typ host
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
a=rtcp-mux
a=ssrc:700455380 cname:99592c06-5734-4463-9a57-41cff1c8df51
a=msid:0f613d4f-1110-48b9-98b9-f26f48bf3eb2 d7f11808-afd7-4b53-89d9-3bf108557fba
a=mid:audio
m=video 15880 UDP/TLS/RTP/SAVPF 100 96
a=connection:new
a=setup:actpass
a=fingerprint:SHA-256 5A:CB:DB:A4:42:CD:2E:76:6C:7B:C7:F3:83:48:B2:56:D3:0E:9E:BB:B7:5D:7C:15:7E:65:AD:E5:3E:E8:AA:B8
a=ice-ufrag:1b20f84d2a4671234bcdb42f1d42e780
a=ice-pwd:7ddf3ca34d3bac2e47def1113c00a2f0
a=rtpmap:100 H264/90000
a=fmtp:100 packetization-mode=1;level-asymmetry-allowed=1
a=rtpmap:96 VP8/90000
a=sendrecv
a=rtcp-mux
a=ssrc:1147691001 cname:1f7c914c-f1f5-4d34-8fc8-e8b9be6a434c
a=msid:0f613d4f-1110-48b9-98b9-f26f48bf3eb2 5ee77266-19d4-4e0c-893b-37b186ee346b
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=mid:video
m=video 15880 UDP/TLS/RTP/SAVPF 100 96
a=connection:new
a=setup:actpass
a=fingerprint:SHA-256 5A:CB:DB:A4:42:CD:2E:76:6C:7B:C7:F3:83:48:B2:56:D3:0E:9E:BB:B7:5D:7C:15:7E:65:AD:E5:3E:E8:AA:B8
a=ice-ufrag:1b20f84d2a4671234bcdb42f1d42e780
a=ice-pwd:7ddf3ca34d3bac2e47def1113c00a2f0
a=rtpmap:100 H264/90000
a=fmtp:100 packetization-mode=1;level-asymmetry-allowed=1
a=rtpmap:96 VP8/90000
a=sendrecv
a=rtcp-mux
a=ssrc:1857392958 cname:37c80e57-4daf-4fb0-8315-ac43ecd14eaa
a=msid:9dbad4a9-5d0e-44eb-a790-8af6747e93af dc7181c8-f9a0-48fe-9f2f-c18e1a801a62
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=mid:video-2
m=video 15880 UDP/TLS/RTP/SAVPF 100 96
a=connection:new
a=setup:actpass
a=fingerprint:SHA-256 5A:CB:DB:A4:42:CD:2E:76:6C:7B:C7:F3:83:48:B2:56:D3:0E:9E:BB:B7:5D:7C:15:7E:65:AD:E5:3E:E8:AA:B8
a=ice-ufrag:1b20f84d2a4671234bcdb42f1d42e780
a=ice-pwd:7ddf3ca34d3bac2e47def1113c00a2f0
a=rtpmap:100 H264/90000
a=fmtp:100 packetization-mode=1;level-asymmetry-allowed=1
a=rtpmap:96 VP8/90000
a=sendrecv
a=rtcp-mux
a=ssrc:1508248664 cname:f7766997-11db-4724-a244-04c28a70ffab
a=msid:715fa9eb-f79a-4a0e-a994-2824aa2fc93b cbf5cb5f-4bd1-430f-99b0-b9475f1c2788
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=rtcp-fb:* nack
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=mid:video-3

   > 0x7f2dc0070a80 -- Strict RTP switching to RTP target address 186.114.161.175:52231 as source

<— Received SIP response (347 bytes) from WSS:186.114.161.175:49586 —>
SIP/2.0 100 Trying
Via: SIP/2.0/WSS 45.79.21.242:8089;rport;branch=z9hG4bKPj1d332f92-f25e-42f5-9bce-5ac5fc65364e;alias
To: sip:cmp@45.79.21.242;tag=okdi9suik2
From: sip:151@45.79.21.242;tag=0d86d909-8e4d-4ece-bd62-4b2072e20040
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 12729 INVITE
Supported: timer,ice,replaces,outbound
Content-Length: 0

<— Received SIP response (4257 bytes) from WSS:186.114.161.175:49586 —>
SIP/2.0 200 OK
Via: SIP/2.0/WSS 45.79.21.242:8089;rport;branch=z9hG4bKPj1d332f92-f25e-42f5-9bce-5ac5fc65364e;alias
To: sip:cmp@45.79.21.242;tag=okdi9suik2
From: sip:151@45.79.21.242;tag=0d86d909-8e4d-4ece-bd62-4b2072e20040
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 12729 INVITE
Contact: sip:cmp@45.79.21.242;ob
Session-Expires: 90;refresher=uas
Supported: timer,ice,replaces,outbound
Content-Type: application/sdp
Content-Length: 3809

v=0
o=- 3036649244904335868 3 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
m=audio 52231 UDP/TLS/RTP/SAVPF 8 0 126
c=IN IP4 192.168.5.60
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3043313387 1 udp 2122260223 192.168.5.60 52231 typ host generation 0 network-id 1
a=candidate:4226202139 1 tcp 1518280447 192.168.5.60 9 typ host tcptype active generation 0 network-id 1
a=ice-ufrag:hE41
a=ice-pwd:/1q0i+QTXOZec+AVkixlno/T
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:passive
a=mid:audio
a=sendrecv
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:126 telephone-event/8000
a=ssrc:2880868736 cname:mBX3m2WakaROEyDr
a=ssrc:2880868736 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 99f8e46a-bfa1-4ed0-9ff9-943efc8926db
a=ssrc:2880868736 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2880868736 label:99f8e46a-bfa1-4ed0-9ff9-943efc8926db
m=video 52232 UDP/TLS/RTP/SAVPF 100 96
c=IN IP4 192.168.5.60
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3043313387 1 udp 2122260223 192.168.5.60 52232 typ host generation 0 network-id 1
a=candidate:4226202139 1 tcp 1518280447 192.168.5.60 9 typ host tcptype active generation 0 network-id 1
a=ice-ufrag:hE41
a=ice-pwd:/1q0i+QTXOZec+AVkixlno/T
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:passive
a=mid:video
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=ssrc-group:FID 2895750137 2598986708
a=ssrc:2895750137 cname:mBX3m2WakaROEyDr
a=ssrc:2895750137 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2895750137 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2895750137 label:9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2598986708 cname:mBX3m2WakaROEyDr
a=ssrc:2598986708 msid:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi 9f2df3b4-9ed0-461e-9571-e071f205f8d9
a=ssrc:2598986708 mslabel:wZNfLGXpZTKPn6kRODziOYzg7jKcrbIA7ROi
a=ssrc:2598986708 label:9f2df3b4-9ed0-461e-9571-e071f205f8d9
m=video 0 UDP/TLS/RTP/SAVPF 100 96
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:GEcV
a=ice-pwd:8EXni6WWwYV58YgHNXQX/4HS
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:active
a=mid:video-2
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=inactive
a=rtcp-mux
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
m=video 0 UDP/TLS/RTP/SAVPF 100 96
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:H2Zz
a=ice-pwd:LzrZdZ6/QDH5OX+AUFPmYyB+
a=ice-options:trickle
a=fingerprint:sha-256 DD:11:B4:A2:F9:60:EB:D0:43:97:78:9C:2D:E8:68:64:96:13:C3:36:C7:07:3C:A5:12:98:4A:24:6E:5C:26:B1
a=setup:active
a=mid:video-3
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=inactive
a=rtcp-mux
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack

   > 0x7f2dc00e4100 -- Strict RTP learning after remote address set to: 192.168.5.60:52231
   > 0x7f2dc0070a80 -- Strict RTP learning after remote address set to: 192.168.5.60:52231

== DTLS ECDH initialized (automatic), faster PFS enabled
> 0x7f2dc00f8290 – Strict RTP learning after remote address set to: 0.0.0.0:0
== DTLS ECDH initialized (automatic), faster PFS enabled
> 0x7f2dc0144240 – Strict RTP learning after remote address set to: 0.0.0.0:0
<— Transmitting SIP request (389 bytes) to WSS:186.114.161.175:49586 —>
ACK sip:cmp@186.114.161.175:49586;transport=ws;ob SIP/2.0
Via: SIP/2.0/WSS 45.79.21.242:8089;rport;branch=z9hG4bKPj5cc8de46-1f89-4faa-afe3-d46501261663;alias
From: sip:151@45.79.21.242;tag=0d86d909-8e4d-4ece-bd62-4b2072e20040
To: sip:cmp@45.79.21.242;tag=okdi9suik2
Call-ID: joucnnvkm0m30ks7a69c
CSeq: 12729 ACK
Max-Forwards: 70
User-Agent: Asterisk
Content-Length: 0
`


#4

We appear to be attempting to add the additional video streams, and your browser is rejecting them. I’d suggest forcing ‘vp8’ as a codec in case you are running into a limitation with the number of concurrent H.264 encodes/decodes.


#5

Hello,

changing Endpoint configuration:

allow : (alaw|ulaw|vp8)

Not solve.

Thank you

Regards


#6

What browser are you using? Does Echo alone work? Is there anything in the browser Javascript console which may indicate a problem?


#7

Chrome 71 with windows 7 and MacOS. Echo audio work correctly.
In Firefox 64 x MacOS work correctly. The same version on Windows not. I think is a browser problem…
Thank you
Regards