Asterisk version: 18.20.1
Hello,
I’m developing my own system (web interface) where the browser connects to the server via websocket on port 443 (nginx - /ws endpoint) to an extension in the Asterisk (extension transport is wss).
nginx is making a reverse proxy to port 8867, where I have the mini HTTP server of the Asterisk listening with the /ws endpoint.
The server has a proxied sub domain record on Cloudflare.
The issue that I’m having is that only sometimes I have audio when making a call with this setup..
Log from a call with no audio:
0x7f57e40383c0 – Strict RTP learning after remote address set to: 31.31.31.31:56623
– Channel PJSIP/OUT-Kamailio-00000003 joined ‘simple_bridge’ basic-bridge <76ab4f80-87e7-4f3b-a930-98d0cc771b05>
– Channel PJSIP/899-00000002 joined ‘simple_bridge’ basic-bridge <76ab4f80-87e7-4f3b-a930-98d0cc771b05>
0x7f57e40383c0 – Strict RTP learning after ICE completion
0x7f57e40383c0 – Strict RTP learning after remote address set to: 222.222.222.222:56623
[2026-03-30 15:00:13] WARNING[431778][C-00000002]: res_rtp_asterisk.c:3230 __rtp_recvfrom: 1774882810.2: DTLS packet from 222.222.222.222:56623 dropped. Source not in ICE active candidate list.
[2026-03-30 15:00:14] WARNING[431778][C-00000002]: res_rtp_asterisk.c:3230 __rtp_recvfrom: 1774882810.2: DTLS packet from 222.222.222.222:56623 dropped. Source not in ICE active candidate list.
[2026-03-30 15:00:15] WARNING[431778][C-00000002]: res_rtp_asterisk.c:3230 __rtp_recvfrom: 1774882810.2: DTLS packet from 222.222.222.222:56623 dropped. Source not in ICE active candidate list.
[2026-03-30 15:00:16] WARNING[431778][C-00000002]: res_rtp_asterisk.c:3230 __rtp_recvfrom: 1774882810.2: DTLS packet from 222.222.222.222:56623 dropped. Source not in ICE active candidate list.
0x7f57e40872f0 – Strict RTP learning complete - Locking on source address 111.111.111.111:21538
Any ideas?
Thank you