[Asterisk-code-review] pjsip configuration: On delete, remove the persistent versio... (asterisk[13])

Matt Jordan asteriskteam at digium.com
Tue Nov 3 11:20:57 CST 2015


Matt Jordan has uploaded a new patch set (#2).

Change subject: pjsip_configuration: On delete, remove the persistent version of an endpoint
......................................................................

pjsip_configuration: On delete, remove the persistent version of an endpoint

When an endpoint is deleted (such as through an API), the persistent endpoint
currently continues to lurk around. While this isn't harmful from a memory
consumption perspective - as all persistent endpoints are reclaimed on
shutdown - it does cause Stasis endpoint related operations to continue
to believe that the endpoint may or may not exist.

This patch causes the persistent endpoint related to a PJSIP endpoint to be
destroyed if the PJSIP endpoint is deleted.

Change-Id: I85ac707b4d5e6aad882ac275b0c2e2154affa5bb
---
M res/res_pjsip/pjsip_configuration.c
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/56/1556/2
-- 
To view, visit https://gerrit.asterisk.org/1556
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I85ac707b4d5e6aad882ac275b0c2e2154affa5bb
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list