PBX setup: registering two SIP trunks
Contents
Email to VeVoIP
This email provides an overview of the issues I encountered in setting up two trunks as SIP peers to the same provider. It provides background to the solution detailed below.
Here’s an interesting little problem, and I’m wondering if you have any insights to offer.
I have two DIDs with VeVoIP, peered to two different peers. For ease of administration at my end, I set up both peers on my FreePBX system as PJSIP trunks.
Now I suspect I could actually route both DIDs to the same peer and in Asterisk use the inbound DID to route the call to the correct phone. However, I want outbound calls to show the correct CID based on the nature of the call, and as far as I know the only way to do that is by setting up CID and CNAM information on the VeVoIP peer. And to do that I need to set up the peer as a trunk in FreePBX and use Outbound Routes to send a call to the apporpriate trunk.
Read more (20 paragraphs) …