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. And see here for current known issues.

New Member

translation-rule

Hi Pro.

i have a CME router.

the number we are receiving in directory without 00 in front and the user cannot dial from directory.

i have to create translation rule incoming,so that it changes all the incoming international number with 00 in front.

thxx

8 REPLIES
Cisco Employee

Re: translation-rule

it's a little tricky since you never know how many digits you're going to receive but you can try something like this:

voice translation-rule 1

rule 1 /\(^.......$\)/ /\1/

rule 2 /\(^..........$\)/ /\1/

rule 3 /\(^.*\)/ /00\1/

voice translation-profile profile1

translate calling 1

dial-peer voice 10 pots

translation-profile incoming profile1

incoming called number .

7 & 10 digit incoming will match rule 1 or 2 and anything else will match the last rule which will add the 00 in front of the received digits

HTH

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
New Member

Re: translation-rule

Thxx for reply..

We have 8 digits dialing inside the country and we dont have codes for cities. I want translation rule for international and i dont wanna change anything with the local numbers. Also we are not using 9 to dial outside.

Cisco Employee

Re: translation-rule

this won't affect outside dialing, just how the call is presented to the called party for incoming calls

rule 1 /\(^........$\)/ /\1/

rule 2 /\(^.*\)/ /00\1/

if everything else incoming is only 8 digits change it like above, the 1st rule will always match 8 digits and won't add anything, anything that doesn't match that, will be prefixed with 00

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
New Member

Re: translation-rule

i will check this out tommorrow..

i hope it works fine..

thxx again for your kind time..

New Member

Re: translation-rule

hi..

sorry for being late i was not in the town..

i tried this one but its not working..

In the "incoming called number" promt what should i write,the DID number range.

when i tried putting this translation rule to one of the extension then the DID calls were not coming to that number.

voice translation-rule 2

rule 1 /\(^.......$\)/ /\1/

rule 3 /\(^.*\)/ /00\1/

voice translation-profile profile2

translate calling 2

dial-peer voice 123 pots

translation-profile incoming profile1

incoming called number 0788

the calls to extension 788 stopped working..

we are using primary extensiona as 0788/

Hall of Fame Super Gold

Re: translation-rule

That works fine for me:

rule 1 // /00/ type international international

The important thing is that incoming international are correctly marked as such in the setup message.

Hope this helps, please rate post if it does!

New Member

Re: translation-rule

hi i have COR list for outgoing numbers..

i will post the dial-peer config here..

i have one more issue here..and i relate it with dial-peer probably as i understand..

when i call a PSTN number which is switched off, the calling number gets callback tone and keeps ringing though it should say the number is not reachable

Hall of Fame Super Gold

Re: translation-rule

Hi,

what you get when calling numbers that are "switched off", depends by telco, and you cannot do anything about it.

The COR list has nothing to do with the translation-rule question, have you tried it ?

139
Views
11
Helpful
8
Replies