<div>Hi all </div> <div> </div> <div>I need a help with asterisk+fax -> fax to email</div> <div>I am trying to setup fax to email with asterisk with no success. </div> <div> </div> <div>I have asterisk 1.2.9.1 running on CentOS</div> <div>i have created extension 300 which should receive faxes.</div> <div> </div> <div>extensions.conf</div> <div>-----------------------------</div> <div>exten => 300,1,Goto(fax,s,1)<BR>exten => 300,2,Congestion<BR>exten => 300,3,Hangup</div> <div> </div> <div>exten => s,1,Macro(faxreceive)<BR>exten => h,1,system(/usr/bin/mail -s "Fax from ${CALLERIDNUM} ${CALLERIDNAME}" ${EMAILADDR} < ${FAXFILE})</div> <div> </div> <div>[macro-faxreceive]<BR>exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)<BR>exten => s,2,Set(EMAILADDR=${FAX_RX_EMAIL})<BR>exten => s,3,rxfax(${FAXFILE}|debug)<BR>exten => s,103,Set(EMAILADDR=${FAX_RX_EMAIL})<BR>exten =>
s,104,Goto(3)</div> <div> </div> <div> </div> <div>When i am trying to call 300 extension i am receiving broken fax noise.</div> <div>in addition on the CLI> i see the next line</div> <div> Executing RxFAX("SIP/5060-08d6f170", "/var/spool/asterisk/fax/1152714504.466.tif|debug") in new stack</div> <div> </div> <div>But the file never been created.</div> <div> </div> <div> </div> <div>In /var/log/asterisk/full i see these lines:</div> <div> </div> <div>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12
17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier down<BR>Jul 12 17:28:24 DEBUG[25029] app_rxfax.c: FLOW HDLC carrier up</div> <div> </div> <div> </div> <div>Any help with fax to email with Asterix will be appreciated.</div> <div> </div><p> 
                <hr size=1>Do you Yahoo!?<br> Everyone is raving about the <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>