cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
217
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
Hall of Fame Cisco Employee

Re: Forward incoming DID to a DN

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

HTH

java

if this helps, please rate

Re: Forward incoming DID to a DN

Isn't ANI the calling number?

 

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

Rising star

Re: Forward incoming DID to a DN

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.

Re: Forward incoming DID to a DN

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

Re: Forward incoming DID to a DN

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.
Highlighted

Re: Forward incoming DID to a DN

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.
Hall of Fame Master

Re: Forward incoming DID to a DN

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

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

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards