[asterisk-commits] mmichelson: branch 1.4 r133101 - /branches/1.4/apps/app_chanspy.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 23 13:57:17 CDT 2008
Author: mmichelson
Date: Wed Jul 23 13:57:17 2008
New Revision: 133101
URL: http://svn.digium.com/view/asterisk?view=rev&rev=133101
Log:
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.4/apps/app_chanspy.c
Modified: branches/1.4/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_chanspy.c?view=diff&rev=133101&r1=133100&r2=133101
==============================================================================
--- branches/1.4/apps/app_chanspy.c (original)
+++ branches/1.4/apps/app_chanspy.c Wed Jul 23 13:57:17 2008
@@ -476,6 +476,7 @@
snprintf(channel_name, AST_CHANNEL_NAME, "%s/pseudo", dahdi_chan_name);
if (!strncmp(this->name, channel_name, 10)) {
+ last = this;
ast_channel_unlock(this);
goto redo;
} else if (this == chan) {
More information about the asterisk-commits
mailing list