[asterisk-commits] mnicholson: branch irroot/t38gateway-trunk r321534 - /team/irroot/t38gateway-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 1 12:38:31 CDT 2011


Author: mnicholson
Date: Wed Jun  1 12:38:25 2011
New Revision: 321534

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=321534
Log:
use the details struct instead of the t38_gw_chan pvt member to determine if we are in gateway mode

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

Modified: team/irroot/t38gateway-trunk/res/res_fax_spandsp.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax_spandsp.c?view=diff&rev=321534&r1=321533&r2=321534
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax_spandsp.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax_spandsp.c Wed Jun  1 12:38:25 2011
@@ -203,7 +203,7 @@
 		return -1;
 	}
 
-	if (p->t38_gw_chan) {
+	if (s->details->caps & AST_FAX_TECH_GATEWAY) {
 		ast_set_flag(f, AST_FAX_FRFLAG_GATEWAY);
 		return ast_write(p->t38_gw_chan, f);
 	}




More information about the asterisk-commits mailing list