Hi all
I need a help with asterisk+fax -> fax to email
I am trying to setup fax to email with asterisk with no success.
I have asterisk 1.2.9.1 running on CentOS
i have created extension 300 which should receive faxes.
extensions.conf
-----------------------------
exten => 300,1,Goto(fax,s,1)
exten => 300,2,Congestion
exten => 300,3,Hangup
exten => 300,2,Congestion
exten => 300,3,Hangup
exten => s,1,Macro(faxreceive)
exten => h,1,system(/usr/bin/mail -s "Fax from ${CALLERIDNUM} ${CALLERIDNAME}" ${EMAILADDR} < ${FAXFILE})
exten => h,1,system(/usr/bin/mail -s "Fax from ${CALLERIDNUM} ${CALLERIDNAME}" ${EMAILADDR} < ${FAXFILE})
[macro-faxreceive]
exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten => s,2,Set(EMAILADDR=${FAX_RX_EMAIL})
exten => s,3,rxfax(${FAXFILE}|debug)
exten => s,103,Set(EMAILADDR=${FAX_RX_EMAIL})
exten => s,104,Goto(3)
exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten => s,2,Set(EMAILADDR=${FAX_RX_EMAIL})
exten => s,3,rxfax(${FAXFILE}|debug)
exten => s,103,Set(EMAILADDR=${FAX_RX_EMAIL})
exten => s,104,Goto(3)
When i am trying to call 300 extension i am receiving broken fax noise.
in addition on the CLI> i see the next line
Executing RxFAX("SIP/5060-08d6f170", "/var/spool/asterisk/fax/1152714504.466.tif|debug") in new stack
But the file never been created.
In /var/log/asterisk/full i see these lines:
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down
Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up
Any help with fax to email with Asterix will be appreciated.
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users