I have a freepbx, PBX1, on a physical server with a PRI E1 card with 15 channels.
I’m setting up a new freepbx, PBX2, on a VM with SIP trunks which shall replace the previous server.
I want PBX1 to act as a gateway (until I get rid of the digital lines) and have inbound calls passed from the server with card to the VM server; PBX1 to PBX2.
I also want to be able to make some outbound calls from PBX2 to PBX1 to E1.
I don’t need extension on PBX1. I migrated all extensions (to user and devices actually. I think it does not matter) to PBX2 already. Internal calls in PBX2 work ok.
I think I have a working setup with a “asymetrical” IAX trunk.
What I mean by asymetrical is that
trunk on PBX1 is set in context: from-digital
while on PBX2 it’s in context: from-internal
Is this incorrect or not ?
I’m no expert and I have found everywhere only setups where context is identical on both servers.
I think it operates the way I want:
inbound from digital is passed as is to PBX2
outbound from PBX2 is passed to PBX1 and follows outbound routes.
Am I missing some important things ?
Is there a simpler way ?