cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
675
Views
0
Helpful
6
Replies

Translation profiles Incoming & Outgoing

clark white
Level 2
Level 2

Dears,

The below translation profile is for outbound calls from the corporate which is having a 8 digit numbering plan the result for below translation profile is the digit which will go to ITSP are 8.. This means ITSP is accepting only 3 digit from me, please correct me if i am wrong.

voice translation-rule 1

rule 1 /0\([8]..\)/ /\1/

INCOMING TRANSLATION

i Have a 4 digit extension plan starting with 3XXX

The below Incoming Translation profiles will replace 214555 to 3...

voice translation-rule 1   rule 1 /^214555\(3...\)$/ /\1/

The above translation can also be configured in diffrent way, Is the both way are correct???

voice translation-rule 1

rule 1 /^2145553/ /3/

Can anybody route me to goof link of tutorial for trnaslation profiles.

Thanks

2 Accepted Solutions

Accepted Solutions

Hi Clark.

your first translation rule would translate a dialed number as 08XX with 8XX

The second will not work in that format.

you have rule 1 /^214555\(3...\)$/ /\1/

should be

rule 1 /^214555\(3...$\)/ /\1/   to trnaslate 2145553XXX into 3xxx

or,as you correctly mentioned, could be:

voice translation-rule 1

rule 1 /^2145553/ /3/

Please use this useful link as reference.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

HTH

Regards

Carlo

Please rate all helpful posts

"The more you help the more you learn"

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

Hi.

The rule

voice translation-rule 1

rule 1 /^2145553/ /3/

is also correct, it will translate 2145553 with 3 followed by a variable number of digits

Here some tests

test voice translation-rule 1 214555300000

Matched with rule 1

Original number: 214555300000          Translated number: 300000

Original number type: none          Translated number type: none

Original number plan: none          Translated number plan: none

test voice translation-rule 1 21455530

Matched with rule 1

Original number: 21455530          Translated number: 30

Original number type: none          Translated number type: none

Original number plan: none          Translated number plan: none


HTH

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

6 Replies 6

Hi Clark.

your first translation rule would translate a dialed number as 08XX with 8XX

The second will not work in that format.

you have rule 1 /^214555\(3...\)$/ /\1/

should be

rule 1 /^214555\(3...$\)/ /\1/   to trnaslate 2145553XXX into 3xxx

or,as you correctly mentioned, could be:

voice translation-rule 1

rule 1 /^2145553/ /3/

Please use this useful link as reference.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

HTH

Regards

Carlo

Please rate all helpful posts

"The more you help the more you learn"

Please rate all helpful posts "The more you help the more you learn"

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Clark,

This rule is correct and will change all numbers beginning with 2145553... to a 4 digit number eg 2145553000 to 3000

voice translation-rule 1

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

This rule isnt correct and wont work. This will change the number 2145553 to 3..only

voice translation-rule 1

rule 1 /^2145553/ /3/

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Hi.

The rule

voice translation-rule 1

rule 1 /^2145553/ /3/

is also correct, it will translate 2145553 with 3 followed by a variable number of digits

Here some tests

test voice translation-rule 1 214555300000

Matched with rule 1

Original number: 214555300000          Translated number: 300000

Original number type: none          Translated number type: none

Original number plan: none          Translated number plan: none

test voice translation-rule 1 21455530

Matched with rule 1

Original number: 21455530          Translated number: 30

Original number type: none          Translated number type: none

Original number plan: none          Translated number plan: none


HTH

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Dears,

I have a 8 digit numbering plan in my country, ITSP gave me 100 DID for example 232323XX - 399

I am setting up a new SIP trunk connection to the ITSP , i dont have any information whether the ITSP is forwarding only 3 Digit  or accepting only 3 digit from my end , how i will come to know ??? which debug i have to enable to know this information.

Ideally you should have confirmed this with your ITSP..but you can use debug ccsip messages or debug voip ccapi inout

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Dears,

Thanks all for your replies.

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: