[svn-commits] kpfleming: branch 1.6.2 r223333 - in /branches/1.6.2: ./ apps/app_fax.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 9 16:01:14 CDT 2009


Author: kpfleming
Date: Fri Oct  9 16:01:10 2009
New Revision: 223333

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223333
Log:
Merged revisions 223330 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r223330 | kpfleming | 2009-10-09 15:58:44 -0500 (Fri, 09 Oct 2009) | 10 lines
  
  Initiate T.38 switchover when acting as called party, regardless of FAX direction.
  
  SendFAX() and ReceiveFAX() can be given options to indicate whether they should
  act as the calling or called party; this mode should be used to decide whether
  to initiate a switchover to T.38, not the direction that the FAX transfer will
  take place.
  
  (closes issue #16039)
  Reported by: jamicque
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/apps/app_fax.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/apps/app_fax.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_fax.c?view=diff&rev=223333&r1=223332&r2=223333
==============================================================================
--- branches/1.6.2/apps/app_fax.c (original)
+++ branches/1.6.2/apps/app_fax.c Fri Oct  9 16:01:10 2009
@@ -379,8 +379,8 @@
 							     .transcoding_jbig = 1,
 	};
 
-	/* if in receive mode, try to use T.38 */
-	if (!s->direction) {
+	/* if in called party mode, try to use T.38 */
+	if (s->caller_mode == FALSE) {
 		/* check if we are already in T.38 mode (unlikely), or if we can request
 		 * a switch... if so, request it now and wait for the result, rather
 		 * than starting an audio FAX session that will have to be cancelled




More information about the svn-commits mailing list