diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-26 16:07:08 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-26 16:07:08 +0000 |
commit | 447c900c5b6479086cf79bbc12453ea22a213383 (patch) | |
tree | abe2e60313f39e0646219978ecc4ff0ddb6c305c /configs/cdr_tds.conf.sample | |
parent | 293de5401263141709860c43676079ddb95cfa17 (diff) |
Merged revisions 178767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r178767 | dvossel | 2009-02-26 09:50:22 -0600 (Thu, 26 Feb 2009) | 8 lines
IAX2 prune realtime fix
Iax2 prune realtime had issues. If "iax2 prune realtime all" was called, it would appear like the command was successful, but in reality nothing happened. This is because the reload that was supposed to take place checks the config files, sees no changes, and does nothing. If there had been a change in the the config file, the realtime users would have been marked for deletion and everything would have been fine. 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 #14479)
Reported by: mousepad99
Review: http://reviewboard.digium.com/r/176/
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@178769 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/cdr_tds.conf.sample')
0 files changed, 0 insertions, 0 deletions