Configuring timers and retires for SIP Failover
In case multiple server addresses exist, once client received SIP regisration response 408/503/500 from one address, it will then move to next address. If all addresses are tried and failed, the client will schedule a new retry with certain interval.
Following options are added to UCI asterisk sip_service_provider section for configuring SIP failover.
-
asterisk.sip0.failover_max_retries Max number of failover retries. By default, '-1', which means unlimited.
-
asterisk.sip0.failover_interval1 The failover begin with the retry interval. By default, 10 seconds.
-
asterisk.sip0.failover_interval2 After every 3 continuous failed retries (one RETRY trys all server addresses) the interval is used to schedule the next retry. By default, 60 seconds.