cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1661
Views
35
Helpful
12
Replies

Need for translation rules.... but how?

TinyLittleAdmin
Level 1
Level 1

Hi community,

 

I've alread tried to get some info about this in the german section of this forum... wasn't very successfull so far. So I'd like to take the chance here. im not a cube or ccm pro - so i would be very thankfull for help. my situation:

a local service provider (sp) changes telephony from classic QSIG/ISDN to SIP. on the client side is a very old callmanager (ccm) which itself doesn't support sip trunks. so an older cisco 2800 is in place and prepared as CUBE. the setup is:

 

sp <> cube <> ccm <> cisco ip phone

 

lets say the reginal number is 99999, internal numbers are 400650X  (so range 4006500 to 4006510).

in general that works fine, the sip trunk is established. incoming calls (from sp) and outgoing calls (to sp) work fine. here comes the but: outgoing calls dont get the right number. it looks like the internal phone number reaches the cube and is than directly forwared to sp. the sp than simply adds the regional code and "ignores" the internal number and just uses the first one in the range. whats happens is: a call from internal number 4006504 which should reach a mobile as 999994006504 is instead shown as 999994006500.

so i think i need a translation rule for calls from ccm accross the cube to sp that takes the internal number and adds the regional code in front of it.

 

i've tried some translation rules and added them to the dial peers - but it changes nothing. there are in total five dial-peers:

sp to cube, ccm to cube, cube to sp, cube to ccm (subscripe), cube to ccm (publish)

i think my problem is that i didn't really understand how translation rules work and how to bind them to the correct interface/dial peer.

 

thanks for your time and help.

2 Accepted Solutions

Accepted Solutions

If your internal range is 400650X and you'd want to show the number as 99999400650X when you make a call out. To achieve this you would need to have this configuration.

 

voice translation-rule 10
 rule 1 /^\(400650.\)$/ /99999\1/
!
voice translation-profile PSTN-OUT
 translate calling 10
!
dial-peer voice 110 voip !your outbound dial-peer toward your service provider
 translation-profile outgoing PSTN-OUT

 

For more details look at this document Voice Translation Rules - Cisco



Response Signature


View solution in original post