[asterisk-commits] file: branch 1.6.2 r196724 - in /branches/1.6.2: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 26 08:47:52 CDT 2009
Author: file
Date: Tue May 26 08:47:48 2009
New Revision: 196724
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196724
Log:
Merged revisions 196721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r196721 | file | 2009-05-26 10:43:13 -0300 (Tue, 26 May 2009) | 7 lines
Fix a bug where the sip unregister CLI command did not completely unregister the peer.
(closes issue #15118)
Reported by: alecdavis
Patches:
chan_sip_unregister.diff2.txt uploaded by alecdavis (license 585)
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/channels/chan_sip.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=196724&r1=196723&r2=196724
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Tue May 26 08:47:48 2009
@@ -14944,6 +14944,8 @@
if ((peer = find_peer(a->argv[2], NULL, load_realtime, FINDPEERS, TRUE))) {
if (peer->expire > 0) {
+ AST_SCHED_DEL_UNREF(sched, peer->expire,
+ unref_peer(peer, "remove register expire ref"));
expire_register(ref_peer(peer, "ref for expire_register"));
ast_cli(a->fd, "Unregistered peer \'%s\'\n\n", a->argv[2]);
} else {
More information about the asterisk-commits
mailing list