On 7/12/06, al gav <[EMAIL PROTECTED]> wrote:

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 => s,1,Macro(faxreceive)
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)


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


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


Well, the fact that you are calling the extension and hear the fax
signaling shows the that rxfax application is working, so far so good.

Have you set faxdetect=incoming in /etc/asterisk/zapata.conf ?
Also note that you need to have an extension named "fax" in your
"default" context.

Also look at http://www.voip-info.org/wiki-Asterisk+fax for helping info.

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?
_______________________________________________
--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

Reply via email to