Hair-pinning Or redirecting a call from Gateway

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.

Advertisement

One thought on “Hair-pinning Or redirecting a call from Gateway

  1. is there any possibility to redirect one VOIP dialpeer traffic to other VOIP dialpeer from the same gateway.

    like

    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 ??

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: