The only time I have seen this problem myself is when Asterisk (and
therefore rxfax) was built when the wrong spandsp header/library files
were present on the system.

The required order of events is:

1) Build spandsp
2) Install both spandsp binary libraries and includes, ensuring no old
versions are present.
3) Rebuild asterisk from scratch
4) Profit... :)

If that doesn't work, then there may be a more fundamental problem.
Someone did comment a while back that the new code seemed to be
freeing an already free chunk of memory - Perhaps Asterisk has changed
behaviour and is freeing something that the app used to be required to
clean up itself - AFAIK, the workaround was to comment out the "free"
that caused the crash in app_rxfax.c.

Cheers,
Steve

On 12/8/06, Matt Gibson <[EMAIL PROTECTED]> wrote:
Update on this -

I tried with the newest spandsp on the snapshots site still to no
avail. I also ensured no other copies of spandsp exist, and adding
SPANDSP_LIBS=-lspandsp to makeopts, but still getting the segfault
when rxfax is called.



On 07/12/06, Matt Gibson <[EMAIL PROTECTED]> wrote:
> Same thing occuring here, on gentoo as well :(
>
>
> On 07/12/06, Chris Glover <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have installed the latest version of asterisk(1.4.0-beta3), and built
> > app_rxfax/txfax. I'm using spandsp from here,
> >
> > 
http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20061207.tar.gz
> >
> > Everything builds ok. I had to manually apply the patch from the site so
> > configure would spot spandsp libraries. However, when I try dialing my
> > virtual fax extension (either from a phone or fax machine) Asterisk
> > bombs out with the following message...
> >
> > Executing [EMAIL PROTECTED]:1] RxFAX("SIP/101-081d63d0", "/tmp/test.tif") in
> > new stack
> > asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_rxfax.so:
> > undefined symbol: span_set_message_handler
> >
> > This was me dialing from a normal sip extension, hoping to hear fax
> > tones. I did try the latest ebuild Gentoo have (1.2.13), this gave me
> > perfect fax tones, but completely refused to include chan_zap, so I
> > can't win :-)
> >
> > Please somebody tell me where I'm going wrong, been trying to get this
> > to work for hours. I've got rid of all the old libraries, recompiled...
> > my next step is to sacrifice a goat!
> >
> > Any help greatly appreciated.
> >
> > Chris
> >
> > --
> > Chris
> > ----------------------------------
> > E Mail: [EMAIL PROTECTED]
> > SIP: [EMAIL PROTECTED]
> > IAXTEL: 17003366726
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to