cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
394
Views
30
Helpful
3
Replies

SIP Failover Dail Peers

msaleh
Level 1
Level 1

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

3 Replies 3

Not applicable

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

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.

Great little-know info with official source, I've rated 5 the post above!

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: