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

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


Author: mnicholson
Date: Wed Jun 22 14:14:39 2011
New Revision: 324489

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324489
Log:
don't attempt to cancel reserved fax sessions. Reserved sessions still get
canceled, but not in the way you might expect ;)

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=324489&r1=324488&r2=324489
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Wed Jun 22 14:14:39 2011
@@ -2656,7 +2656,7 @@
 static void fax_gateway_framehook_destroy(void *data) {
 	struct fax_gateway *gateway = data;
 
-	if (gateway->s) {
+	if (gateway->s && !gateway->token) {
 		if (gateway->s->tech->cancel_session) {
 			gateway->s->tech->cancel_session(gateway->s);
 		}




More information about the asterisk-commits mailing list