Dear list, The company I'm working for is trying to use app_rxfax 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 that somebody can give some help here. Basically our set-up is this: We have an Asterisk server (version 1.2.7) with an ISDN trunk (Sangoma A104D), 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 for spandsp 0.0.2. 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. We've tried the following to solve these problems: - We've checked the timing settings for the ISDN trunk, these seem to be ok. - We've tried several versions of libtiff (currently we are using 3.7.2). - 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). - We've created a custom dialplan application to disable the echo cancellation on the isdn channel on which the fax is received. - 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). - We've tried several fax machines to send the faxes, ranging from simple fax-modems to large dedicated fax machines. But still a lot of faxes give problems, either the tif is missing large portions, or the fax isn't received at all. At the bottom of this mail are 2 examples of the logging when it goes wrong. I really hope that somebody can give a few pointers. Thanks in advance, Kind regards, Ardjan Zwartjes, Telecats ======= Example 1 ======================== Jan 19 14:49:14 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:14 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:20 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-22.18dBm0) Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-17.84dBm0) Jan 19 14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 Jan 19 14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:39 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:39 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:42 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-19.13dBm0) Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Pages transferred: 1 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image size: 1728 x 1192 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image resolution 8037 x 7700 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Transfer Rate: 9600 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Bad rows 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Longest bad row run 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Compression type 3 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image size (bytes) 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 1 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Fax successfully received. Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Remote station id: Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Local station id: "Test Fax" Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Pages transferred: 1 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Image resolution: 8037 x 7700 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Transfer Rate: 9600 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 13 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 13 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete Jan 19 14:49:53 DEBUG[24218] app_rxfax.c: Got hangup =========Example 2=================Jan 18 09:56:12 VERBOSE[4185] logger.c: -- Executing RxFAX("Zap/31-1", "/tmp/1169110572.239.tif|debug") in new stack Jan 18 09:56:15 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 Jan 18 09:56:15 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 4 Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 4 Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0 Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 8 Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0 Jan 18 09:56:26 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 Jan 18 09:56:26 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 4 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 1 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: ============================================================================Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: Fax receive not successful - result (31) Carrier lost during fax receive. Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: ============================================================================Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 13 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 13 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete Jan 18 09:56:39 DEBUG[4185] app_rxfax.c: Got hangup -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070122/a4af5970/attachment.htm
Ardjan Zwartjes wrote:> Dear list, > > The company I'm working for is trying to use app_rxfax 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 that somebody can give some help here.Save yourself some time and frustration and type iaxmodem and HylaFAX+ on the Asterisk machine, you won't regret it. http://iaxmodem.sourceforge.net http://hylafax.sourceforge.net Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Just out of curiosity. Would you mind sharing that app_rxfax.c file that you modified to work with SpanDSP 0.0.3? TIA, Darren ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Ardjan Zwartjes Sent: Monday, January 22, 2007 2:12 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Problems with rxfax Dear list, The company I'm working for is trying to use app_rxfax 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 that somebody can give some help here. Basically our set-up is this: We have an Asterisk server (version 1.2.7) with an ISDN trunk (Sangoma A104D), 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 for spandsp 0.0.2. 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. We've tried the following to solve these problems: - We've checked the timing settings for the ISDN trunk, these seem to be ok. - We've tried several versions of libtiff (currently we are using 3.7.2). - 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). - We've created a custom dialplan application to disable the echo cancellation on the isdn channel on which the fax is received. - 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). - We've tried several fax machines to send the faxes, ranging from simple fax-modems to large dedicated fax machines. But still a lot of faxes give problems, either the tif is missing large portions, or the fax isn't received at all. At the bottom of this mail are 2 examples of the logging when it goes wrong. I really hope that somebody can give a few pointers. Thanks in advance, Kind regards, Ardjan Zwartjes, Telecats ======= Example 1 ======================== Jan 19 14:49:14 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:14 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:20 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-22.18dBm0) Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-17.84dBm0) Jan 19 14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 Jan 19 14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:39 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:39 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:42 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + V.21 to V.29 (-19.13dBm0) Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Pages transferred: 1 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image size: 1728 x 1192 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image resolution 8037 x 7700 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Transfer Rate: 9600 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Bad rows 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Longest bad row run 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Compression type 3 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image size (bytes) 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 1 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Fax successfully received. Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Remote station id: Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Local station id: "Test Fax" Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Pages transferred: 1 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Image resolution: 8037 x 7700 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Transfer Rate: 9600 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: ============================================================================Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 13 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 13 Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete Jan 19 14:49:53 DEBUG[24218] app_rxfax.c: Got hangup =========Example 2================= Jan 18 09:56:12 VERBOSE[4185] logger.c: -- Executing RxFAX("Zap/31-1", "/tmp/1169110572.239.tif|debug") in new stack Jan 18 09:56:15 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 Jan 18 09:56:15 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 4 Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 4 Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0 Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 8 Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0 Jan 18 09:56:26 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 Jan 18 09:56:26 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 4 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 1 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: ============================================================================Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: Fax receive not successful - result (31) Carrier lost during fax receive. Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: ============================================================================Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 13 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 13 Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete Jan 18 09:56:39 DEBUG[4185] app_rxfax.c: Got hangup -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070122/356f121b/attachment.htm
I would install Hylafax(opensource too) with Asterisk via IAXModem, it worth! You can keep all the features, hylafax running in same server or a separated one, and IAXmodem will be a Modem on Hylafax, and a simple extension on you *. It works great for me, and there are more users using this architecture, you can setup as much IAXModem as your servers can handle, so it's very scalable. Best regards, Marco Mouta On 1/22/07, Ardjan Zwartjes <A.Zwartjes@telecats.nl> wrote:> > Dear list, > > The company I'm working for is trying to use app_rxfax 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 that somebody can give some help here. > Basically our set-up is this: We have an Asterisk server (version 1.2.7) with > an ISDN trunk (Sangoma A104D), 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 for spandsp 0.0.2. 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. > We've tried the following to solve these problems: > > - We've checked the timing settings for the ISDN trunk, these seem to be > ok. > - We've tried several versions of libtiff (currently we are using 3.7.2). > - 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). > - We've created a custom dialplan application to disable the echo > cancellation on the isdn channel on which the fax is received. > - 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). > - We've tried several fax machines to send the faxes, ranging from simple > fax-modems to large dedicated fax machines. > > But still a lot of faxes give problems, either the tif is missing large > portions, or the fax isn't received at all. At the bottom of this mail are > 2 examples of the logging when it goes wrong. I really hope that somebody can > give a few pointers. Thanks in advance, > > Kind regards, > Ardjan Zwartjes, > Telecats > > ======= Example 1 ========================> > Jan 19 14:49:14 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 19 14:49:14 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 > Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 > Jan 19 14:49:17 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 > Jan 19 14:49:19 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 19 14:49:20 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + > V.21 to V.29 (-22.18dBm0) > Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 19 14:49:21 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 > Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 > Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 19 14:49:23 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + > V.21 to V.29 (-17.84dBm0) > Jan 19 14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 > Jan 19 14:49:38 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 19 14:49:39 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 19 14:49:39 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 > Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 8 > Jan 19 14:49:41 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 19 14:49:42 DEBUG[24218] app_rxfax.c: FLOW FAX Switching from V.29 + > V.21 to V.29 (-19.13dBm0) > Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 4 > Jan 19 14:49:48 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: > =============================================================================> Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Pages transferred: 1 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image size: 1728 x 1192 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image resolution 8037 x 7700 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Transfer Rate: 9600 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Bad rows 0 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Longest bad row run 0 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Compression type 3 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: Image size (bytes) 0 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: > =============================================================================> Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 19 14:49:49 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 4 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 1 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: > =============================================================================> Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Fax successfully received. > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Remote station id: > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Local station id: "Test Fax" > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Pages transferred: 1 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Image resolution: 8037 x 7700 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: Transfer Rate: 9600 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: > =============================================================================> Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set rx type 13 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX Set tx type 13 > Jan 19 14:49:51 DEBUG[24218] app_rxfax.c: FLOW FAX FAX exchange complete > Jan 19 14:49:53 DEBUG[24218] app_rxfax.c: Got hangup > =========Example 2=================> Jan 18 09:56:12 VERBOSE[4185] logger.c: -- Executing RxFAX("Zap/31-1", > "/tmp/1169110572.239.tif|debug") in new stack > Jan 18 09:56:15 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 18 09:56:15 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 4 > Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 4 > Jan 18 09:56:17 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 8 > Jan 18 09:56:19 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 0 > Jan 18 09:56:26 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 18 09:56:26 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 4 > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 0 > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 1 > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: > =============================================================================> Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: Fax receive not successful - > result (31) Carrier lost during fax receive. > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: > =============================================================================> Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set rx type 13 > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX Set tx type 13 > Jan 18 09:56:27 DEBUG[4185] app_rxfax.c: FLOW FAX FAX exchange complete > Jan 18 09:56:39 DEBUG[4185] app_rxfax.c: Got hangup > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070122/250f4eea/attachment.htm
> Just out of curiosity. Would you mind sharing that app_rxfax.c filethat you modified to work with SpanDSP 0.0.3? I wouldn't mind, I've attached the sources of both rx- and txfax here, I hope you can use them. About IAXmodem with hylafax, we've also tried that but we ran into the same problems, a lot of the received faxes were missing large parts. We chose to continue with app_rxfax since it is easier to configure and easier to hack ;) and it doesn't add an extra VOIP channel to the chain. Since both IAXmodem and app_rxfax use spandsp we figured that we do something wrong in the way we use spandsp, but we have no idea what that might be or how we can check this. I hope that somebody has some additional information? Thanks in advance, Ardjan Zwartjes, Telecats. -------------- next part -------------- A non-text attachment was scrubbed... Name: app_txfax.c Type: application/octet-stream Size: 10989 bytes Desc: app_txfax.c Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070123/3a7c3b71/app_txfax.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: app_rxfax.c Type: application/octet-stream Size: 14570 bytes Desc: app_rxfax.c Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070123/3a7c3b71/app_rxfax.obj