]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Revert "bridging: Ensure successful T.38 negotation"
authorRichard Mudgett <rmudgett@digium.com>
Fri, 14 Apr 2017 22:31:45 +0000 (17:31 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 14 Apr 2017 22:31:45 +0000 (17:31 -0500)
This reverts commit 3e7c396a51b240088c475dd53e7bac9869376129.

Change-Id: I61d49d563babff788bb557345729b200d116bd88

bridges/bridge_simple.c

index 9a04cc3c99f155124ed536ceed0453caf3d89124..570453500c9ae81df5e73dc094d17c3d5835ec75 100644 (file)
@@ -58,19 +58,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, &parameters, 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, &parameters, sizeof(parameters));
-       }
-
        return ast_channel_make_compatible(c0, c1);
 }