01-13-2017 12:43 PM - edited 03-18-2019 06:46 AM
Hi
Does someone have configured SIP options ping on a dial-peer that uses session server-group?
How server keep track of each individual ip address on the server-group on the dial peer?
In Brief, these two commands on the dial peer:
session server-group <group number>
voice class sip options ping
-Alex
Solved! Go to Solution.
01-17-2017 11:38 AM
Here's what works for me.
I create a server group class
voice class server-group 1
ipv4 1.1.1.1 preference 1
ipv4 2.2.2.2 preference 2
!
I then create an empty sip options class
voice class sip-options-keepalive 1
description Server Group SIP OPTIONS PING (Intentionally Left Blank)
!
Finally, I apply the server group and options classes to my dial-peer
dial-peer voice 1 voip
session server-group 1
voice-class sip options-keepalive profile 1
...other dial-peer commands here...
!
You can use the following command to view the status of the dial-peer as a whole
show dial-peer voice summary
You can use the following command to view the status of each server in the server group
show voice class sip-options-keepalive 1
01-13-2017 01:45 PM
Hi,
Please refer to:
http://www.cisco.com/c/en/us/td/docs/ios/voice/cube/configuration/guide/vb_book/vb_book/vb_9321.html
Please rate and mark correct if helpful
Regards,
Adarsh Chauhan
01-13-2017 05:35 PM
Hi Adarsh
That's the configuration i use but that's when you use a dial-peer session pointing to a single endpoint and not a server group.
Alex
01-17-2017 11:38 AM
Here's what works for me.
I create a server group class
voice class server-group 1
ipv4 1.1.1.1 preference 1
ipv4 2.2.2.2 preference 2
!
I then create an empty sip options class
voice class sip-options-keepalive 1
description Server Group SIP OPTIONS PING (Intentionally Left Blank)
!
Finally, I apply the server group and options classes to my dial-peer
dial-peer voice 1 voip
session server-group 1
voice-class sip options-keepalive profile 1
...other dial-peer commands here...
!
You can use the following command to view the status of the dial-peer as a whole
show dial-peer voice summary
You can use the following command to view the status of each server in the server group
show voice class sip-options-keepalive 1
05-04-2018 03:47 AM
Hello Anthony,
Do you need to have enabled the Ping Options on the SIP profile of the SIP trunk, if the other side of the dial peer is a CUCM ?
Thanks in advance,
George
01-11-2019 01:00 PM
01-11-2019 01:11 PM - edited 01-11-2019 01:11 PM
Thanks for the feedback, I ‘ll give it a try
03-20-2019 07:39 AM
Curious if this ended up working for you. Going through something similar as well, and unsure if I need to creat a SIP profile to insert into the voice class options ping.
Thanks
02-07-2020 03:01 AM
Thanks Anthony, great post!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide