Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

translation rule

my company 65XX switch having this config

translation-rule 1

RULE 1 ^...4

DIAL-PEER VOICE 4001 VOIP

preference 1

destination-pattern [0-2,5-9]..$

translate-outgoing called 1

session target ipv4:10.10.10.1

incoming called-number .T

DIAL-PEER VOICE 4001 VOIP

preference 2

destination-pattern [0-2,5-9]..$

translate-outgoing called 1

session target ipv4:10.10.10.2

incoming called-number .T

dial-peer voice 8000 pots

destination-pattern .T

incoming called number [34]..$

no digit-strip

direct-inward-dial

port 1/0:15

forward-digits all

is there anyone can give me some explanations for this ,what will happening somebody calls to the company,and somebody calls outside company

national number:8 digits

internal numbering:4 digits

ccm1 =10.10.10.1

ccm2 =10.10.10.2

thanks in advance

tom

  • IP Telephony
3 REPLIES
New Member

Re: translation rule

please urgent please ???

New Member

Re: translation rule

It looks like the translation rule just takes whatever the outgoing numbers end in a 4 and does something, but I can't tell....

It looks like some of the command is missing.

The easiest way to see what this rule does is to just use this command:

test voice translation rule

and plug in a digit string, then it will give you the output digit string of what it looks like is applied by the rule.

the destination-pattern statement is telling the switch for any calls to a destination with

the following:

1st number - between 0 and 2

2nd number - between 5 and 9

3rd number - anything x

4th number - anything x

Example:

05xx, 06xx, 07xx, 08xx, 09xx

15xx, 16xx, 17xx, 18xx, 19xx

25xx, 26xx, 27xx, 28xx, 29xx

send to your CallManagers, with the primary 1, processing to that server first and the primary 2 going to that server second.

As far as the pots Dial peer goes, it looks like it ONLY ALLOWS 4-digit DIDs in the range of:

3xxx to 4xxx to dial out to the PSTN.

post a more completed config and i could give you some more detail.

Regards,

New Member

Re: translation rule

please find the cofig attached here

246
Views
0
Helpful
3
Replies
This widget could not be displayed.