dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@133102 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2008-07-23 18:58:37 +00:00
parent 3cf9da7746
commit 32e7cdb4b4
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) {