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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@133102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson 2008-07-23 18:58:37 +00:00
parent ce391f2945
commit 1908413bd6
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ redo:
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) {