Opened 13 years ago

Last modified 13 years ago

#1375 closed enhancement

Option to control first re-registration retry interval — at Initial Version

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.12
Component: pjsua-lib Version: 1.x-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The pjsua_acc_config.reg_retry_interval is used to control account interval to retry registration in case it failed. However when the registration is disconnected because of transport failure (e.g. TCP transport closure), the initial retry would happen immediately.

This ticket adds new setting, pjsua_acc_config.reg_first_retry_interval, to control the interval of the first retry. The default value is zero, which means registration retry will be done immediately after failure.

This ticket also adds random +/- 10 seconds to the interval, so that clients wouldn't re-register at the same time causing high load to server.

Change History (0)

Note: See TracTickets for help on using tickets.