Hey All, I'm still (since April) having problems getting RxFax to work over an ISDN4Linux channel. Just wondering if anyone has had any luck getting it to work? I have done a CVS update today (about half hour ago) and made sure I have the latest version of spandsp according to Steve's website (spandsp-0.0.1k). When I was compiling asterisk, I got the following warnings: ================================================================= gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/08/04-10:06:15\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fPIC -c -o app_rxfax.o app_rxfax.c In file included from ../include/spandsp.h:40, from app_rxfax.c:29: ../include/spandsp/arctan2.h: In function `arctan2': ../include/spandsp/arctan2.h:51: warning: implicit declaration of function `fabs' In file included from ../include/spandsp.h:47, from app_rxfax.c:29: ../include/spandsp/dc_restore.h: In function `fsaturate': ../include/spandsp/dc_restore.h:105: warning: implicit declaration of function `lrint' app_rxfax.c: At top level: app_rxfax.c:50: warning: no previous prototype for `t30_flush' app_rxfax.c:57: warning: no previous prototype for `phase_e_handler' gcc -shared -Xlinker -x -I/usr/src/spandsp-0.0.1/src -o app_rxfax.so app_rxfax.o -L/usr/src/spandsp-0.0.1/src -lspandsp -ltiff gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/08/04-10:06:15\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fPIC -c -o app_txfax.o app_txfax.c In file included from ../include/spandsp.h:40, from app_txfax.c:27: ../include/spandsp/arctan2.h: In function `arctan2': ../include/spandsp/arctan2.h:51: warning: implicit declaration of function `fabs' In file included from ../include/spandsp.h:47, from app_txfax.c:27: ../include/spandsp/dc_restore.h: In function `fsaturate': ../include/spandsp/dc_restore.h:105: warning: implicit declaration of function `lrint' app_txfax.c: At top level: app_txfax.c:46: warning: no previous prototype for `t30_flush' app_txfax.c:52: warning: no previous prototype for `phase_e_handler' gcc -shared -Xlinker -x -I/usr/src/spandsp-0.0.1/src -o app_txfax.so app_txfax.o -L/usr/src/spandsp-0.0.1/src -lspandsp -ltiff ================================================================= Although it continued to compile without any other errors or warnings. When I try to receive a fax (sent from a Rockwell HCF modem) I get the following output in the asterisk console, and the originating fax doesn't handshake with it: ================================================================= -- Executing Goto("Modem[i4l]/ttyI0", "fax|s|1") in new stack -- Goto (fax,s,1) -- Executing Macro("Modem[i4l]/ttyI0", "faxreceive") in new stack -- Executing RxFAX("Modem[i4l]/ttyI0", "/var/spool/asterisk-fax/1087693402.1.tif") in new stack Jun 20 10:34:25 NOTICE[294927]: channel.c:1651 ast_set_read_format: Unable to find a path from SLINR to UNKN Jun 20 10:34:25 WARNING[294927]: app_rxfax.c:253 rxfax_exec: Unable to restore read format on 'Modem[i4l]/ttyI0' Jun 20 10:34:25 NOTICE[294927]: channel.c:1618 ast_set_write_format: Unable to find a path from UNKN to SLINR Jun 20 10:34:25 WARNING[294927]: app_rxfax.c:259 rxfax_exec: Unable to restore write format on 'Modem[i4l]/ttyI0' == Spawn extension (macro-faxreceive, s, 1) exited non-zero on 'Modem[i4l]/ttyI0' in macro 'faxreceive' == Spawn extension (fax, s, 1) exited non-zero on 'Modem[i4l]/ttyI0' -- Hungup 'Modem[i4l]/ttyI0' ================================================================= Does anyone have any idea how I can get this to work? At the moment I am only really interested in receiving faxes, but sending might be nice in the future. Regards Darryl
Hello. Im trying to get Fax-to-email working. I've installed Rx and txfax, spanDSP and every package needed. I've done everything on this page (altough, some bash-scripting problems): http://www.voip-info.org/tiki-index.php?page=Asterisk+Fax+to+email anyway, when i try to send an fax, i get theese messages in asterisk: -- Executing Goto("SIP/5060-08148520", "fax|2201|1") in new stack -- Goto (fax,2201,1) -- Executing Macro("SIP/5060-08148520", "faxreceive") in new stack -- Executing SetVar("SIP/5060-08148520", "FAXFILE=/var/spool/asterisk/fax/1126714845.5.tif") in new stack -- Executing DBget("SIP/5060-08148520", "EXTEMAIL=2201/xEmail") in new stack -- DBget: varname=EXTEMAIL, family=2201, key=xEmail -- DBget: Value not found in database. -- Executing SetVar("SIP/5060-08148520", "EXTMAIL=mail@domain.no") in new stack -- Executing Goto("SIP/5060-08148520", "7") in new stack -- Goto (macro-faxreceive,s,7) -- Executing RxFAX("SIP/5060-08148520", "/var/spool/asterisk/fax/1126714845.5.tif") in new stack -- Executing System("SIP/5060-08148520", "/var/lib/asterisk/scripts/mailfax "*******" "*******" "FAX" "mail@domain.no" "/var/spool/asterisk/fax/1126714845.5.tif" "company"") in new stack (edited out some personal details) When i look in /var/spool/asterisk/fax/. No *.tif file is created. The person sending faxes get's an error or alert on the fax machine. What can I do? I've chmodded (-R) /var/spool/asterisk/fax to 777. I'm trying to recieve Fax over the internet. I'm using gentoo. When I call the fax I hear something that sounds like a Modem 56k(--) dialing on the web. Please help me. Regards, Arne Morten