[Asterisk-Users] spandsp and app_rxfax (alternative topic: t38modem)

Nils Segerdahl seger at upsys.se
Fri Jan 7 09:37:24 MST 2005


On Fri, 7 Jan 2005, Ryan wrote:

> Hmmmm. Did I just ask in the wrong forum, or has _nobody_ experienced image
> corruption using app_rxfax that was NOT due to using the wrong version of
> libtiff?
>

Hello Ryan,

I have.

There was a discussion on this list a short while ago on howto debug
frameslips.

I think you could find useful information in that thread.

I had the same problems using hfc cards with bristuff. (with patched
zaptel drivers).

When I applied Florian  Zumbiehls  patch the problem went away.
(The link to the patch can be found in the wiki: asterisk zaphfc)



Is it a possibility that there is a problem with interrupt handling
in the zaptel driver for other cards as well?

/Nils


> If that's the case, then my secondary approach is going to have to be:
>   PSTN <-> Asterisk + chan_h323 <-> t38modem + Hylafax
>
> Is there anybody that could help me with either of these solutions?
>
> A thousand "thank you"s in advance,
>
> Ryan VanMiddlesworth
>
>
> On Thursday, January 6th, I wrote:
> > I've been pulling my hair out trying to get Asterisk to receive and
> > decode a fax using spandsp and app_rxfax.  It seems like it should be
> > working.  The fax machine on the other end connects and Asterisk reports
> > a fax coming in.  But when it's done all I have is a 2 or 3 KB TIF (see
> > attachment).
> >
> > The console activity looks completely normal:
> >     -- Starting simple switch on 'Zap/3-1'
> >     -- Executing SetVar("Zap/3-1",
> > "FAXFILE=/var/spool/asterisk/fax/1105043880.0.tif") in new stack
> >     -- Executing RxFAX("Zap/3-1",
> > "/var/spool/asterisk/fax/1105043880.0.tif") in new stack
> >     -- Hungup 'Zap/3-1'
> >
> > And there are no errors in the log file.
> >
> > Here's my config:
> >   Wildcard TDM40B hardware (Zaptel)
> >   asterisk-1.0.2
> >   spandsp-0.0.2pre6
> >   libtiff-3.6.1 (with the fax fix patches)
> >   (also tried libtiff-3.6.0 and libtiff-3.5.7)
> >
> > I've tried multiple sending fax machines and get the same effect.
> >
> > Any tips on getting this setup working?  I've run out of ideas.
> >
> > Alternately, I'd also be willing to offload the DSP processing to a
> > HylaFAX machine using some sort of software fax driver.  I tinkered with
> > t38modem and chan_h323, but couldn't get it to do anything once the
> > HylaFAX machine answered.  So if anybody has any experience with that,
> > I'd be interested.
> >
> > Thanks in advance,
> > Ryan VanMiddlesworth
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


Nils Segerdahl
---------------------------------------------------------------
Upsala Systemkonsult, UPSYS AB     Telefon:(+46) (0)18 56 80 41
Glunten, 751 83 Uppsala            Mobil: (+46) (0)703 55 65 03
http://www.upsys.se                Fax: (+46) (0)18 56 80 49
---------------------------------------------------------------
Jan  8 	Battle of New Orleans
Jan  9 	Fellowship reaches Lorien (LOTR)
Jan  9 	Plough Monday
Jan 10 	First meeting of United Nations General Assembly in London, 1946
Jan 10 	Thomas Paine's Common Sense published, 1776
Jan  8 	American Telephone and Telegraph loses antitrust case, 1982
Jan  8 	Herman Hollerith patents first data processing computer, 1889
Jan  8 	Justice Dept. drops IBM suit, 1982
Jan 10 	First CDC 1604 delivered to Navy, 1960
---------------------------------------------------------------




More information about the asterisk-users mailing list