I have a 2620 connected to a Merlin Magix via a T-1. All incoming DID calls are routed from the magix to the router and then over a frame relay link to another location. I was wondering if it would be possible to configure a dial peer to route calls back thru the Magix and out to the PSTN. The telephone number would need to be changed to an international number. This would be helpfull in case the frame relay link was down
Thanks for your response. Let me see if I understand. I want to delete the 4 digits sent by the router and replace them with a international telephone number. Here is what my translation and config would look like. The ^4 makes it look for the first 4 sigits correct? in this case what would I enter in the POTs command as I already have a destination pattern that matches a connection trunk.
What im assuming is that the call is coming from the PBX and if the frame relay link is down you want to send it back to the PBX.
What you want to do is make a translation rule which would change the number to an international number. The way the translation rule works is the first pattern is the match pattern and the second pattern is the replacement pattern.
rule 1 ^4 1804011528500180060,,,123456
This will match any number that starts with 4 and replace the 4 with the match pattern
for example 478900000 will become
Im not sure this is what you want to do. Please look at creating translation patterns from this link :
You would have to apply the translation rule on your pots dial peer as well.
ALternately, if you have control over the remote router, you can configure the AVBO feature which allows you to configure probes on the router and those probes keep checking the link. If the link goes down then the router knows to route the calls back out on the PSTN. More details can be found here.