[asterisk-commits] irroot: branch 10 r338904 - /branches/10/res/res_fax.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 2 09:17:36 CDT 2011


Author: irroot
Date: Sun Oct  2 09:17:32 2011
New Revision: 338904

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=338904
Log:
Remove T38 Gateway capability when detaching framehook.

SET(FAXOPT(gateway)=no) does not remove the capability when 
detaching the framehook.

small patch to fix this problem.


Modified:
    branches/10/res/res_fax.c

Modified: branches/10/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_fax.c?view=diff&rev=338904&r1=338903&r2=338904
==============================================================================
--- branches/10/res/res_fax.c (original)
+++ branches/10/res/res_fax.c Sun Oct  2 09:17:32 2011
@@ -2843,6 +2843,8 @@
 			}
 		}
 
+		details->caps &= ~AST_FAX_TECH_GATEWAY;
+
 		ao2_ref(details, -1);
 		return NULL;
 	}




More information about the asterisk-commits mailing list