cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2093
Views
0
Helpful
1
Replies

Translate a Called number depending on a Incoming Calling Number in a H.323 router

mariocscunha
Level 1
Level 1

Have a H.323 router with E1 R2 Digital PSTN Trunks. Need to change the called number, that is, change the called number of the incoming call based on the calling information. In other words need to selectively forward the incoming call to a different destination if that is from an specific person.

1 Reply 1

You can create a specific dial-peer which will match the incoming calling number (ANI). Under this DP you can configure a voice translation rule to change the called number.

Something like this:

dial-peer voice 1012 voip

description INCOMING CALLING with prefix 290

translation-profile incoming XLATE_B_NUM

answer-address 290

modem passthrough nse codec g711alaw

codec g711alaw

no vad

voice translation-profile XLATE_B_NUM

translate called 15

voice translation-rule 15

rule 1 /^\([0-9]\)/ /2299\1/

All incoming calls with a calling number 290xxx use the DP 1012.

The DP 1012 doesn't route the call but simply adds the prefix 2299 to the called number.

A second dial-peer uses the called number 2299xxx to route the call.

Regards.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: