04-08-2013 08:05 PM - edited 03-16-2019 04:40 PM
Dear Everybody,
Is it possible to translate the "called number" according to different "Caller number" ?
For example,
PersonA (1000) calls to PersonZ (3105555), it will be translated to 2310555
PersonB (2000) calls to PersonZ (3105555), it will be translated to 5553105555
For the CUCM, I can translate it by using the CSS and route pattern combination
But for the CME, I have no idea on how to do it?
Any body can help?
Thanks in advance
Sam
Solved! Go to Solution.
04-08-2013 11:25 PM
Hi,
you will solve your issue by using corlists, it is like the CSS in CUCM. the above post is helpful for inbound calls from pstn
kindly find the below config
voice translation-rule 1
rule 1 /3105555/ /2310555/
voice translation-rule 2
rule 1 /3105555/ /5553105555/
voice translation-profile phoneA
translate called 1
voice translation-profile phoneB
translate called 2
dial-peer cor custom
name phoneA
name phoneB
dial-peer cor list phoneA
member phoneA
!
dial-peer cor list phoneB
member phoneB
dial-peer cor list callingphoneA
member phoneA
!
dial-peer cor list callingphoneB
member phoneB
ephone-dn 1
number 1000
corlist incoming callingphoneA
ephone-dn 2
number 2000
corlist incoming callingphoneB
dial-peer voice 1 pots
destination-pattern 3105555
translation-profile outgoing phoneA
corlist outgoing phoneA
port 0/0/0
forward-digits all
dial-peer voice 2 pots
destination-pattern 3105555
translation-profile outgoing phoneB
corlist outgoing phoneB
port 0/0/0
forward-digits all
HTH
Anas
please don't forget to rate the helpful posts
04-08-2013 10:33 PM
Hi.
You can achieve this with a translation profile on a pots dialpeer.
Eg.
voice translation-rule 1
rule 1 /^1000/ /2310555/
rule 2 /^2000/ /5553105555/
voice tranlation-profile out
translate calling 1
dial-peer voice 10 pots
destination-pattern 3105555
translation-profile outgoing out
HTH
Regards
Carlo
Sent from Cisco Technical Support iPhone App
04-08-2013 11:03 PM
Hi
1-
Voice translation-rule 1
rule 1 /^1000/ /2310555/
rule 2 /^2000/ /5553105555/
voice translation-profile outgoing
translate calling 1
dial-peer voice 1 pots
translation-profile outgoing outgoing
destination-pattern 3105555
voice port (based on your connection FXO or E1 &T1).
for test
router# test voice translation-rule 1 1000
thank you
please rate if this will help
04-08-2013 11:11 PM
Hi,
for this requirement you need to match based on the calling number not called-number. you need to use answer-address instead of incoming called-number. kindly find the below link for more info
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
you need to create two dial-peers with 2 answer-address, and then apply the appropriate translation
HTH
Anas
please don't forget to rate the helpful posts
04-08-2013 11:25 PM
Hi,
you will solve your issue by using corlists, it is like the CSS in CUCM. the above post is helpful for inbound calls from pstn
kindly find the below config
voice translation-rule 1
rule 1 /3105555/ /2310555/
voice translation-rule 2
rule 1 /3105555/ /5553105555/
voice translation-profile phoneA
translate called 1
voice translation-profile phoneB
translate called 2
dial-peer cor custom
name phoneA
name phoneB
dial-peer cor list phoneA
member phoneA
!
dial-peer cor list phoneB
member phoneB
dial-peer cor list callingphoneA
member phoneA
!
dial-peer cor list callingphoneB
member phoneB
ephone-dn 1
number 1000
corlist incoming callingphoneA
ephone-dn 2
number 2000
corlist incoming callingphoneB
dial-peer voice 1 pots
destination-pattern 3105555
translation-profile outgoing phoneA
corlist outgoing phoneA
port 0/0/0
forward-digits all
dial-peer voice 2 pots
destination-pattern 3105555
translation-profile outgoing phoneB
corlist outgoing phoneB
port 0/0/0
forward-digits all
HTH
Anas
please don't forget to rate the helpful posts
04-09-2013 12:53 PM
Hi Anas.
Why complicate things where a translation-profile would match the calling on one or multiple dial-peer and would apply the translation for out calls.
Yes your soultion works (5P) , but for an easier deploy just a translation is enough.
For a more granualr calling match, answer-address woul be preferrable.
Regards
Carlo
04-09-2013 01:10 PM
Hi Carlo,
thanks for the rating. the translation without corelist will not work, because phoneA and phoneB will dial the same destination number. he want to translate the called number not the calling number.
if you read the question carefully, you will figure out my understanding.
regards
Anas
04-09-2013 01:23 PM
Ops!! I totally confused called with calling
Sorry.
Here i can give my 5 cents now
A dial-peer with answer address and tranlation profile also would work
voice translation-rule 1
rule 1 /3105555/ /2310555/
voice translation-rule 2
rule 1 /3105555/ /5553105555/
voice translation-profile outPhoneA
translate called 1
voice translation-profile outPhoneB
translate called 2
dial-peer voice 10 voip
answer-address 1000
voice translation-profile out outPhoneA
dial-peer voice 20 voip
answer-address 2000
voice translation-profile out outPhoneB
HTH (hope )
Carlo
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