cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1426
Views
39
Helpful
7
Replies

CME translation rule by different caller

samhopealpha
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Anas Abueideh
Level 9
Level 9

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

View solution in original post

7 Replies 7

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

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

islam.kamal
Level 10
Level 10

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

Anas Abueideh
Level 9
Level 9

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

Anas Abueideh
Level 9
Level 9

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

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

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

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

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

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