diff options
author | Joshua Colp <jcolp@digium.com> | 2017-04-19 08:37:17 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-04-19 08:37:17 -0500 |
commit | b0c72da6fc52353dbab770306dc7d62b022c6448 (patch) | |
tree | 6fc2670980c1d675c45ce3b836765d24b4dd93b5 | |
parent | be71be7ed2d2a8dd91f4fb4f08e0bcce1d3cbdb3 (diff) | |
parent | a3e623dd70c98d490d70a55f76b471c48f0d4283 (diff) |
Merge "Revert "bridging: Ensure successful T.38 negotation""
-rw-r--r-- | bridges/bridge_simple.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bridges/bridge_simple.c b/bridges/bridge_simple.c index 158c44353..35544f84f 100644 --- a/bridges/bridge_simple.c +++ b/bridges/bridge_simple.c @@ -56,19 +56,6 @@ static int simple_bridge_join(struct ast_bridge *bridge, struct ast_bridge_chann return 0; } - /* Request resend of T.38 negotiation if in progress and the other leg not yet T.38 - */ - if (ast_channel_get_t38_state(c0) == T38_STATE_NEGOTIATING && ast_channel_get_t38_state(c1) == T38_STATE_UNKNOWN) { - struct ast_control_t38_parameters parameters = { .request_response = AST_T38_REQUEST_PARMS, }; - ast_debug(3, "Sending T.38 param renegotiation to first channel %s.\n", ast_channel_name(c0)); - ast_indicate_data(c0, AST_CONTROL_T38_PARAMETERS, ¶meters, sizeof(parameters)); - } - if (ast_channel_get_t38_state(c1) == T38_STATE_NEGOTIATING && ast_channel_get_t38_state(c0) == T38_STATE_UNKNOWN) { - struct ast_control_t38_parameters parameters = { .request_response = AST_T38_REQUEST_PARMS, }; - ast_debug(3, "Sending T.38 param renegotiation to second channel %s.\n", ast_channel_name(c1)); - ast_indicate_data(c1, AST_CONTROL_T38_PARAMETERS, ¶meters, sizeof(parameters)); - } - return ast_channel_make_compatible(c0, c1); } |