Browse By

Configure Cisco CUBE SIP Options Ping

Configure Cisco CUBE SIP Options Ping

Recently i was asked to configure SIP Options Ping on CUBE so that the link/trunk status can be monitored on CUBE. When this feature is enabled, CUBE will periodically send an OPTIONS Request to the destination IP Address configured on CUBE to determine its reachability and will send calls only to reachable nodes.

I am aware of two ways of implementing SIP Options Ping on CUBE.

  1. Using Dial-Peers.
  2. Using Server Group Class

Configure SIP Options Ping on CUBE using Dial-Peers:

Here is the sample configuration of SIP Options Ping on CUBE using Dial-Peers

Router(config)#dial-peer voice 41300 voip

Router(config-dial-peer)#destination-pattern 4[1-3]..

Router(config-dial-peer)# session protocol sipv2

Router(config-dial-peer)# session target ipv4:XXX.XXX.XXX.XXX
(Replace XXX.XXX.XXX.XXX with CUCM IP Address)

Router(config-dial-peer)# voice-class sip options-keepalive up-interval 30

Router(config-dial-peer)# voice-class sip pass-thru content sdp

Router(config-dial-peer)# dtmf-relay sip-kpml rtp-nte

Router(config-dial-peer)# no vad

Once the above commands are configured you can see the SIP Options Ping status by issuing the following command: “show dial-peer voice summary

If the status is busyout, that means CUBE is unable to reach the IP Address defined in the dial-peer. In above example, CUBE is unable to reach 1.1.1.1 IP Address.

If the status is active, that means CUBE is able to reach the IP Address defined in the dial-peer. In above example, CUBE is able to reach 1.1.1.1 IP Address.

Configure SIP Options Ping on CUBE using Server Group Class:

Here is the sample configuration of SIP Options Ping on CUBE using Server Group Class

Router(config)#voice class server-group 1

Router(config-class)#ipv4 XXX.XXX.XXX.XXX preference 1

Router(config-class)#ipv4 XXX.XXX.XXX.XXX preference 2

(Replace XXX.XXX.XXX.XXX with IP Address of CUCM/VG/CUBE Primary, Secondary which you would like to monitor)

Router(config-class)#dial-peer voice 41300 voip

Router(config-class)#destination-pattern 4[1-3]..

Router(config-class)#session protocol sipv2

Router(config-dial-peer)#session server-group 1

Router(config-dial-peer)#voice-class sip options-keepalive profile 1

Router(config-dial-peer)# voice-class sip pass-thru content sdp

Router(config-dial-peer)# dtmf-relay sip-kpml rtp-nte

To verify status of each server in the server group, issue the command “show voice class sip-options-keepalive 1

To verify the dial-peer status, issue the command “show dial-peer voice summary

Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *

Approved
Subodh Kumar
Approved
Claudio Quiroz Cabello

Electrical Engineer CCNA Collaboration CCNA Voice CCNA R&S. I'm Electrical Engineer and I work like Support Engineer for a Telephony Service Provider Company. Before that I had position like Pre-Sale Engineer about small and medium multivendor telephony solutions. I have 5 years of experience working in Telephony Multivendor Projects. I am also 3 years of experience working in Support and implementation about Cisco Collaboration platforms: UCS server, UCM, Cisco Unity, Presence Server, Jabber, Gateway. Support Community is most useful in finding design, implementation and support tricks and shortcuts that greatly help me in my daily activities. If you need to contact me, please you can writte me.

Approved
Kanishka Singh

CCNA Routing and Switching
Am a technology enthusiast. I work in network support providing support with implementation, maintaining and precisely troubleshooting the infra.
Realm of collaboration makes me want to learn and face new challenges more and more.