mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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/branches/1.4@133101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -476,6 +476,7 @@ redo:
|
||||
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user