ISP to Trixbox to Adtran 900 series Inbound Routing Help

agamar
Posts: 20
Member Since:
2007-09-24

I need to know how to route incoming DID numbers to a SIP-Trunked Adtran. The "Inbound Routes" section of the trixbox FreePBX will not allow me to just point the numbers into the trunk. I have set the trunk up between the adtran and can get outbound calling fine.

I would also like to know how I can do this with another Trixbox. I already have another one setup with AIX trunking and can call to each other and call out just fine.

Background:
I have the trixbox connected to a fat 10M fiber loop. I also have a digium TE207P card installed. I want to bring my phone service into the PRI, and then provide trunks to my PBX's in remote offices via an Adtran 904. I do not need the ability to make inter-office calls from the remote PBX's.

Here is what it looks like:

Voice Provider Trixbox Adtran PBX

MANY THANKS in advance to anyone that can help me!!



SkykingOH
Posts: 9677
Member Since:
2007-12-17
Why can't you set the

Why can't you set the inbound peer as IP only?

Something like this should work:

disallow=all
allow=ulaw
host=10.1.1.222 ; Adtran address goes here
type=friend
insecure=very
dtmf=inband 
--

Scott

aka "Skyking"



agamar
Posts: 20
Member Since:
2007-09-24
I already have the trunk

I already have the trunk setup as IP only, but how do I route the DID that is coming into the digium TE207P into the Adtran at the remote PBX using the SIP trunk between the two? I would like to have just the single trunk with the 20 or so DID numbers routed directly to it.



SkykingOH
Posts: 9677
Member Since:
2007-12-17
I thought the calls where

I thought the calls where originating from the Adtran.

If the DID's are in sequence you can write a simple custom extension (in extensions_custom.conf) that forwards the call out the SIP trunk to the Adtran for the DID range.

You can place the inbound trunk with the DID's in that context then jump back to from-trunk with a goto statement.

Or you can build 20 extensions with a custom extension type and use SIP/Adtran trunk/xxxxx as the dial string.

--

Scott

aka "Skyking"



agamar
Posts: 20
Member Since:
2007-09-24
I haven't tried to create a

I haven't tried to create a custom extension before. I have only just now started really digging into the .conf files (except for the half-dozen or so I had to edit to get it set up). Is there an example of this I could look at. I am tried searching for it but I am getting more noise than signal : )

Say I had a DID of 111-222-3333 - 3353, how would I do this from FreePBX? I am sorry to ask so many questions, but I only have weekends to work on this, and it seems that I am almost there if I can just get this to work : )



SkykingOH
Posts: 9677
Member Since:
2007-12-17
Download a copy of

Download a copy of "Asterisk, The future of Technology" it is the definitive reference for Asterisk.

--

Scott

aka "Skyking"



Comment viewing options

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