My FreePBX dropped it’s calls after 30 seconds, both inbound as outbound. I was able to fix the inbound calls by setting the correct local networks in SIP settings => NAT settings, but I’m struggling with the outbound calls. I have checked another FreePBX and applied the same settings, but without result.
I have set “RTP Timeout” and “RTP Hold Timeout” to 3600, now the calls seem to last longer than 30 seconds. I guess the RTP Timeout (which was set to 30) caused this issue. Hoping the outbound calls won’t be longer than 1 hour, this solved the problem I was having. If someone has a more durable solution, I’m open for suggestions. I have also mailed my provider for suggestions on this topic.
If the audio is working (for the first 30 seconds), then the problem is unrelated to RTP.
Determine from the log whether the extension or the trunk is being dropped, and why. If it’s not clear, post a link to a paste of the log, including a SIP trace (mask credentials and other personal details as desired).