Fix an issue where a T38 control frame would get dropped.
authorJoshua Colp <jcolp@digium.com>
Wed, 18 Mar 2009 22:22:56 +0000 (22:22 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 18 Mar 2009 22:22:56 +0000 (22:22 +0000)
If two channels were bridged together using a generic bridge the T38
control frame would get passed up instead of being indicated on the
other channel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183057 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 475e10a..719e9f6 100644 (file)
@@ -4522,6 +4522,7 @@ static enum ast_bridge_result ast_generic_bridge(struct ast_channel *c0, struct
                        case AST_CONTROL_UNHOLD:
                        case AST_CONTROL_VIDUPDATE:
                        case AST_CONTROL_SRCUPDATE:
                        case AST_CONTROL_UNHOLD:
                        case AST_CONTROL_VIDUPDATE:
                        case AST_CONTROL_SRCUPDATE:
+                       case AST_CONTROL_T38:
                                ast_indicate_data(other, f->subclass, f->data.ptr, f->datalen);
                                if (jb_in_use) {
                                        ast_jb_empty_and_reset(c0, c1);
                                ast_indicate_data(other, f->subclass, f->data.ptr, f->datalen);
                                if (jb_in_use) {
                                        ast_jb_empty_and_reset(c0, c1);