[asterisk-bugs] [JIRA] (ASTERISK-29525) PJSIP remove_existing unavailable contacts
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Jul 21 08:23:34 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255663#comment-255663 ]
Asterisk Team commented on ASTERISK-29525:
------------------------------------------
This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.
> PJSIP remove_existing unavailable contacts
> ------------------------------------------
>
> Key: ASTERISK-29525
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29525
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: pjproject/pjsip
> Affects Versions: 16.19.0, 18.5.0
> Reporter: Joe
>
> The current behavior of remove_existing is:
> 1. If enabled, the contact that will expire soonest will be removed
> 2. If disabled, no contacts will be removed.
> This doesn't take into account contacts that have gone offline and are now unavailable. There doesn't seem to be any use case for maintaining unavailable contacts. Perhaps, a more intelligent process would work like this instead:
> 1. If enabled, first remove unavailable contacts, and if there aren't any, remove expiring soonest
> 2. If disabled, remove only unavailable contacts.
> If changing the behavior of 'no' is unwanted, then add a 3rd option of:
> remove_existing=unavailable
> to create the behavior of 2 above.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list