[Asterisk-Users] RxFax problems

Darryl Ross spam at afoyi.com
Sat Jun 19 18:40:10 MST 2004


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






More information about the asterisk-users mailing list