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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 22 14:40:53 CDT 2011


Author: mnicholson
Date: Wed Jun 22 14:40:50 2011
New Revision: 324554

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324554
Log:
don't balk if gateway->s exists, it's just a reserved session

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=324554&r1=324553&r2=324554
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Wed Jun 22 14:40:50 2011
@@ -2392,10 +2392,6 @@
  * \return 0 on error 1 on success*/
 static int fax_gateway_start(struct fax_gateway *gateway, struct ast_fax_session_details *details, struct ast_channel *chan)
 {
-	if (gateway->s) {
-		return -1;
-	}
-
 	/* create the FAX session */
 	if (!(gateway->s = fax_session_new(details, chan, gateway->s, gateway->token))) {
 		gateway->token = NULL;




More information about the asterisk-commits mailing list