cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1078
Views
20
Helpful
8
Replies

Need help with URI based configuration on CUBE

RenjithRNath21
Level 1
Level 1
8 Replies 8

Mike_Brezicky
Cisco Employee
Cisco Employee
Change the IP and E164 patterns to your desired outcome and below is generally the base I use for any CUBE config.

2 CUCM Dial Peers
2 Telco Dial Peers
URI and server group with CUCM cluster
sip-server for telco registrar

voice class uri CUCM sip
host ipv4:10.10.10.10
host ipv4:10.10.10.11

voice class server-group 1000
ipv4 10.10.10.10 preference 1
ipv4 10.10.10.11 preference 2
description **CUCM Server Group**


dial-peer voice 1001 voip
description ***INCOMING CUCM DIAL-PEER***
session protocol sipv2
incoming uri via CUCM
voice-class codec 1
no voice-class sip early-offer forced
dtmf-relay rtp-nte
no vad
!
dial-peer voice 1051 voip
description ***OUTGOING CUCM DIAL-PEER***
destination-pattern +1925233442
session protocol sipv2
session server-group 1000
voice-class codec 1
voice-class sip options-keepalive profile 1000
dtmf-relay rtp-nte
no vad
!


voice class e164-pattern-map 2000
e164 +T
e164 0T

dial-peer voice 2001 voip
description ***INCOMING PSTN DIAL-PEER***
session protocol sipv2
incoming called-number +1925233442
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 2051 voip
description ***OUTGOING PSTN DIAL-PEER***
session protocol sipv2
session target sip-server
destination e164-pattern-map 2000
voice-class codec 1
voice-class sip options-keepalive
dtmf-relay rtp-nte
no vad

sip-ua
retry invite 3
sip-server ipv4:8.8.8.8

Hello Mike ,

 

Thanks for the reply. The below command is not taking on the my CUBE.

customerSBC(config)#voice class e164-pattern-map 2020^
% Invalid input detected at '^' marker.

===============================================

Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 15.1(4)M10, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Tue 24-Mar-15 08:59 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

customerSBC uptime is 13 weeks, 5 days, 14 hours, 33 minutes
System returned to ROM by power-on
System image file is "flash:c2800nm-adventerprisek9_ivs-mz.151-4.M10.bin"
Last reload type: Normal Reload


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 2811 (revision 1.0) with 249856K/12288K bytes of memory.
Processor board ID FHK1133F3Y1
2 FastEthernet interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
125184K bytes of ATA CompactFlash (Read/Write)


License Info:

License UDI:

-------------------------------------------------
Device# PID SN
-------------------------------------------------
*0 CISCO2811 FHK1133F3Y1

 

Configuration register is 0x2102

 

=====================================================

 

 

 

 

 

Ahh, if you are on an older IOS version, keep the outbound dial - peer using destination-pattern instead of an e164 map. will result in the same.

If you need to match on URI ivr.localdomain, then in your voice class uri and/or server group, use the dns name instead of ip.
voice class uri CUCM sip
host dns:ivr.localdomain

Hi Mike,

 

That part was already tried with no luck. Should dns:ivr.localdomain be resolvable from CUBE?

The platform you use is end of everything. You should replace it with something that is newer, like a 4K router or at least a 29/39XX router.



Response Signature


Hi Roger,

 

Thanks for the reply. i know its an old one.We are using it for LAB purpose. Just wanted to know the configurations are correct? Also i found below notes in Cisco site

***The minimum supported release of Cisco IOS required for URI based call routing on dial-peers is Cisco IOS XE Gibraltar Release 16.12. You must configure the 'call-route-url' on the outgoing dial-peers to properly route the refer-to headers based on the URI matching.**

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/sip-supp-uri-based-dialing.html

 

And many configuration suggested in above document are not working on our CUBE . Is it due to an old IOS version?

We are using below version.

Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 15.1(4)M10, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Tue 24-Mar-15 08:59 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

customerSBC uptime is 13 weeks, 6 days, 17 hours, 22 minutes
System returned to ROM by power-on
System image file is "flash:c2800nm-adventerprisek9_ivs-mz.151-4.M10.bin"
Last reload type: Normal Reload

 

Also i would like to know the URI ivr.localdomain should be resolvable from our CUBE or not?

 

Thanks,

 

Yes it’s because your version is to old. It doesn’t have the needed options to configure this.

I have never had a reason for setup of URI based routing in a CUBE, so I don’t have firsthand experience with this. Normally in other systems you would not have to resolve the URI itself, but the domain. For this there should be the needed SRV records present for URi based calls.

 



Response Signature


I just read through the document that you referenced. It’s quite clearly described how to set this up and it also contains well documented scenarios that you should look through to understand how this works in the router.

You would need to find a newer piece of hardware to use for the lab for this. I would recommend you to use a 4K router.

 



Response Signature


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: