I have been beating my head against the wall on this one for a number of days now. I have recently moved onto Starlink for my ISP and as a result I am behind Carrier Grade NAT, which means no public IP and no forwarding option for RTP streams. I am trying to find a solution to allow my flowroute trunk audio to pass in this situation.
Currently freepbx seems to place my Starlink IP as the address, and as such the traffic just ends up being blocked. Calls outbound and inbound go through, and I can see the link data show up in the asterisk server and in the logs on FreePBX, it’s just the RTP stream and all the audio that is missing. No audio either direction right now. I would post a pastebin with the logs but I guess I can’t add links as a new user…
Current PBX Version:
Here is what I have tried so far:
Internal network settings are configured to allow RTP traffic to forward to my pbx (not that this matters much with CGNAT). I have also disabled the SIP ALG and H323 ALG in my UNIFI network.
I tested using OpenRelay as a media TURN & STUN server, but these settings haven’t changed the RTP routing at all. Call connection continues to use the Starlink IP. Perhaps I missed something?
I have tried cloudflare tunnels to put a FQDN on my PBX, but as it just resolves to a cloudflare IP and doesn’t carry any special header to route to me, thus, I get the same issue as I have on Starlink.
I opened a ticket with FlowRoute, but they weren’t much help other than letting me know I was pointing at the wrong IP and needed NAT settings.
FlowRoute does not offer IAX trunks, but I am wondering if that is the route I should take, or is there an easy way to setup a relay server for the RTP traffic? I have looked into doing a VPS with pfsense and wireguard as well as a commercial VPN with public static IP… Not sure which path to take.
What is the best way to get the audio stream, and are there any guides or tips to the configuration since I have been scouring the web and cannot find anything that matches exactly to what I am trying to do.
Any help will be greatly appreciated!!!