diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-26 19:29:02 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-26 19:29:02 +0000 |
commit | 49e4bdf5d9e467093c72597cad1ef5f71af426f8 (patch) | |
tree | 8558af395a481a402d8f9a6d76ccc99c629fd017 /main/channel.c | |
parent | fe79e2ee5c213c9defbfcfebc0a69ce403f0c90e (diff) |
Merged revisions 203699 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r203699 | file | 2009-06-26 16:27:24 -0300 (Fri, 26 Jun 2009) | 2 lines
Improve T.38 negotiation by exchanging session parameters between application and channel.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@203701 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index 4e0be1000..f0f4ef0e2 100644 --- a/main/channel.c +++ b/main/channel.c @@ -3046,6 +3046,7 @@ static int attribute_const is_visible_indication(enum ast_control_frame_type con case AST_CONTROL_ANSWER: case AST_CONTROL_HANGUP: case AST_CONTROL_T38: + case AST_CONTROL_T38_PARAMETERS: return 0; case AST_CONTROL_CONGESTION: @@ -3142,6 +3143,7 @@ int ast_indicate_data(struct ast_channel *chan, int _condition, case AST_CONTROL_HOLD: case AST_CONTROL_UNHOLD: case AST_CONTROL_T38: + case AST_CONTROL_T38_PARAMETERS: /* Nothing left to do for these. */ res = 0; break; @@ -4752,6 +4754,7 @@ static enum ast_bridge_result ast_generic_bridge(struct ast_channel *c0, struct case AST_CONTROL_VIDUPDATE: case AST_CONTROL_SRCUPDATE: case AST_CONTROL_T38: + case AST_CONTROL_T38_PARAMETERS: ast_indicate_data(other, f->subclass, f->data, f->datalen); if (jb_in_use) { ast_jb_empty_and_reset(c0, c1); |