cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
873
Views
5
Helpful
5
Replies

CUBE Translation Profile Issue

James Hawkins
Level 8
Level 8

Hi,

I have a Cisco 2901 running IOS  15.6(3)M8 which I am using as a CUBE to link a CUCM 10.5 cluster to a SIP telephony provider.

On the I want to translate incoming calling numbers so that they match the CUCM extensions. The CUBE will then forward the calls to the CUCM server.

The relevant parts of my config are shown below (numbers have been changed):

 

voice class e164-pattern-map 1
e164 44121914639[0-2]
!
!
voice class e164-pattern-map 2
e164 +T
e164 9T

voice translation-rule 1
rule 1 /^012191463\(9.\)/ /4412191463\1/
!
!
voice translation-profile INBOUND_SIP
translate called 1
!
!
dial-peer voice 101 voip
description ITSP SIP Trunk SBCs (Outbound)
session protocol sipv2
session transport udp
session server-group 2
destination e164-pattern-map 2
voice-class codec 1
voice-class sip profiles 1
voice-class sip options-keepalive
voice-class sip bind control source-interface GigabitEthernet0/1
voice-class sip bind media source-interface GigabitEthernet0/1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 102 voip
description ITSP SIP Trunk SBCs (Inbound)

translation-profile incoming SIP_IN
session protocol sipv2
session transport udp
incoming uri via ITSP
voice-class codec 1
voice-class sip profiles 1
voice-class sip bind control source-interface GigabitEthernet0/1
voice-class sip bind media source-interface GigabitEthernet0/1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 103 voip
description CUBE to CUCM Servers (Outbound)
session protocol sipv2
session transport udp
session server-group 1
destination e164-pattern-map 1
voice-class codec 1
voice-class sip options-keepalive
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 104 voip
description CUCM Servers to CUBE (Inbound)
session protocol sipv2
session transport udp
incoming uri via CUCM
voice-class codec 1
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!

Incoming calls to 01219146390 select dial peer 102 as the incoming dial peer but the SIP_IN translation pattern does not seem to be applied which results in no outgoing dial peer being matched - if the called number had been translated to 441219146390 the outgoing dial peer would have been matched.

If I use number expansion with the command below cals are routed correctly.

num-exp 0121914639. 44121914639.

I cannot see anything wrong with my config - can anyone suggest why this is not working?

5 Replies 5

voice translation-rule 1
rule 1 /^012191463\(9.\)/ /4412191463\1/
!
!
voice translation-profile INBOUND_SIP
translate called 1

 

 

and the profile which you using  is  incoming SIP_IN>>> apply the correct profile. 



Response Signature


Hi Nithin,

Thanks for the response. I have corrected the naming error but it is still not working. I have removed and re-added the commands and also tried applying the translation pattern globally and using the Source IP Group feature but it does not work with any of these.

use  the below

 

voice class e164-pattern-map 1
e164 0121914639[0-2]

 

dial-peer voice 102 voip

incoming called e164-pattern-map 1

 

voice class e164-pattern-map 3
e164 44121914639[0-2]

 

dial-peer voice 103 voip

destination e164-pattern-map 3

 

 

you can go through the below link to learn more. 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/dialpeer/configuration/xe-3s/vd-xe-3s-book/vd-mdp-dialpeer.html



Response Signature


Thanks I have to leave work now but will check this out

Cross post