Есть астериск 13.18.0-rc2(также пробовал 13.17.2), установлены сертификаты от центра сертификации, SRTP работает - звоню софтфоном: sip show channel XXX - SRTP активно, module show like srtp показывает SRTP модуль задействован,голос есть.
Подключаю SIPML5 по wss, регистрируется, звонок идет, голоса нет, module show like srtp показывает что модуль не задействован, ловлю пакеты на тачке с браузером вайершарком - пакеты приходят.
Браузер за натом, ICE\STUN включены.
Собственно вопроса два:
Должен ли быть задействован модуль SRTP при звонке через SIPML5 ?
Как узнать порт на котором слушает браузер, может поток идет не туда ?
пакеты приходят от 212.227.202.219:19440 на 192.168.2.4:63445 (внешний ип 94.233.225.248 )
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
SEND: INVITE sip:200@reseau.baysim.online SIP/2.0
Via: SIP/2.0/WSS df7jal23ls0d.invalid;branch=z9hG4bKLtbObbAcgA3XdnlWzwKPZTXAP2bVgUM3;rport
From: "sipml5"<sip:sipml5@reseau.baysim.online>;tag=ibZ5LWN4fbvbg6Vg6p2y
To: <sip:200@reseau.baysim.online>
Contact: "sipml5"<sips:sipml5@df7jal23ls0d.invalid;rtcweb-breaker=yes;click2call=no;transport=wss>;impi=sipml5;ha1=fa0d802be59188a8b29b2e6a4c2a3fc3;+g.oma.sip-im;language="en,fr"
Call-ID: dc9d5362-2aff-7f79-e999-05bbf9340bb5
CSeq: 20555 INVITE
Content-Type: application/sdp
Content-Length: 2759
Route: <sip:reseau.baysim.online:5060;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
Authorization: Digest username="sipml5",realm="asterisk",nonce="54cd680c",uri="sip:200@reseau.baysim.online",response="849971b4990542f45c34809022eb0828",algorithm=MD5
User-Agent: IM-client/OMA1.0 sipML5-v1.2016.03.04
Organization: Doubango Telecom
v=0
o=- 8614843383815967000 2 IN IP4 127.0.0.1
s=Doubango Telecom - chrome
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS 3WbHYNupQ2fwscv20oTMkWwKylEClZPQZckI
m=audio 58246 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 94.233.225.248
a=rtcp:58247 IN IP4 94.233.225.248
a=candidate:1807062054 1 udp 2122260223 192.168.196.1 63443 typ host generation 0 network-id 1
a=candidate:4214507315 1 udp 2122194687 192.168.149.1 63444 typ host generation 0 network-id 2
a=candidate:851307166 1 udp 2122129151 192.168.2.4 63445 typ host generation 0 network-id 3
a=candidate:1807062054 2 udp 2122260222 192.168.196.1 63446 typ host generation 0 network-id 1
a=candidate:4214507315 2 udp 2122194686 192.168.149.1 63447 typ host generation 0 network-id 2
a=candidate:851307166 2 udp 2122129150 192.168.2.4 63448 typ host generation 0 network-id 3
a=candidate:2615305547 1 udp 1685921535 94.233.225.248 58246 typ srflx raddr 192.168.2.4 rport 63445 generation 0 network-id 3
a=candidate:2615305547 2 udp 1685921534 94.233.225.248 58247 typ srflx raddr 192.168.2.4 rport 63448 generation 0 network-id 3
a=candidate:624322774 1 tcp 1518280447 192.168.196.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:3048717251 1 tcp 1518214911 192.168.149.1 9 typ host tcptype active generation 0 network-id 2
a=candidate:2084443758 1 tcp 1518149375 192.168.2.4 9 typ host tcptype active generation 0 network-id 3
a=candidate:624322774 2 tcp 1518280446 192.168.196.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:3048717251 2 tcp 1518214910 192.168.149.1 9 typ host tcptype active generation 0 network-id 2
a=candidate:2084443758 2 tcp 1518149374 192.168.2.4 9 typ host tcptype active generation 0 network-id 3
a=ice-ufrag:xivH
a=ice-pwd:vALdeuiHYUmm47Kwumh5v5sJ
a=ice-options:trickle
a=fingerprint:sha-256 EB:83:FB:65:21:B4:B1:6A:78:A3:8B:10:7E:39:19:E1:AA:8F:78:74:80:11:F5:31:9B:6F:9A:D3:F3:BA:7D:C7
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:3145563094 cname:aMyDcyls6k0EXzls
a=ssrc:3145563094 msid:3WbHYNupQ2fwscv20oTMkWwKylEClZPQZckI fd4603d9-6711-4550-8ec3-294bdb0d7c5b
a=ssrc:3145563094 mslabel:3WbHYNupQ2fwscv20oTMkWwKylEClZPQZckI
a=ssrc:3145563094 label:fd4603d9-6711-4550-8ec3-294bdb0d7c5b
Via: SIP/2.0/WSS df7jal23ls0d.invalid;branch=z9hG4bKLtbObbAcgA3XdnlWzwKPZTXAP2bVgUM3;rport
From: "sipml5"<sip:sipml5@reseau.baysim.online>;tag=ibZ5LWN4fbvbg6Vg6p2y
To: <sip:200@reseau.baysim.online>
Contact: "sipml5"<sips:sipml5@df7jal23ls0d.invalid;rtcweb-breaker=yes;click2call=no;transport=wss>;impi=sipml5;ha1=fa0d802be59188a8b29b2e6a4c2a3fc3;+g.oma.sip-im;language="en,fr"
Call-ID: dc9d5362-2aff-7f79-e999-05bbf9340bb5
CSeq: 20555 INVITE
Content-Type: application/sdp
Content-Length: 2759
Route: <sip:reseau.baysim.online:5060;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
Authorization: Digest username="sipml5",realm="asterisk",nonce="54cd680c",uri="sip:200@reseau.baysim.online",response="849971b4990542f45c34809022eb0828",algorithm=MD5
User-Agent: IM-client/OMA1.0 sipML5-v1.2016.03.04
Organization: Doubango Telecom
v=0
o=- 8614843383815967000 2 IN IP4 127.0.0.1
s=Doubango Telecom - chrome
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS 3WbHYNupQ2fwscv20oTMkWwKylEClZPQZckI
m=audio 58246 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 94.233.225.248
a=rtcp:58247 IN IP4 94.233.225.248
a=candidate:1807062054 1 udp 2122260223 192.168.196.1 63443 typ host generation 0 network-id 1
a=candidate:4214507315 1 udp 2122194687 192.168.149.1 63444 typ host generation 0 network-id 2
a=candidate:851307166 1 udp 2122129151 192.168.2.4 63445 typ host generation 0 network-id 3
a=candidate:1807062054 2 udp 2122260222 192.168.196.1 63446 typ host generation 0 network-id 1
a=candidate:4214507315 2 udp 2122194686 192.168.149.1 63447 typ host generation 0 network-id 2
a=candidate:851307166 2 udp 2122129150 192.168.2.4 63448 typ host generation 0 network-id 3
a=candidate:2615305547 1 udp 1685921535 94.233.225.248 58246 typ srflx raddr 192.168.2.4 rport 63445 generation 0 network-id 3
a=candidate:2615305547 2 udp 1685921534 94.233.225.248 58247 typ srflx raddr 192.168.2.4 rport 63448 generation 0 network-id 3
a=candidate:624322774 1 tcp 1518280447 192.168.196.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:3048717251 1 tcp 1518214911 192.168.149.1 9 typ host tcptype active generation 0 network-id 2
a=candidate:2084443758 1 tcp 1518149375 192.168.2.4 9 typ host tcptype active generation 0 network-id 3
a=candidate:624322774 2 tcp 1518280446 192.168.196.1 9 typ host tcptype active generation 0 network-id 1
a=candidate:3048717251 2 tcp 1518214910 192.168.149.1 9 typ host tcptype active generation 0 network-id 2
a=candidate:2084443758 2 tcp 1518149374 192.168.2.4 9 typ host tcptype active generation 0 network-id 3
a=ice-ufrag:xivH
a=ice-pwd:vALdeuiHYUmm47Kwumh5v5sJ
a=ice-options:trickle
a=fingerprint:sha-256 EB:83:FB:65:21:B4:B1:6A:78:A3:8B:10:7E:39:19:E1:AA:8F:78:74:80:11:F5:31:9B:6F:9A:D3:F3:BA:7D:C7
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:3145563094 cname:aMyDcyls6k0EXzls
a=ssrc:3145563094 msid:3WbHYNupQ2fwscv20oTMkWwKylEClZPQZckI fd4603d9-6711-4550-8ec3-294bdb0d7c5b
a=ssrc:3145563094 mslabel:3WbHYNupQ2fwscv20oTMkWwKylEClZPQZckI
a=ssrc:3145563094 label:fd4603d9-6711-4550-8ec3-294bdb0d7c5b