[asterisk-users] spandsp and app_*fax.c
Warrick Zedi
wzedi at noojeeit.com.au
Sun Jul 9 21:33:27 MST 2006
Greetings,
Does anyone know where I can get app_txfax and app_rxfax thatll work with
spandsp 0.0.3pre22?
Ive tried the source in the snapshots/test-apps directory. Ive also tried
the files that came with t38bits.tgz. This is what I get out of make:
make[1]: *** No rule to make target
`/usr/local/include/spandsp/alaw_ulaw.h', needed by `app_rxfax.o'. Stop.
make[1]: Leaving directory `/usr/src/asterisk-1.2.9.1/apps'
make: *** [subdirs] Error 1
My real issue is that I cant get txfax to send a fax without a core dump
using 0.0.2pre26 with Asterisk 1.2.9.1. Ive tried many versions of libtiff;
3.6.0, 3.6.1, 3.5.7, 3.8.2 and others - always a core dump.
Ive tried the same thing with a brand new trixbox install core dump. I
did get a step further by commenting lines in t4.c but I know this is not a
real solution. Short of trying to debug this (which Im going to try while
waiting for responses to this) what should I be trying to do?
Any advice would be very much appreciated. Heres a backtrace from gdb if
this is at all helpful.
(gdb) frame
#0 0x00930540 in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0 0x00930540 in _int_malloc () from /lib/tls/libc.so.6
#1 0x009320b1 in malloc () from /lib/tls/libc.so.6
#2 0x00932869 in realloc () from /lib/tls/libc.so.6
#3 0x00738f55 in t4_encode_eol (s=0x9f5820) at t4.c:404
#4 0x0073af7e in t4_encode_row (s=0xb7b163d0,
bp=0x8c4b348 'ÿ' <repeats 200 times>...) at t4.c:1570
#5 0x0073b76c in t4_tx_start_page (s=0xb7b163d0) at t4.c:1854
#6 0x0073ee4e in hdlc_accept (user_data=0xb7b163d0, ok=1,
msg=0xb7b16644 "ÿ\023\204ê}", len=3) at t30.c:1135
#7 0x007328a5 in hdlc_rx_bit (s=0xb7b1661c, new_bit=0) at hdlc.c:300
#8 0x0072f861 in fsk_rx (s=0xb7b169d8, amp=0x8c1a6fc, len=160) at fsk.c:344
#9 0x0073f7bd in fax_rx (s=0xb7b163d0, buf=0x8c1a6fc, len=160) at
t30.c:2712
#10 0x00896427 in txfax_exec (chan=0x8bfc770, data=0x8bfc1c0)
at app_txfax.c:230
#11 0x0808eac2 in ast_pbx_outgoing_app (
type=0x8c4ba4c 'ÿ' <repeats 200 times>..., format=64, data=0x8c4bb4c,
timeout=20000, app=0x8c4bc4c 'ÿ' <repeats 200 times>...,
appdata=0x8c4bd4c 'ÿ' <repeats 200 times>..., reason=0xb7b18438, sync=2,
cid_num=0x8c4c050 'ÿ' <repeats 200 times>...,
cid_name=0x8c4c150 'ÿ' <repeats 200 times>..., vars=0x0,
account=0x8c4c250 'ÿ' <repeats 172 times>, locked_channel=0x0) at
pbx.c:553
#12 0x002e736d in attempt_thread (data=0x8c4b938) at pbx_spool.c:262
#13 0x00baa371 in start_thread () from /lib/tls/libpthread.so.0
#14 0x009959be in clone () from /lib/tls/libc.so.6
(gdb)
Cheers,
Warrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060709/8f96b40e/attachment.htm
More information about the asterisk-users
mailing list