[svn-commits] kpfleming: branch dhubbard/res_fax_spandsp r204146 - /team/dhubbard/res_fax_s...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 29 14:08:08 CDT 2009


Author: kpfleming
Date: Mon Jun 29 14:08:05 2009
New Revision: 204146

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=204146
Log:
Ensure that res_fax AMI events are properly formatted.

ReceiveFAXStatus and SendFAXStatus events had a 'status' field that didn't
include a header, violating the protocol for how AMI events should be
structured. That field now has a 'Status' header.


Modified:
    team/dhubbard/res_fax_spandsp/res/res_fax.c

Modified: team/dhubbard/res_fax_spandsp/res/res_fax.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/dhubbard/res_fax_spandsp/res/res_fax.c?view=diff&rev=204146&r1=204145&r2=204146
==============================================================================
--- team/dhubbard/res_fax_spandsp/res/res_fax.c (original)
+++ team/dhubbard/res_fax_spandsp/res/res_fax.c Mon Jun 29 14:08:05 2009
@@ -695,7 +695,7 @@
 		get_manager_event_info(chan, &info);
 		manager_event(EVENT_FLAG_CALL,
 			      (details->caps & AST_FAX_TECH_RECEIVE) ? "ReceiveFAXStatus" : "SendFAXStatus",
-			      "%s\r\n"
+			      "Status: %s\r\n"
 			      "Channel: %s\r\n"
 			      "Context: %s\r\n"
 			      "Exten: %s\r\n"




More information about the svn-commits mailing list