[asterisk-commits] file: branch 1.6.1 r196723 - in /branches/1.6.1: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 26 08:46:42 CDT 2009
Author: file
Date: Tue May 26 08:46:38 2009
New Revision: 196723
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196723
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.1/ (props changed)
branches/1.6.1/channels/chan_sip.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=196723&r1=196722&r2=196723
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Tue May 26 08:46:38 2009
@@ -14178,6 +14178,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