Implement registration retry mechanism in failure cases, REF 14471
cherry-pick the following changes from devel - When SIP response 408/503/500 is received for SIP Register requests to all server addresses, the failover retry will be scheduled with certain time interval. - If number of continuous failed retries reached 'failover_max_retries', the SIP registraion will be given up. By default, the number is '-1', i.e. unlimited. - 'failover_interval1' is used between normal failover retries, which is 10 seconds by default. - 'failover_interval2' is used once after every 3 continuous retries, which is 60 seconds by default. More timer (T1,T2,T4,TD/TB) configuration added from asterisk to pjsip. Priority after this changes: * retry_after (if received, as above diagram) * failover_max_retries (if have non-zero values, -1 as infinitive) * retry_interval (if set, default 1 if not set) * above diagram base on RFC
parent
fb501964
No related branches found
No related tags found
Showing
- res/res_pjsip.c 10 additions, 1 deletionres/res_pjsip.c
- res/res_pjsip/config_system.c 12 additions, 0 deletionsres/res_pjsip/config_system.c
- res/res_pjsip_outbound_registration.c 154 additions, 7 deletionsres/res_pjsip_outbound_registration.c
- res/res_pjsip_session.c 3 additions, 4 deletionsres/res_pjsip_session.c
- schemas/uci/asterisk.json 28 additions, 7 deletionsschemas/uci/asterisk.json
Loading
Please register or sign in to comment