Routing DIDs to IAX2 Trunks

battleop
Posts: 9
Member Since:
2008-09-02

I have a couple of remote Trixboxes connected to a Trixbox with a T1 card. I have setup some IAX2 trunks between the remote Trixbox(B) and the local Trixbox(A) which has the T1 card. My problem is that I can't figure out how to route a DID call from the PSTN to Trixbox B. From a phone registered to Trixbox A I can call the DID that is on Trixbox B. How can you route a DID to a Trunk?



SkykingOH
Posts: 9678
Member Since:
2007-12-17
You have to create a custom

You have to create a custom extension then route the DID to that extension

  1. Create extension type custom
  2. In dial string specify /IAX2/Your_Trunk_Name/Remote_Extension_Number
  3. Set Inbound Route for the DID to the extension created in step 1
--

Scott

aka "Skyking"



battleop
Posts: 9
Member Since:
2008-09-02
Thanks That worked but I had

Thanks That worked but I had to remove the leading / from /IAX2/Your_Trunk_Name/Remote_Extension_Number.

Richey



SkykingOH
Posts: 9678
Member Since:
2007-12-17
sorry for the typo, old age.

sorry for the typo, old age.

--

Scott

aka "Skyking"



battleop
Posts: 9
Member Since:
2008-09-02
I've got this working with

I've got this working with the exception of caller ID. In the far end PBX the caller ID now shows up as the trunk's DID and not the incoming caller ID. Any idea on how to get the first trixbox to pass the caller id along to the second one?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.