02-06-2008 04:22 PM - edited 03-15-2019 08:40 AM
Hi
Is this a vaild SIP failover configuration? Customer reporting that that it is not working when they take the primary offline.
dial-peer voice 10001 voip
preference 1
destination-pattern 105
session protocol sipv2
session target ipv4:10.1.1.1
dtmf-relay rtp-nte
codec g711alaw
no vad
Thanks
dial-peer voice 10002 voip
preference 2
destination-pattern 105
session protocol sipv2
session target ipv4:10.1.1.2
dtmf-relay rtp-nte
codec g711alaw
no vad
02-12-2008 03:10 PM
SIP gateway by default will send 6 invites - so it will take about 1 minute before the call is sent through the next dial-peerYou can reduce this time by doing the following command under sip-ua--> retry invite
03-05-2008 01:17 PM
I had the same issue and it turns out the second dial peer is not used unless the SIP retry interval is set to 4 or less.
The default is 6 so the rotary funtion doesn't work by default.
The following command resolved the issue.
sip-ua
retry invite 3
Here's the text explaining the issue for 12.4 gateway IOS.
"When configuring SIP using SIP user-agent configuration commands such as the retry invite command, the use of the default values for the commands causes the rotary function to not take effect. The rotary function is when you set up more than one VoIP dial peer for the same destination pattern, and the dial peers are assigned to different targets. Assign different targets so that if the call cannot be set up with the first dial peer (preference one), the next dial peer can be tried.
To use the rotary function within SIP, set the retry value for the SIP retry invite command to 4 or less.
03-05-2008 03:44 PM
Great little-know info with official source, I've rated 5 the post above!
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: