[svn-commits] mnicholson: branch irroot/t38gateway-trunk r325738 - /team/irroot/t38gateway-...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 29 15:08:44 CDT 2011


Author: mnicholson
Date: Wed Jun 29 15:08:41 2011
New Revision: 325738

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=325738
Log:
store their t38 parameters in more cases

Modified:
    team/irroot/t38gateway-trunk/res/res_fax.c

Modified: team/irroot/t38gateway-trunk/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax.c?view=diff&rev=325738&r1=325737&r2=325738
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Wed Jun 29 15:08:41 2011
@@ -2586,6 +2586,7 @@
 			 * the request through and only step in if the other
 			 * channel rejects the request */
 			ast_debug(1, "%s is attempting to negotiate T.38 with %s, we'll see what happens\n", active->name, other->name);
+			t38_parameters_ast_to_fax(&details->their_t38_parameters, control_params);
 			gateway->t38_state = T38_STATE_UNKNOWN;
 			gateway->bridge_start = ast_tvnow();
 			ao2_ref(details, -1);
@@ -2596,6 +2597,7 @@
 			ast_debug(1, "%s is attempting to negotiate T.38 but %s does not support it\n", active->name, other->name);
 			ast_debug(1, "starting T.38 gateway for T.38 channel %s and G.711 channel %s\n", active->name, other->name);
 
+			t38_parameters_ast_to_fax(&details->their_t38_parameters, control_params);
 			t38_parameters_fax_to_ast(control_params, &details->our_t38_parameters);
 
 			if (fax_gateway_start(gateway, details, chan)) {




More information about the svn-commits mailing list