From: Richard Mudgett Date: Fri, 14 Apr 2017 22:31:57 +0000 (-0500) Subject: Revert "bridging: Ensure successful T.38 negotation" X-Git-Tag: 14.5.0-rc1~42^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9464bc3f088ff5f5f37d8c01ba1c5fcc09015077;p=thirdparty%2Fasterisk.git Revert "bridging: Ensure successful T.38 negotation" This reverts commit 443058f154923b565bafb30e20e9ec35f253a84b. Change-Id: Ifae215f971d2b235a2c2d61dd74c5dd8abad57ba --- diff --git a/bridges/bridge_simple.c b/bridges/bridge_simple.c index 22089aa9ba..fc12bd16af 100644 --- a/bridges/bridge_simple.c +++ b/bridges/bridge_simple.c @@ -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, ¶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); }