[asterisk-bugs] [Asterisk 0014479]: "iax2 prune realtime" doesn't prune user, only peer
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Feb 26 11:26:15 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14479
======================================================================
Reported By: mousepad99
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 14479
Category: Functions/func_realtime
Reproducibility: always
Severity: tweak
Priority: normal
Status: closed
Asterisk Version: 1.4.22
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-02-14 12:06 CST
Last Modified: 2009-02-26 11:26 CST
======================================================================
Summary: "iax2 prune realtime" doesn't prune user, only peer
Description:
Unlike it's other brother, sip prune realtime, iax2 prune realtime will
only prune the iax2 peer. Making it impossible to prune a cached iax
"friend".
The only way to prune the iax user from the cache is to issue:
iax2 reload
======================================================================
----------------------------------------------------------------------
(0100808) svnbot (reporter) - 2009-02-26 11:26
http://bugs.digium.com/view.php?id=14479#c100808
----------------------------------------------------------------------
Repository: asterisk
Revision: 178848
_U trunk/
------------------------------------------------------------------------
r178848 | dvossel | 2009-02-26 11:26:14 -0600 (Thu, 26 Feb 2009) | 14
lines
Blocked revisions 178838 via svnmerge
........
r178838 | dvossel | 2009-02-26 11:24:02 -0600 (Thu, 26 Feb 2009) | 9
lines
IAX2 prune realtime fix
Now prune_users() and prune_peers() are called instead of
reload_config() to prune all users/peers that are realtime. These
functions remove all users/peers with the rtfriend and delme flags set.
iax2_prune_realtime() also lacked the code to properly delete a single
friend. For example. if iax2 prune realtime <friend> was called, only the
peer instance would be removed. The user would still remain.
(closes issue http://bugs.digium.com/view.php?id=14479)
Reported by: mousepad99
Review: http://reviewboard.digium.com/r/176/
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=178848
Issue History
Date Modified Username Field Change
======================================================================
2009-02-26 11:26 svnbot Note Added: 0100808
======================================================================
More information about the asterisk-bugs
mailing list