[Asterisk-Users] spandsp & fax

Dov Bigio dovb at terra.com.br
Thu Dec 29 13:16:04 MST 2005


If you check the AsteriskGuru.com tutorial about this, he explains how to
edit this files manually.. it is really simple!

----- Original Message ----- 
From: "Carlos Alperin" <calperin at senecacom.net>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users at lists.digium.com>
Sent: Thursday, December 29, 2005 5:59 PM
Subject: RE: [Asterisk-Users] spandsp & fax


> Do I need to compile first the app_rxfax.c & app_txfax.c to get the .so
> files? If the answer is yes, how I do that command, just I'm not and
expert
> on GCC.
>
> Thanks,
>
> Carlos Alperin
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pierre
Burton
> Sent: Thursday, December 29, 2005 2:52 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] spandsp & fax
>
> Make it manually, because there is somme diff from 1.0.9
>
> edit Makefile and add :
>
> everything after +
>
> Pierre
>
> Carlos Alperin wrote:
>
> > Ok,
> >
> >
> >
> > Everything was fine up to the moment to run patch < apps_makefile.patch
> >
> >
> >
> > Then I got Hunk 1 of 2, on the line 98 of the Makefile.
> >
> >
> >
> > This is the Makefile.rej output. As you can see, the line 98 includes
> > some + signs that are in the apps_makefile.patch.
> >
> >
> >
> > [root at phone-1 apps]# cat Makefile.rej
> >
> > ****************** 94,103 ****
> >
> >         rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
> >
> >
> >
> >   app_curl.so: app_curl.o
> >
> >         $(CC) $(SOLINK) -o $@ $< $(CURLLIBS)
> >
> >
> >
> >   app_sql_postgres.o: app_sql_postgres.c
> >
> >         $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o
> > app_sql_postgres.
> >
> > o app_sql_postgres.c
> >
> >
> >
> >   app_sql_postgres.so: app_sql_postgres.o
> >
> >         $(CC) $(SOLINK) -o $@ $< -L/usr/local/pgsql/lib -lpq
> >
> > --- 98,113 ----
> >
> >         rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
> >
> >
> >
> >   app_curl.so: app_curl.o
> >
> >         $(CC) $(SOLINK) -o $@ $< $(CURLLIBS)
> >
> >
> >
> > + app_rxfax.so : app_rxfax.o
> >
> > +       $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
> >
> > +
> >
> > + app_txfax.so : app_txfax.o
> >
> > +       $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
> >
> > +
> >
> >   app_sql_postgres.o: app_sql_postgres.c
> >
> >         $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o
> > app_sql_postgres.
> >
> > o app_sql_postgres.c
> >
> >
> >
> >   app_sql_postgres.so: app_sql_postgres.o
> >
> >         $(CC) $(SOLINK) -o $@ $< -L/usr/local/pgsql/lib -lpq
> >
> >
> >
> >
> >
> > However there is no request to take those lines of that file.
> >
> >
> >
> > Carlos Alperin
> >
> > Calperin at senecacom.net
> >
> > ------------------------------------------------------------------------
> >
> > *From:* asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Rehan
> > Ahmed
> > *Sent:* Wednesday, December 28, 2005 7:43 PM
> > *To:* Dov Bigio; Asterisk Users Mailing List - Non-Commercial Discussion
> > *Subject:* Re: [Asterisk-Users] spandsp & fax
> >
> >
> >
> > Which version of Asterisk are you using ?
> >
> >
> >
> > 1.2 had problems in Make file for me 1.0.9 worked with a charm.
> >
> >
> >
> > You can email me with the error you have, maybe I can help you
> >
> >
> >
> > Rehan
> >
> >
> >
> > On 12/28/05, *Dov Bigio* <dovb at terra.com.br
> > <mailto:dovb at terra.com.br>> wrote:
> >
> > I am using Red Hat 9, but I don't think this changes the procedure
> >
> > ----- Original Message -----
> > From: "Carlos Alperin" <calperin at senecacom.net
> > <mailto:calperin at senecacom.net>>
> > To: "'Dov Bigio'" <dovb at terra.com.br <mailto:dovb at terra.com.br>>;
> > "'Asterisk Users Mailing
> > List -Non-Commercial Discussion'" <asterisk-users at lists.digium.com
> > <mailto:asterisk-users at lists.digium.com>>
> > Sent: Tuesday, December 27, 2005 8:24 PM
> > Subject: RE: [Asterisk-Users] spandsp & fax
> >
> >
> >> Don,
> >>
> >> The previous question I believe was what linux are you using?
> >>
> >> By the way, I would like to know that too, just I was trying to make
this
> >> work for weeks with no success.
> >>
> >> Thanks,
> >>
> >> Carlos Alperin
> >>
> >>
> >> -----Original Message-----
> >> From: asterisk-users-bounces at lists.digium.com
> > <mailto:asterisk-users-bounces at lists.digium.com>
> >> [mailto:asterisk-users-bounces at lists.digium.com
> > <mailto:asterisk-users-bounces at lists.digium.com>] On Behalf Of Dov Bigio
> >> Sent: Tuesday, December 27, 2005 10:54 AM
> >> To: Kristof Hardy; Asterisk Users Mailing List -
> > Non-CommercialDiscussion
> >> Subject: Re: [Asterisk-Users] spandsp & fax
> >>
> >> Hi BJ, Kristof,
> >>
> >> It worked!
> >>
> >> I am using the version at
> >>
> >
>
http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.2pre21c/asterisk-1.
> >> 2.x/.
> >>
> >> I think I had bad symlinks on /usr/local/lib and by reading the
tutorial
> > on
> >> AsteriskGuru I found that... (The previously installed version of
> > spandsp
> >> has been 0.0.3, but now you have installed version 0.0.2. The problem
is
> >> that the installation of version 0.0.3 creates a symlink, which is not
> >> replaced by installation of version 0.0.2. So the symlink points to the
> >> library of version 0.0.3, which actually does not exist.). I simply
> > deleted
> >> all files related to spandsp from this directory and installed it
again!
> >>
> >> Thank you
> >> Dov
> >>
> >>
> >> ----- Original Message -----
> >> From: "Kristof Hardy" <kristof.hardy at catsanddogs.com
> > <mailto:kristof.hardy at catsanddogs.com>>
> >> To: "Dov Bigio" < dovb at terra.com.br <mailto:dovb at terra.com.br>>;
> > "Asterisk Users Mailing List -
> >> Non-CommercialDiscussion" <asterisk-users at lists.digium.com
> > <mailto:asterisk-users at lists.digium.com>>
> >> Sent: Tuesday, December 27, 2005 12:59 PM
> >> Subject: Re: [Asterisk-Users] spandsp & fax
> >>
> >>
> >> > Dov Bigio wrote:
> >> > > I am using Asterisk 1.2.1 and followed instructions on
> >> > > http://www.asteriskguru.com/tutorials/spandsp.html to install
faxing
> >> > > capability on my server.
> >> >
> >> > what platform are you running on? (wich distro?)
> >> > Does the make of the app_txfax and app_rxfax work out well?
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >> _______________________________________________
> >> --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
> > <http://lists.digium.com/mailman/listinfo/asterisk-users>
> >>
> >>
> >>
> >
> >
> > _______________________________________________
> > --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
> >
> >
> >
> >
> > -- 
> > Rehan Ahmed AllahWala
> > http://www.SuperTec.com - Tommrow's Technology, Today.
> > http://www.didx.net - DID Number Exchange and Peering Service.
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >--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
>
>





More information about the asterisk-users mailing list