Hello, I’m using asterisk 16 and I’m having trouble to hear audio when it comes to (external ip) with Wss connection
This is my http show status
HTTP Server Status:
Prefix:
Server: Asterisk/16.7.0
Server Enabled and Bound to 0.0.0.0:8088
HTTPS Server Enabled and Bound to 0.0.0.0:8089
Enabled URI’s:
/httpstatus => Asterisk HTTP General Status
/phoneprov/… => Asterisk HTTP Phone Provisioning Tool
/amanager => HTML Manager Event Interface w/Digest authentication
/arawman => Raw HTTP Manager Event Interface w/Digest authentication
/manager => HTML Manager Event Interface
/rawman => Raw HTTP Manager Event Interface
/static/… => Asterisk HTTP Static Delivery
/amxml => XML Manager Event Interface w/Digest authentication
/mxml => XML Manager Event Interface
/ari/… => Asterisk RESTful API
/ws => Asterisk HTTP WebSocket
When a number is Called the CLI show this:
== DTLS ECDH initialized (automatic), faster PFS enabled
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
It doesnt show any error
And
It’s the debug log from SIP.js (implementing WebRtc into a REACT app)
Mon Nov 22 2021 16:42:31 GMT-0300 (Horário Padrão de Brasília) | sip.Transport | Sending WebSocket message:
INVITE sip:xxxx:5062 SIP/2.0
Via: SIP/2.0/WSS nelhg2dfgb43.invalid;branch=z9hG4bK6423782
To: sip:xxxxx:5062
From: sip:xxxxx:5062;tag=jc8pedtq5m
CSeq: 1 INVITE
Call-ID: ac59biq2v6nrj9ieqpr6
Max-Forwards: 70
Contact: <xxxxxxxxxxxxx;transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound
User-Agent: SIP.js/0.20.0
Content-Type: application/sdp
Content-Length: 1330
v=0
o=mozilla…THIS_IS_SDPARTA-95.0 1379861046443496972 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 FC:FC:78:D9:ED:B6:83:C1:9B:1C:71:E6:57:3F:E1:77:1A:47:29:83:73:5A:BF:10:57:75:F3:D7:23:70:EF:04
a=group:BUNDLE 0
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 55029 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 192.168.56.1
a=candidate:0 1 TCP 2105524479 192.168.56.1 9 typ host tcptype active
a=candidate:1 1 TCP 2105458943 10.10.0.109 9 typ host tcptype active
a=candidate:0 2 TCP 2105524478 192.168.56.1 9 typ host tcptype active
a=candidate:1 2 TCP 2105458942 10.10.0.109 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:bc527a3394e1baa3867e65201e188556
a=ice-ufrag:cdced4d6
a=mid:0
a=msid:{e8762781-32d0-43f3-9909-3931e56eb89e} {2ed6eeb9-a675-403d-b4b0-4ca637079ede}
a=rtcp:56682 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:1756142048 cname:{48422808-fcff-4771-a72f-61fe0d7c72d3}
But no audio on both sides