<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Dear <SPAN
class=578550309-22012007>list</SPAN>,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562415314-19012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>The company I'm
working for is trying to use <SPAN class=578550309-22012007>app_rxfax
</SPAN>to receive faxes on an Asterisk machine. Our initial tests looked very
promising, but unfortunately we've encountered some problems. We've been trying
to solve these problems for quite some time now, but we're running out of
options. So I really hope <SPAN class=578550309-22012007>that somebody
</SPAN>can give some help here.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Basically our set-up
is this: We have an Asterisk server <SPAN class=578550309-22012007>(version
1.2.7) </SPAN>with an ISDN trunk<SPAN class=578550309-22012007> (Sangoma
A104D)</SPAN>, we've configured asterisk to run rxfax on a specified
extension. Originally we started out with spandsp 0.0.2pre26 and the
original app_rxfax<SPAN class=578550309-22012007> for spandsp 0.0.2</SPAN>. Some
of the faxes were coming in perfectly, but soon we noticed that quite often
there were substantial pieces of the fax missing in the resulting tif file.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>We've tried the
following to solve these problems:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562415314-19012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>- We've checked the
timing settings fo<SPAN class=578550309-22012007>r</SPAN> the ISDN trunk, these
seem to be ok.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>- We've tried
several versions of libtiff (currently we are using 3.7.2).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>- We've tried using
0.0.3 versions of spandsp (since we're using asterisk 1.2.7 we had to modify
app_rxfax.c to work).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>- We've created a
custom dialplan application to disable the echo cancellation on the isdn channel
on which the fax is received.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>- We've tried
various settings for t30_set_supported_compressions,
t30_set_supported_image_sizes, t30_set_supported_modems and
t30_set_supported_resolutions (I must confes that I didn't really know which
settings to use here, but we have tried a lot of them).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>- We've tried
several fax machines to send the faxes, ranging from simple fax-modems to large
dedicated fax machines.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562415314-19012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=562415314-19012007>But
still a lot of faxes give problems, either the tif is missing large
portions, or the fax isn't received at a<SPAN
class=578550309-22012007>l</SPAN>l. At the bottom of this mail are 2
examples of the logging when it goes wrong. I really hope that <SPAN
class=578550309-22012007>somebody </SPAN>can give a few pointers. <SPAN
class=578550309-22012007>Thanks in advance,</SPAN></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=562415314-19012007><SPAN
class=578550309-22012007></SPAN></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Kind
regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Ardjan
Zwartjes,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562415314-19012007>Telecats</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562415314-19012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>======= Example 1
=========================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562415314-19012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Jan 19 14:49:14
DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0<BR>Jan 19 14:49:14 DEBUG[24218]
app_rxfax.c: FLOW FAX Set tx type 4<BR>Jan 19 14:49:17 DEBUG[24218] app_rxfax.c:
FLOW FAX Set rx type 4<BR>Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set
tx type 0<BR>Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type
8<BR>Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0<BR>Jan 19
14:49:20 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29
(-22.18dBm0)<BR>Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type
0<BR>Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4<BR>Jan 19
14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8<BR>Jan 19 14:49:23
DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0<BR>Jan 19 14:49:23 DEBUG[24218]
app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-17.84dBm0)<BR>Jan 19
14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4<BR>Jan 19 14:49:38
DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0<BR>Jan 19 14:49:39 DEBUG[24218]
app_rxfax.c: FLOW FAX Set rx type 0<BR>Jan 19 14:49:39 DEBUG[24218] app_rxfax.c:
FLOW FAX Set tx type 4<BR>Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set
rx type 8<BR>Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type
0<BR>Jan 19 14:49:42 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 +
V.21 to V.29 (-19.13dBm0)<BR>Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX
Set rx type 4<BR>Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type
0<BR>Jan 19 14:49:49 DEBUG[24218] app_rxfax.c:
==============================================================================<BR>Jan
19 14:49:49 DEBUG[24218] app_rxfax.c: Pages transferred: 1<BR>Jan 19
14:49:49 DEBUG[24218] app_rxfax.c: Image
size: 1728 x 1192<BR>Jan 19
14:49:49 DEBUG[24218] app_rxfax.c: Image resolution 8037 x
7700<BR>Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Transfer
Rate: 9600<BR>Jan 19 14:49:49 DEBUG[24218]
app_rxfax.c: Bad
rows 0<BR>Jan
19 14:49:49 DEBUG[24218] app_rxfax.c: Longest bad row run 0<BR>Jan 19 14:49:49
DEBUG[24218] app_rxfax.c: Compression type 3<BR>Jan 19
14:49:49 DEBUG[24218] app_rxfax.c: Image size (bytes) 0<BR>Jan 19 14:49:49
DEBUG[24218] app_rxfax.c:
==============================================================================<BR>Jan
19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0<BR>Jan 19 14:49:49
DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4<BR>Jan 19 14:49:51 DEBUG[24218]
app_rxfax.c: FLOW FAX Set rx type 0<BR>Jan 19 14:49:51 DEBUG[24218] app_rxfax.c:
FLOW FAX Set tx type 1<BR>Jan 19 14:49:51 DEBUG[24218] app_rxfax.c:
==============================================================================<BR>Jan
19 14:49:51 DEBUG[24218] app_rxfax.c: Fax successfully received.<BR>Jan 19
14:49:51 DEBUG[24218] app_rxfax.c: Remote station id: </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Jan 19 14:49:51
DEBUG[24218] app_rxfax.c: Local station id: "Test Fax"<BR>Jan 19 14:49:51
DEBUG[24218] app_rxfax.c: Pages transferred: 1<BR>Jan 19 14:49:51 DEBUG[24218]
app_rxfax.c: Image resolution: 8037 x 7700<BR>Jan 19 14:49:51 DEBUG[24218]
app_rxfax.c: Transfer Rate: 9600<BR>Jan 19 14:49:51
DEBUG[24218] app_rxfax.c:
==============================================================================<BR>Jan
19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 13<BR>Jan 19 14:49:51
DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete<BR>Jan 19 14:49:51
DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 13<BR>Jan 19 14:49:51
DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete<BR>Jan 19 14:49:53
DEBUG[24218] app_rxfax.c: Got hangup<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>=========Example
2==================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=562415314-19012007>Jan 18 09:56:12
VERBOSE[4185] logger.c: -- Executing RxFAX("Zap/31-1",
"/tmp/1169110572.239.tif|debug") in new stack<BR>Jan 18 09:56:15 DEBUG[4185]
app_rxfax.c: FLOW FAX Set rx type 0<BR>Jan 18 09:56:15 DEBUG[4185] app_rxfax.c:
FLOW FAX Set tx type 4<BR>Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set
rx type 4<BR>Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type
0<BR>Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 8<BR>Jan 18
09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0<BR>Jan 18 09:56:26
DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0<BR>Jan 18 09:56:26 DEBUG[4185]
app_rxfax.c: FLOW FAX Set tx type 4<BR>Jan 18 09:56:27 DEBUG[4185] app_rxfax.c:
FLOW FAX Set rx type 0<BR>Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set
tx type 1<BR>Jan 18 09:56:27 DEBUG[4185] app_rxfax.c:
==============================================================================<BR>Jan
18 09:56:27 DEBUG[4185] app_rxfax.c: Fax receive not successful - result (31)
Carrier lost during fax receive.<BR>Jan 18 09:56:27 DEBUG[4185] app_rxfax.c:
==============================================================================<BR>Jan
18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 13<BR>Jan 18 09:56:27
DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete<BR>Jan 18 09:56:27
DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 13<BR>Jan 18 09:56:27 DEBUG[4185]
app_rxfax.c: FLOW FAX FAX exchange complete<BR>Jan 18 09:56:39 DEBUG[4185]
app_rxfax.c: Got hangup<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>