I’m veering into this being an ICE candidate gathering issues while on VPN.
If I use the Trickle ICE testing site off VPN it takes less than a second to gather ICE Candidates. If I’m on my VPN it takes 12-30 seconds.
The really weird thing is that the issue with the delay in calls is intermittent. The delay only happens when I call certain number. My cell phone connects instantly, a call to the number in the log above causes a 15 second delay.
The only thing I have come up with so far is that the VPN is causing the delay. I’m just not sure why.
I’ll give this a try. If I understand what is needed here it is the internal IP of the FreePBX server in the first box, and my external IP in the second box, correct?
I think that would mean the traffic has to go through he vpn and then out your vpn edge. But the IP on the host is a local IP and that likely is breaking ice. Try routing your phone traffic outside the vpn profile.
Does anyone know of a way to reduce the amount of time for the ICE candidate gathering timeout? I eliminated the VPN from my testing, and am still getting a 15 second delay on calls to specific numbers.
Since I can successfully make calls without the delay in most cases I’m stumped why these few numbers are getting a delay.
I ended up paying Sangoma for support, and after a week of troubleshooting with their techs and sending numerous logs and pcaps I still have 15 seconds of audio delay on specific outgoing calls.