[asterisk-commits] mnicholson: branch group/res_fax r238128 - /team/group/res_fax/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 6 12:13:29 CST 2010
Author: mnicholson
Date: Wed Jan 6 12:13:25 2010
New Revision: 238128
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238128
Log:
Add debug messages that report the result of the fax session upon completion.
Modified:
team/group/res_fax/res/res_fax_spandsp.c
Modified: team/group/res_fax/res/res_fax_spandsp.c
URL: http://svnview.digium.com/svn/asterisk/team/group/res_fax/res/res_fax_spandsp.c?view=diff&rev=238128&r1=238127&r2=238128
==============================================================================
--- team/group/res_fax/res/res_fax_spandsp.c (original)
+++ team/group/res_fax/res/res_fax_spandsp.c Wed Jan 6 12:13:25 2010
@@ -243,6 +243,8 @@
const char *c;
t30_stats_t stats;
+ ast_debug(5, "FAX session '%d' entering phase E\n", s->id);
+
p->isdone = 1;
t30_get_transfer_statistics(t30_state, &stats);
@@ -255,6 +257,8 @@
}
ast_string_field_set(s->details, resultstr, t30_completion_code_to_str(completion_code));
+
+ ast_debug(5, "FAX session '%d' completed with result: %s (%s)\n", s->id, s->details->result, s->details->resultstr);
if ((c = t30_get_tx_ident(t30_state))) {
ast_string_field_set(s->details, localstationid, c);
More information about the asterisk-commits
mailing list