Files
asterisk/include/asterisk
Joseph Nadiv 6a04c43035 res_pjsip_registrar: Remove unavailable contacts if exceeds max_contacts
The behavior of max_contacts and remove_existing are connected.  If
remove_existing is enabled, the soonest expiring contacts are removed.
This may occur when there is an unavailable contact.  Similarly,
when remove_existing is not enabled, registrations from good
endpoints are rejected in favor of retaining unavailable contacts.

This commit adds a new AOR option remove_unavailable, and the effect
of this setting will depend on remove_existing.  If remove_existing
is set to no, we will still remove unavailable contacts when they
exceed max_contacts, if there are any. If remove_existing is set to
yes, we will prioritize the removal of unavailable contacts before
those that are expiring soonest.

ASTERISK-29525

Change-Id: Ia2711b08f2b4d1177411b1be23e970d7fdff5784
2021-09-24 11:48:22 -05:00
..
2015-04-11 19:43:43 -06:00
2021-09-01 10:31:07 -05:00
2017-12-20 12:40:01 -05:00
2017-12-20 12:40:01 -05:00
2013-08-22 18:52:41 +00:00
2017-12-20 12:40:01 -05:00
2017-05-30 15:10:20 -05:00
2018-03-19 18:00:20 -04:00
2015-07-07 21:31:49 -05:00
2021-09-10 11:08:23 -05:00
2018-04-20 12:50:03 +02:00
2015-05-19 21:11:21 -05:00
2021-01-04 05:00:58 -06:00
2017-12-20 12:40:01 -05:00
2016-07-22 10:09:08 +02:00
2020-03-26 07:46:50 -05:00
2019-02-07 08:23:14 -06:00
2021-09-10 11:45:52 -05:00
2015-05-19 21:11:21 -05:00
2017-05-30 15:10:20 -05:00
2015-05-19 21:11:21 -05:00
2020-10-02 12:58:18 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00