[svn-commits] mnicholson: branch irroot/t38gateway-trunk r323872 - /team/irroot/t38gateway-...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 15 15:17:51 CDT 2011


Author: mnicholson
Date: Wed Jun 15 15:17:43 2011
New Revision: 323872

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=323872
Log:
support gateway stuff in res_fax cli functions

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=323872&r1=323871&r2=323872
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Wed Jun 15 15:17:43 2011
@@ -3084,8 +3084,10 @@
 		ast_cli(a->fd, "%-20.20s %-10.10s %-10d %-5.5s %-10.10s %-15.15s %-30s\n",
 			s->channame, s->tech->type, s->id,
 			(s->details->caps & AST_FAX_TECH_AUDIO) ? "G.711" : "T.38",
-			(s->details->caps & AST_FAX_TECH_SEND) ? "send" : "receive",
-			ast_fax_state_to_str(s->state), filenames);
+			(s->details->caps & AST_FAX_TECH_GATEWAY)
+				? "gateway"
+				: (s->details->caps & AST_FAX_TECH_SEND) ? "send" : "receive",
+			ast_fax_state_to_str(s->state), S_OR(filenames, ""));
 
 		ast_free(filenames);
 		ao2_unlock(s);




More information about the svn-commits mailing list