When compiling the noojeefax app_txfax.c under agx-ast-addons you will need to make the following changes to app_txfax.c:
@@ -14,6 +14,9 @@/*** MODULEINFOspandsp ***/++#define _SPANDSP_PLC_H_+#include "asterisk.h"@@ -38,6 +41,10 @@#include "asterisk/translate.h"#include "asterisk/manager.h"+#ifndef AST_MODULE+#define AST_MODULE "app_rxfax"+#endif+static char *app = "TxFAX";static char *synopsis = "Send a FAX file";@@ -334,7 +341,7 @@// We are in simulation modeast_log(LOG_DEBUG, "Sending UserEventFaxTransmitted");manager_event(EVENT_FLAG_CALL,- "UserEventFaxTransmitted", "Channel: %s\r\nUniqueid: %s\r\nExecResult: %d\r\nTransmissionResult: %d\r\nRemoteStationID: %s\r\nLocalStationID: %s\r\nPagesTransferred: %i\r\nResolution: %i\r\nTransferRate: %i\r\nFileName: %s\r\n",+ "UserEventFaxTransmitted", "Channel: %s\r\nUniqueid: %s\r\nExecResult: %d\r\nTransmissionResult: %d\r\nRemoteStationID: %s\r\nLocalStationID: %i\r\nPagesTransferred: %i\r\nResolution: %i\r\nTransferRate: %i\r\nFileName: %s\r\n",chan->name,chan->uniqueid,res,
No comments:
Post a Comment