Route Incoming to Different Trunk

downtown
Posts: 5
Member Since:
2008-08-19

I have the following configured, using trixbox and asterisk as indicated. both are current versions.

All works fine. Trixbox A can dial 3XX extensions, and outbound via Provider. Asterisk B box can dial extensions 2XX and dial outbound via Provider over 2 hops. The only question I have is: how can I route incoming calls on trixbox A with a particular DID directly to Asterisk B? Put another way, is it possible to have an incoming route whos destination is a trunk?

Thanks in advance.

+-----------+
| Provider  |
|           |
+-----------+
      ^
      |
     IAX
      |
      V
+-----------+
| Trixbox A |
|    2XX    |
+-----------+
      ^
      |
     IAX
      |
      V
+------------+
| Asterisk B |
|    3XX     |
+------------+


SkykingOH
Posts: 9678
Member Since:
2007-12-17
You have to make a extension

You have to make a extension with the type of custom. In the dial field enter 'iax2/trunkname/DIDnumber_or_extension

If the trunk is in the from-internal context on Asterisk B use the extension number, if from-trunk use the DID and then a regular inbound route on Asterisk B

--

Scott

aka "Skyking"



downtown
Posts: 5
Member Since:
2008-08-19
Helpful, thanks. I will

Helpful, thanks. I will post again when i have had a chance to test.



Comment viewing options

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