Archive for January, 2012

There are times when you would like to forward a call coming into your gateway out to PSTN before it goes to Call manager. Reason could be WAN outage to Call managers or Call manager down situation.

This is how you can route out an incoming call out of the gateway.

Let suppose the mainline number coming into the gateway is ‘881456’. The following setup will route the call out of the gateway to PSTN.

voice translation-rule 10
rule 1 /881456/ /901139886666/
!
voice translation-profile RedirectPSTN
translate called 10
!
dial-peer voice 10 pots
description Incoming Dial Peer
translation-profile incoming RedirectPSTN
incoming called-number 881456
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 20 pots
description Outbound Dial Peer
destination-pattern 9T
port 0/0/0:15
!

Call comes in and match incoming-called number dialpeer 10 and then it will match the incoming translation profile. The translation profile will translate the number to another PSTN number with prefix ‘9’. This will match dialpeer 20 and will send the call out to PSTN.