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
dial-peer voice 20 pots
description Outbound Dial Peer
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.
One thought on “Hair-pinning Or redirecting a call from Gateway”
is there any possibility to redirect one VOIP dialpeer traffic to other VOIP dialpeer from the same gateway.
PSTN–>POTS dial-peer–>VOIP Dailpeer( to mentioned IP) here it should be directed to other VOIP dialpeer on the same Gateway with different Session target than first one ??