If the generic bridge tells us not to retry, and we have a frame to spit out then break the bridge. Props to markit in #asterisk-bugs for bringing this up.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Joshua Colp 19 years ago
parent 37d6a18db1
commit 6502bf97af

@ -3648,6 +3648,8 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha
o1nativeformats = c1->nativeformats; o1nativeformats = c1->nativeformats;
} }
res = ast_generic_bridge(c0, c1, config, fo, rc, nexteventts); res = ast_generic_bridge(c0, c1, config, fo, rc, nexteventts);
if (res != AST_BRIDGE_RETRY && fo)
break;
} }
c0->_bridge = NULL; c0->_bridge = NULL;

Loading…
Cancel
Save