Fixes issue with AST_CONTROL_SRCUPDATE not being relayed correctly during bridging

This should have been committed with rev176247, but I missed it.  srcupdate frames no longer break out of the native bridge, but are not being sent to the other call leg either.  This fixs that.

issue #13749




git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@176354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel
2009-02-16 23:30:52 +00:00
parent 4d808232cf
commit 03dd54be23

View File

@@ -3757,10 +3757,11 @@ static enum ast_bridge_result iax2_bridge(struct ast_channel *c0, struct ast_cha
} }
other = (who == c0) ? c1 : c0; /* the 'other' channel */ other = (who == c0) ? c1 : c0; /* the 'other' channel */
if ((f->frametype == AST_FRAME_VOICE) || if ((f->frametype == AST_FRAME_VOICE) ||
(f->frametype == AST_FRAME_TEXT) || (f->frametype == AST_FRAME_TEXT) ||
(f->frametype == AST_FRAME_VIDEO) || (f->frametype == AST_FRAME_VIDEO) ||
(f->frametype == AST_FRAME_IMAGE) || (f->frametype == AST_FRAME_IMAGE) ||
(f->frametype == AST_FRAME_DTMF)) { (f->frametype == AST_FRAME_DTMF) ||
(f->frametype == AST_FRAME_CONTROL)) {
/* monitored dtmf take out of the bridge. /* monitored dtmf take out of the bridge.
* check if we monitor the specific source. * check if we monitor the specific source.
*/ */