Revision
16940
Author
brian
Date
2010-03-08 12:20:06 -0600 (Mon, 08 Mar 2010)

Log Message

 put tx page count if its TX 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c (16939 => 16940)


--- freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c	2010-03-08 17:14:04 UTC (rev 16939)
+++ freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c	2010-03-08 18:20:06 UTC (rev 16940)
@@ -185,7 +185,7 @@
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Remote station id: %s\n", far_ident);
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Local station id:  %s\n", local_ident);
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Pages transferred: %i\n",
-					  pvt->app_mode == FUNCTION_TX ? t.pages_rx : t.pages_rx);
+					  pvt->app_mode == FUNCTION_TX ? t.pages_tx : t.pages_rx);
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Total fax pages:   %i\n", t.pages_in_file);
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Image resolution:  %ix%i\n", t.x_resolution, t.y_resolution);
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Transfer Rate:     %i\n", t.bit_rate);