From: David Vossel Date: Mon, 16 Feb 2009 23:30:52 +0000 (+0000) Subject: Fixes issue with AST_CONTROL_SRCUPDATE not being relayed correctly during bridging X-Git-Tag: 1.4.24-rc1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03dd54be23a6ae16406c2e630bb49a4649b2227f;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 78a0c46d77..82afa17e9b 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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 */ if ((f->frametype == AST_FRAME_VOICE) || - (f->frametype == AST_FRAME_TEXT) || - (f->frametype == AST_FRAME_VIDEO) || - (f->frametype == AST_FRAME_IMAGE) || - (f->frametype == AST_FRAME_DTMF)) { + (f->frametype == AST_FRAME_TEXT) || + (f->frametype == AST_FRAME_VIDEO) || + (f->frametype == AST_FRAME_IMAGE) || + (f->frametype == AST_FRAME_DTMF) || + (f->frametype == AST_FRAME_CONTROL)) { /* monitored dtmf take out of the bridge. * check if we monitor the specific source. */