Re: [asterisk-users] Asterisk - Spandsp Fax not working?
Hi Marco, could you try again with different quality settings on your hardware fax? I see 1728 x 540 in your spandsp log. I think spandsp is only compatible with : standard: width=1728 x length=1128 fine: width=1728 x length=2252 super-fine: width=1728 x length=4491 which are the 3 resolution you commonly find in G3 faxes. I don't know what this mode is : 1728x540. Regards, Pirlouwi. 2007/9/28, marco britannio <[EMAIL PROTECTED]>: > > > > On 9/27/07, Jonn R Taylor <[EMAIL PROTECTED]> wrote: > > > > marco britannio wrote: > > > Hi all, > > > I'm trying to setup an asterisk based fax receiving machine. > > > i'm using asterisk 1.2.18 and app_rxfax with spandsp 0.0.4pre9 > > > I have no problems with a modem-fax, but with the fax machines i have > > > tried almost every fax fails, both in sending and receive. > > > the machines are sending a receiving a lot of faxes every day and > > > working well, so i think the problem is on the spandsp side. > > > i have tried almost every spandsp version from 0.0.2 to the current > > one, > > > both with and without ECM, but without luck. > > > has anybody succeeded in receiving faxes with asterisk app_rxfax and > > > spandsp? > > > > > > I'm noticicing a lot of different behaviours: sending w ECM gave me an > > > > > OK, and the second half of the page was missing, other faxes fail with > > > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: > > > > > == > > > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: Fax receive not successful - > > > result (11) Unexpected message received. > > > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: > > > > > == > > > > > > > > > can anybody help me? > > > thank you in advance, > > > > > > > > > marco > > > > > > > > > > > > > > > > > ___ > > > > > > Sign up now for AstriCon 2007! September 25-28th. > > http://www.astricon.net/ > > > > > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > > > > > asterisk-users mailing list > > > To UNSUBSCRIBE or update options visit: > > >http://lists.digium.com/mailman/listinfo/asterisk-users > > > > Marco, > > > > First off, do not use any version over 0.0.3. I am using 0.0.3 on centos > > 4.5, asterisk 1.2.24 and freepbx 2.3 and it is working very well. One > > very important thing to keep in mind is that faxing over voip will only > > work reliably with ulaw or alaw and your internet connection MUST be > > able to sustain a constant data stream with low jitter. If your > > interested I have a shell script to install asterisk 1.2.24 and > > freepbx-2.3 with rxfax and txfax on centos 4 and working on centos 5. > > > > Jonn > > > > http://jonnt.users.taylortelephone.com/asterisk/centos-asterisk-install.sh > > > > and hylafax / iaxmodem > > http://jonnt.users.taylortelephone.com/asterisk/ > > > > > > ___ > > > > Sign up now for AstriCon 2007! September 25-28th. > > http://www.astricon.net/ > > > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users > > > > hi john, > thank you for your reply. > I've installed the configuration that you suggested (asterisk 1.2.24, > spandsp 0.0.3), but with no luck: I still cannot receive faxes. > Please note that I am not using T38: I am receiving faxes with app_rxfax > and storing them into a dir on the machine. > I have attached an isdn trunk to the card and I am trying to receive the > faxes straight from the trunk. > When receiving faxes without ecm, the sending fax machine completes with > an error, and this is the log I have in asterisk: > Sep 27 11:54:46 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 0 > Sep 27 11:54:46 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 4 > Sep 27 11:54:48 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 4 > Sep 27 11:54:48 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 > Sep 27 11:54:50 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 8 > Sep 27 11:54:50 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 > Sep 27 11:54:50 DEBUG[8783] app_rxfax.c: FLOW FAX Switching from V.29 + > V.21 to V.29 (-15.04dBm0) > Sep 27 11:54:52 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 0 > Sep 27 11:54:52 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 4 > Sep 27 11:54:53 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 8 > Sep 27 11:54:53 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 > Sep 27 11:54:53 DEBUG[8783] app_rxfax.c: FLOW FAX Switching from V.29 + > V.21 to V.29 (-17.87dBm0) > Sep 27 11:55:17 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 4 > Sep 27 11:55:17 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 > Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: >
Re: [asterisk-users] Asterisk - Spandsp Fax not working?
On 9/27/07, Jonn R Taylor <[EMAIL PROTECTED]> wrote: > > marco britannio wrote: > > Hi all, > > I'm trying to setup an asterisk based fax receiving machine. > > i'm using asterisk 1.2.18 and app_rxfax with spandsp 0.0.4pre9 > > I have no problems with a modem-fax, but with the fax machines i have > > tried almost every fax fails, both in sending and receive. > > the machines are sending a receiving a lot of faxes every day and > > working well, so i think the problem is on the spandsp side. > > i have tried almost every spandsp version from 0.0.2 to the current one, > > both with and without ECM, but without luck. > > has anybody succeeded in receiving faxes with asterisk app_rxfax and > > spandsp? > > > > I'm noticicing a lot of different behaviours: sending w ECM gave me an > > OK, and the second half of the page was missing, other faxes fail with > > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: > > > == > > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: Fax receive not successful - > > result (11) Unexpected message received. > > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: > > > == > > > > > > can anybody help me? > > thank you in advance, > > > > > > marco > > > > > > > > > > ___ > > > > Sign up now for AstriCon 2007! September 25-28th. > http://www.astricon.net/ > > > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users > > Marco, > > First off, do not use any version over 0.0.3. I am using 0.0.3 on centos > 4.5, asterisk 1.2.24 and freepbx 2.3 and it is working very well. One > very important thing to keep in mind is that faxing over voip will only > work reliably with ulaw or alaw and your internet connection MUST be > able to sustain a constant data stream with low jitter. If your > interested I have a shell script to install asterisk 1.2.24 and > freepbx-2.3 with rxfax and txfax on centos 4 and working on centos 5. > > Jonn > > http://jonnt.users.taylortelephone.com/asterisk/centos-asterisk-install.sh > and hylafax / iaxmodem > http://jonnt.users.taylortelephone.com/asterisk/ > > > ___ > > Sign up now for AstriCon 2007! September 25-28th. > http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > hi john, thank you for your reply. I've installed the configuration that you suggested (asterisk 1.2.24, spandsp 0.0.3), but with no luck: I still cannot receive faxes. Please note that I am not using T38: I am receiving faxes with app_rxfax and storing them into a dir on the machine. I have attached an isdn trunk to the card and I am trying to receive the faxes straight from the trunk. When receiving faxes without ecm, the sending fax machine completes with an error, and this is the log I have in asterisk: Sep 27 11:54:46 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 0 Sep 27 11:54:46 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 4 Sep 27 11:54:48 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 4 Sep 27 11:54:48 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 Sep 27 11:54:50 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 8 Sep 27 11:54:50 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 Sep 27 11:54:50 DEBUG[8783] app_rxfax.c: FLOW FAX Switching from V.29 + V.21to V.29 (-15.04dBm0) Sep 27 11:54:52 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 0 Sep 27 11:54:52 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 4 Sep 27 11:54:53 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 8 Sep 27 11:54:53 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 Sep 27 11:54:53 DEBUG[8783] app_rxfax.c: FLOW FAX Switching from V.29 + V.21to V.29 (-17.87dBm0) Sep 27 11:55:17 DEBUG[8783] app_rxfax.c: FLOW FAX Set rx type 4 Sep 27 11:55:17 DEBUG[8783] app_rxfax.c: FLOW FAX Set tx type 0 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: == Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Pages transferred: 0 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Image size: 1728 x 540 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Image resolution8037 x 3850 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Transfer Rate: 9600 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Bad rows50 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Longest bad row run 10 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Compression type2 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: Image size (bytes) 116841 Sep 27 11:55:19 DEBUG[8783] app_rxfax.c: ==
Re: [asterisk-users] Asterisk - Spandsp Fax not working?
Jonn R Taylor wrote: > marco britannio wrote: >> Hi all, >> I'm trying to setup an asterisk based fax receiving machine. >> i'm using asterisk 1.2.18 and app_rxfax with spandsp 0.0.4pre9 >> I have no problems with a modem-fax, but with the fax machines i have >> tried almost every fax fails, both in sending and receive. >> the machines are sending a receiving a lot of faxes every day and >> working well, so i think the problem is on the spandsp side. >> i have tried almost every spandsp version from 0.0.2 to the current one, >> both with and without ECM, but without luck. >> has anybody succeeded in receiving faxes with asterisk app_rxfax and >> spandsp? >> >> I'm noticicing a lot of different behaviours: sending w ECM gave me an >> OK, and the second half of the page was missing, other faxes fail with >> Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: >> == >> Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: Fax receive not successful - >> result (11) Unexpected message received. >> Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: >> == >> >> >> can anybody help me? >> thank you in advance, >> >> >> marco >> >> >> >> >> ___ >> >> Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ >> >> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users > > Marco, > > First off, do not use any version over 0.0.3. I am using 0.0.3 on centos > 4.5, asterisk 1.2.24 and freepbx 2.3 and it is working very well. One > very important thing to keep in mind is that faxing over voip will only > work reliably with ulaw or alaw and your internet connection MUST be > able to sustain a constant data stream with low jitter. If your > interested I have a shell script to install asterisk 1.2.24 and > freepbx-2.3 with rxfax and txfax on centos 4 and working on centos 5. > > Jonn > > http://jonnt.users.taylortelephone.com/asterisk/centos-asterisk-install.sh > and hylafax / iaxmodem > http://jonnt.users.taylortelephone.com/asterisk/ > > > ___ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users Oopps, missed the file name. http://jonnt.users.taylortelephone.com/asterisk/iax-hylafax-setup.sh ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk - Spandsp Fax not working?
marco britannio wrote: > Hi all, > I'm trying to setup an asterisk based fax receiving machine. > i'm using asterisk 1.2.18 and app_rxfax with spandsp 0.0.4pre9 > I have no problems with a modem-fax, but with the fax machines i have > tried almost every fax fails, both in sending and receive. > the machines are sending a receiving a lot of faxes every day and > working well, so i think the problem is on the spandsp side. > i have tried almost every spandsp version from 0.0.2 to the current one, > both with and without ECM, but without luck. > has anybody succeeded in receiving faxes with asterisk app_rxfax and > spandsp? > > I'm noticicing a lot of different behaviours: sending w ECM gave me an > OK, and the second half of the page was missing, other faxes fail with > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: > == > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: Fax receive not successful - > result (11) Unexpected message received. > Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: > == > > > can anybody help me? > thank you in advance, > > > marco > > > > > ___ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users Marco, First off, do not use any version over 0.0.3. I am using 0.0.3 on centos 4.5, asterisk 1.2.24 and freepbx 2.3 and it is working very well. One very important thing to keep in mind is that faxing over voip will only work reliably with ulaw or alaw and your internet connection MUST be able to sustain a constant data stream with low jitter. If your interested I have a shell script to install asterisk 1.2.24 and freepbx-2.3 with rxfax and txfax on centos 4 and working on centos 5. Jonn http://jonnt.users.taylortelephone.com/asterisk/centos-asterisk-install.sh and hylafax / iaxmodem http://jonnt.users.taylortelephone.com/asterisk/ ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asterisk - Spandsp Fax not working?
Hi all, I'm trying to setup an asterisk based fax receiving machine. i'm using asterisk 1.2.18 and app_rxfax with spandsp 0.0.4pre9 I have no problems with a modem-fax, but with the fax machines i have tried almost every fax fails, both in sending and receive. the machines are sending a receiving a lot of faxes every day and working well, so i think the problem is on the spandsp side. i have tried almost every spandsp version from 0.0.2 to the current one, both with and without ECM, but without luck. has anybody succeeded in receiving faxes with asterisk app_rxfax and spandsp? I'm noticicing a lot of different behaviours: sending w ECM gave me an OK, and the second half of the page was missing, other faxes fail with Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: == Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: Fax receive not successful - result (11) Unexpected message received. Sep 26 17:26:18 DEBUG[4741] app_rxfax.c: == can anybody help me? thank you in advance, marco ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users