[asterisk-users] Asterisk + fax

al gav alegator23 at yahoo.com
Wed Jul 12 07:34:18 MST 2006


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060712/07985283/attachment.htm


More information about the asterisk-users mailing list