Translation Rule

Answered Question
Jan 8th, 2010

Dear All,

I am running CME 7.0. The problem which i m facing is that on my cisco IP Phone I am not able to see complete digits of received (international) calls only on my ip phone display like for example if a calling number is 00966507660345, it just shows the number 0966507660345 skipping the first 0. Please let me know how i can over come this problem.

Your consideration in this regard will highly be commendable.

Thanks & Regards,

Malik.

Correct Answer by Marwan ALshawi about 7 years 1 month ago

just follow the example above

Correct Answer by Marwan ALshawi about 7 years 1 month ago

i will crate a translation rule that match a number with number of digits same as the one you put ( 12 digits) + 00

voice translation-rule 1
rule 1 /\(0............\)/ /0\1/   -- you can put more than one line liek rule 2, 3 .. and also the number of dots you can change it basd on the number of

digits you recieve for example this one will math any number start with 09665 /\(09665.*\)/ /0\1/ 

!
!
voice translation-profile ADD0
translate calling 1
!

then you need to apply it under your PSTN pots dial-peer

dial-peer voice x pots     --- x the number of your pots dial-peer
translation-profile incoming ADD0

verification:

Router#test voice translation-rule 1 0966507660345   -- incoming number
Matched with rule 1
Original number: 0966507660345  Translated number: 00966507660345  -- resulted calling number
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

good luck

if helpful Rate

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
Marwan ALshawi Sat, 01/09/2010 - 03:01

i will crate a translation rule that match a number with number of digits same as the one you put ( 12 digits) + 00

voice translation-rule 1
rule 1 /\(0............\)/ /0\1/   -- you can put more than one line liek rule 2, 3 .. and also the number of dots you can change it basd on the number of

digits you recieve for example this one will math any number start with 09665 /\(09665.*\)/ /0\1/ 

!
!
voice translation-profile ADD0
translate calling 1
!

then you need to apply it under your PSTN pots dial-peer

dial-peer voice x pots     --- x the number of your pots dial-peer
translation-profile incoming ADD0

verification:

Router#test voice translation-rule 1 0966507660345   -- incoming number
Matched with rule 1
Original number: 0966507660345  Translated number: 00966507660345  -- resulted calling number
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

good luck

if helpful Rate

tiger_401 Sat, 01/09/2010 - 22:07

Hi marwanshawi,

Thanks for your reply. Can you please tell me how i can include only one "0" infront of all international calls only. Like for example i just want to se international incoming call on ip phone display as:

00966 or

00971 or

00924 etc etc....

Please help me in this regard...or Can you plz tell me the exact commands,

Thanks,

Malik.

tiger_401 Mon, 01/11/2010 - 01:04

hi,

i tried with your configuration but i failed...can you please check my configuration please...i will be very thankful to you...

Attachment: 
tiger_401 Mon, 01/11/2010 - 01:18

cme-3825#
cme-3825#
cme-3825#test voice tr
cme-3825#test voice translation-rule 2 0966507660365
Matched with rule 2
Original number: 0966507660365  Translated number: 00966507660365
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

cme-3825#

hope it may help you...

Marwan ALshawi Mon, 01/11/2010 - 02:58

try to make like this

voice translation-rule 1
rule 1 // /0/
rule 2 /\(0............\)/ /0\1/

good luck

Actions

This Discussion