[asterisk-commits] mmichelson: branch 1.6.0 r133103 - in /branches/1.6.0: ./ apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 23 13:59:44 CDT 2008


Author: mmichelson
Date: Wed Jul 23 13:59:43 2008
New Revision: 133103

URL: http://svn.digium.com/view/asterisk?view=rev&rev=133103
Log:
Merged revisions 133102 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r133102 | mmichelson | 2008-07-23 13:58:37 -0500 (Wed, 23 Jul 2008) | 14 lines

Merged revisions 133101 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r133101 | mmichelson | 2008-07-23 13:57:17 -0500 (Wed, 23 Jul 2008) | 6 lines

Update the "last" channel in next_channel in app_chanspy so
that the same pseudo channel isn't constantly returned.

related to issue #13124


........

................

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_chanspy.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_chanspy.c?view=diff&rev=133103&r1=133102&r2=133103
==============================================================================
--- branches/1.6.0/apps/app_chanspy.c (original)
+++ branches/1.6.0/apps/app_chanspy.c Wed Jul 23 13:59:43 2008
@@ -515,6 +515,7 @@
 
 	snprintf(channel_name, AST_CHANNEL_NAME, "%s/pseudo", dahdi_chan_name);
 	if (!strncmp(next->name, channel_name, 10)) {
+		last = next;
 		ast_channel_unlock(next);
 		goto redo;
 	} else if (next == chan) {




More information about the asterisk-commits mailing list