<BR><BR><B><I>Maxim Vexler <hq4ever@gmail.com></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <div>On 7/12/06, al gav <ALEGATOR23@YAHOO.COM>wrote:<BR>><BR>> Hi all<BR>><BR>> I need a help with asterisk+fax -> fax to email<BR>> I am trying to setup fax to email with asterisk with no success.<BR>><BR>> I have asterisk 1.2.9.1 running on CentOS<BR>> i have created extension 300 which should receive faxes.<BR>><BR>> extensions.conf<BR>> -----------------------------<BR>> exten => 300,1,Goto(fax,s,1)<BR>> exten => 300,2,Congestion<BR>> exten => 300,3,Hangup<BR>><BR>> exten => s,1,Macro(faxreceive)<BR>> exten => h,1,system(/usr/bin/mail -s "Fax from ${CALLERIDNUM}<BR>> ${CALLERIDNAME}" ${EMAILADDR} < ${FAXFILE})<BR>><BR>> [macro-faxreceive]<BR>> exten =><BR>>
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)<BR>><BR>><BR>> When i am trying to call 300 extension i am receiving broken fax noise.<BR>> in addition on the CLI> i see the next line<BR>> Executing RxFAX("SIP/5060-08d6f170",<BR>> "/var/spool/asterisk/fax/1152714504.466.tif|debug") in new<BR>> stack<BR>><BR>> But the file never been created.<BR>><BR>><BR>> In /var/log/asterisk/full i see these lines:<BR>><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<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>><BR>><BR>> Any help with fax to email with Asterix will be appreciated.<BR>><BR>><BR>><BR>> ________________________________<BR>> Do you Yahoo!?<BR>> Everyone is raving about the all-new Yahoo! Mail Beta.<BR>><BR>><BR>>
_______________________________________________<BR>> --Bandwidth and Colocation provided by Easynews.com --<BR>><BR>> asterisk-users mailing list<BR>> To UNSUBSCRIBE or update options visit:<BR>><BR>> http://lists.digium.com/mailman/listinfo/asterisk-users<BR>><BR><BR>Well, the fact that you are calling the extension and hear the fax<BR>signaling shows the that rxfax application is working, so far so good.<BR><BR>Have you set faxdetect=incoming in /etc/asterisk/zapata.conf ?</div> <div> </div> <div>--------------------------------------</div> <div>Yes</div> <div><FONT color=#0000ff>--------------------------------------</FONT></div> <div><BR>Also note that you need to have an extension named "fax" in your<BR>"default" context.</div> <div>------------------------------------------------</div> <div>In order to check the fax i put directly extension in the default context</div> <div>[default]</div> <div>exten =>
300,1,Macro(faxreceive)</div> <div>------------------------------------------------</div><FONT style="BACKGROUND-COLOR: #0000ff" color=#4040ff></FONT></BLOCKQUOTE> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <div><BR>Also look at http://www.voip-info.org/wiki-Asterisk+fax for helping info.<BR></div> <div> </div> <div>------------------------------------------------</div> <div>It's sounds like the difference between the speeds of the faxes on both sides, but i am not sure about that.</div> <div> </div> <div>Again the goal is to receive fax on asterisk and mail them to different mails.</div> <div> </div> <div>Thank you Maxim.</div> <div><BR>-- <BR>Cheers,<BR>Maxim Vexler<BR><BR>"Free as in Freedom" - Do u GNU ?<BR>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></div></BLOCKQUOTE><BR><p> 
                <hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.