Configure Cisco CUBE SIP Options Ping

CUBE

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

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.

 

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!

Configure Cisco CUBE SIP Options Ping was last modified: January 30th, 2018 by Administrator
(Visited 465 times, 1 visits today)

Leave a Reply