FREEPBX as a SIP Bridge

I have a little situation that I’m trying to figure out. Currently we are using an outside provider for our SIP phones, but will soon be switching to Comcast Fiber and getting their SIP Service. Our current provider is using FreePBX 16, Twilio as the Trunk.

I have built up our new FreePBX 17 system with all the endpoints re-created. Is there a way that I can change the current providers FreePBX instance to just act as a bridge between the two? I have full admin access to the service providers instance.

So, what I’m looking for is that if a call comes in from any of our DIDs with them, it gets passed to our local instance, and any outgoing calls go through the current providers instance.

TWILIO ↔ SP FreePBX ↔ Local FreePBX

Doing this will ease the transition when Comcast takes over our DIDs and sends them directly to our local PBX instance, and will free up our limited internet bandwidth for calls within the business.

We own the phones, and I have full configuration capabilities on them also. They are Grandstream GXP-5135s and I manage them on https://gdms.cloud so changing the server they talk to is very quick.

I would just create a trunk in the providers FreePBX and register your FreePBX to it.

Change the providers inbound route to take all numbers and route them to the trunk to your local FreePBX.

Create and inbound route in the providers FreePBX to take anything from the local FreePBX and send it out the twilio trunk

Create an inbound route in the local FreePBX to ring what you want. Also create the outbound route in your local FreePBX to send calls to the providers FreePBX.

This is just a quick run through and guess while I am on my phone and I am just doing a quick pass at it but I think it should be doable without much trouble.

I think the best route would be just to create the twilio trunk on your local FreePBX and skip the middle man though.

1 Like