cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
629
Views
10
Helpful
7
Replies

Forward incoming DID to a DN

I'm trying to set up translation rule on our CUBE to take incoming DID and send/translate it to a local DN.  I've set up translation rule, for this instance lets say that incoming DID is 904-123-4567 and local DN that should be sent to is 5500. 

 

I've set up this translation rule:

voice translation-rule 3
rule 1 /^9041234567$/ /55000/
rule 2 /^19041234567$/ /55500/

 

I have that translation rule applied to a translation profile:

voice translation-profile translate_test
translate calling 3

 

And from there I have the translation profile applied to outgoing dial-peer from CUBE to CUCM.  However I can't seem to get this working.  Any suggestions?

 

7 Replies 7

Jaime Valencia
Cisco Employee
Cisco Employee

You configured it as a calling number rule, that's the ANI.

HTH

java

if this helps, please rate

Isn't ANI the calling number?

 

Is it possible to do what I'm trying to translation-rule?

Vaijanath Sonvane
VIP Alumni
VIP Alumni

Hi,

Under translation profile, instead of using "translate calling" you need to use "translate called". And you need to apply this  translation profile on PSTN incoming dial-peer. Here is the configuration example:

voice translation-rule 1
 rule 1 /^9041234567$/ /5500/
!
voice translation-profile PSTN_Incoming
 translate called 1
!
dial-peer voice 100 voip
 description *** INBOUND CALLS FROM SERVICE PROVIDER ***
 translation-profile incoming PSTN_Incoming
 incoming called-number .
 <Apply rest of the dial-peer configuration based on your scenario>
!
dial-peer voice 101 voip
 description *** OUTBOUND CALLS TO CUCM ***
 preference 1
 destination-pattern 5500$
 session target ipv4:10.10.1.10
 <Apply rest of the dial-peer configuration based on your scenario>
!

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

I've tried that but it's still not going to 55000.

The earlier example was for 5500. If you want it for 55000 then update the translation rule and dial-peer destination pattern. Can you post your full router configuration?

 

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

I did initially as I just use this as example : )

Still not able to get it to work. We use destination e164-pattern-map 100 in our CUBE to CUCM dial-peer. I've added 55000$ in the pattern map as well but no luck.

Please post "debug voice translation" while making the call.

Also, have you tried doing it on CUCM via translation pattern?

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: