Hello everyone ![]()
I’m facing a persistent issue with FreePBX 17 (Asterisk 20.6.0) running on Debian 12 (fresh install using the official sng_freepbx_debian_install script).
Everything works fine — registration is OK, audio is OK, inbound and outbound calls both work — except that every call gets disconnected exactly after 10 seconds.
🧠 Environment details:
FreePBX 17 (Asterisk 20.6.0)
Debian 12 VM under Unraid
Router: Freebox (France) — SIP ALG disabled
Operator: Keyyo (keyyo.net) SIP trunk
NAT: enabled
Public IP is correctly set in FreePBX SIP settings
RTP ports 10000–10100 forwarded to the PBX VM
PJSIP only (chan_sip disabled)
RTP Keepalive: 20
Outbound Proxy: sip:keyyo.net:5060;lr
Registration OK (Registered (server 'sip:keyyo.net:5060'))
Problem description:
-
I can call out from my SIP phone to a mobile (06)
-
Audio works both ways for ~10 seconds
-
Then the mobile side hangs up automatically, while the SIP phone still stays “in call” for a few seconds before dropping
-
If I call the SIP line from the mobile, the same happens in reverse (call drops at 10s)
Log snippet (pjsip set logger on):
<— Received SIP request (BYE) from ‘sip:keyyo.net:5060’ —>
BYE sip:[email protected]:5060 SIP/2.0
Reason: SIP;cause=200;text=“Call completed elsewhere”
Asterisk seems to receive a BYE from Keyyo after 10s, possibly due to a missing or misrouted ACK.
I have also noticed in the logs that the ACK or RTP path may not always follow the same route as the INVITE.
Tried so far:
Disabled SIP ALG on my Freebox
Set NAT external address (public IP) and local networks
Forwarded UDP 5060 and 10000–10100
Added outbound proxy sip:keyyo.net:5060;lr
Tried “Direct Media = No”
Restarted Asterisk multiple times
Recreated the trunk from scratch
🧩 PJSIP trunk configuration summary:
Username: id_sip
SIP Server: keyyo.net
From User: id_sip
From Domain: keyyo.net
Outbound Proxy: sip:keyyo.net:5060;lr
Context: from-trunk
Qualify Frequency: 60
Support Path: Yes
RTP Keepalive: 20
Direct Media: No
I don’t understand what could be causing this kind of problem because I tested version 15 of FreePBX and I didn’t have this issue. ![]()