02-24-2014 06:54 AM - edited 03-16-2019 09:52 PM
Hi Guys,
i would need help on the transilation rules for eg. the ip phone extension of mine which is 86128 should be seen to other end as 12386128 and that too i need only for one site office , i had tried transilation-rule which says rule 1 /^86.../ /123/ and added to dial-peer as transilation-profile outgoing "name" . could you please help on this one , cant figure out how to change the local extension .
Solved! Go to Solution.
02-24-2014 08:07 AM
Hi.
Another way to translate could be
voice translation-rule 100
rule 1 /^5...$/ /123\0/
HTH
Regards
Carlo
Please rate all helpful posts
"The more you help the more you learn"
02-25-2014 01:02 AM
Hi Adarsh.
voice translation-profile AUH-Test
you have
translate called 3
should be
translate calling 3
HTH
Regards
Carlo
Please rate all helpful posts
"The more you help the more you learn"
02-24-2014 07:30 AM
http://draganchilly.blogspot.com/2009/11/call-manager-and-call-manager-express.html
especially this:
CME advanced examples:
/^\(5..\)/ /1234\1/
- match numbers in 500-599 range and transform it in 1234500-1234599
HTH,
Dragan
02-24-2014 08:07 AM
Hi.
Another way to translate could be
voice translation-rule 100
rule 1 /^5...$/ /123\0/
HTH
Regards
Carlo
Please rate all helpful posts
"The more you help the more you learn"
02-24-2014 11:45 PM
Hi Dragan/Carlo,
I had tried both of ur transilation rules but its the same , my extension no: is not getting changed with the added prefix 123 to the other side call ... is there any other rule u guys can think of ....
Sent from Cisco Technical Support Android App
02-25-2014 12:16 AM
Hi ,
Can you paste the section of config which contains translation rule , profile and dial-peer.
Thanks
Manish
02-25-2014 12:37 AM
Hi Manish,
This is the config , you can see the translation rule 3 is the one for this purpose and is named as AUH-Test , and the profile have been added to dial-peer to where the prefix of the local extension should be changed and shown to the remote end with the added prefix .
voice translation-rule 1
rule 1 /^30/ /9/
rule 2 /973/ /9/
rule 3 /111/ /91/
rule 4 /444/ /90/
rule 5 /20/ /99/
rule 6 /^968/ /9/
!
voice translation-rule 2
rule 1 /44/ //
!
voice translation-rule 3
rule 1 /^86...$/ /123\1/
!
!
voice translation-profile AUH-Test
translate called 3
!
voice translation-profile remove-prefix
translate called 1
!
voice translation-profile uk-prefix
translate called 2
!
!
dial-peer voice 72000 voip
translation-profile outgoing AUH-Test
destination-pattern 72...
session target ipv4:10.28.2.2
codec g711ulaw
Thanks
Adarsh
02-25-2014 01:02 AM
Hi Adarsh.
voice translation-profile AUH-Test
you have
translate called 3
should be
translate calling 3
HTH
Regards
Carlo
Please rate all helpful posts
"The more you help the more you learn"
02-25-2014 01:12 AM
Many Thanks Carlo , that did worked , missed out the "calling" on that translate rule .
Thanks All for the help .
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide