mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-31 18:55:19 +00:00
Fix the AbsoluteTimeout issue with IAX/IAX2 when in native mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1962,6 +1962,10 @@ static int iax_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags,
|
||||
to = 1000;
|
||||
who = ast_waitfor_n(cs, 2, &to);
|
||||
if (!who) {
|
||||
if (ast_check_hangup(c0) || ast_check_hangup(c1)) {
|
||||
res = 0;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
f = ast_read(who);
|
||||
|
||||
Reference in New Issue
Block a user