I’m hoping that someone can help me with some configuration issues surrounding getting a dial plan going that will allow me to interconnect my Asterisk system with my XO Communications hardware as well as my legacy Comdial system. Right now, the XO and Comdial systems are linked via 2 x T1 interfaces. Due to issues XO has with the fact that I’m not using a “Supported” PBX, they won’t allow me to SIP trunk, so my fall-back solution is to link the XO system to my Asterisk system via 2 x T1 lines, and then 2 x T1 lines between the Comdial system and the Asterisk system. I’ve ordered a quad-port T1 card with echo cancellation that I’m planning on using for this purpose.
However, in order to make sure things will work correctly, I need to set up routes such that DIDs that come into the Asterisk system from XO will get routed locally if the local extensions exist, otherwise they’ll get pushed on to the Comdial system. Can someone help me with this? It seems like you can do just about anything routing-wise in Asterisk, so I’m confident it can be done, just need to know the best way to do this. Basically, I need to look at DIDs coming in on the two T1s from XO, search the local system, and then, if the DID/extension is not found, route it back out one of the other T1s over to the Comdial system.
Thanks!
-Nick