RE: [asterisk-users] RXFAX/TXFAX
Ast 1.4 will pass through T.38, but not terminate/originate T38. Be sure you understand the implications for your fax termination MD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cesar Benjamin Garcia Martinez Sent: Saturday, May 05, 2007 3:26 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [asterisk-users] RXFAX/TXFAX But i want to do with a TDM400 or winh E1, using rxfax app (or something like this) from the dialplan, without hylafax or esoteric codes. My question is becouse i read than 1.4 supports T.38, and then should receive fax i guess... There is not something like app_rxfax / app_txfax ??? -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Per Jessen Enviado el: sábado, 05 de mayo de 2007 2:30 Para: asterisk-users@lists.digium.com Asunto: Re: [asterisk-users] RXFAX/TXFAX Cesar Benjamin Garcia Martinez wrote: > Somebody can tell me, what way i can send/receive faxes with asterisk > 1.4??? [snip] > How to i can send/receive fax to/from PSTN on asterisk 1.4 ? Check out a very recent thread on just that subject. Or go study how to use iaxmodem and hylafax. /Per Jessen, Zürich -- ENIDAN Technologies GmbH - managed email security. Starting at SFr1/month/user - http://www.spamchek.ch/ ___ --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 __ Informacin de NOD32, revisin 2243 (20070505) __ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com ___ --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
Re: [asterisk-users] RXFAX/TXFAX
On 5/4/07, Cesar Benjamin Garcia Martinez <[EMAIL PROTECTED]> wrote: Hi all Somebody can tell me, what way i can send/receive faxes with asterisk 1.4??? In Asterisk 1.2.x i have use the spandsp lib and app_rxfax / app_txfax from soft-switch.org for add T.38 support to asterisk and to have that apps. I have read than asterisk 1.4 support natively T.38, but what is the way to do that?? I can't see some app or something for do that, i believe don't need that apps on 1.4, but, there aren't nothing of that? Or i can see? How to i can send/receive fax to/from PSTN on asterisk 1.4 ? 1.4 supports T.38 just as well as Asterisk has supported G723 for a while. ___ --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
Re: [asterisk-users] RXFAX/TXFAX
On Sat, May 05, 2007 at 02:25:50PM -0500, Cesar Benjamin Garcia Martinez wrote: > My question is becouse i read than 1.4 supports T.38, and then should > receive fax i guess... 1.4 only supports VoIP passthrough of T.38 . That is: if you get a T.38 fax, it can be safely redirected to a T.38-capable device. But Asterisk cannot handle that fax by itself. -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --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
RE: [asterisk-users] RXFAX/TXFAX
But i want to do with a TDM400 or winh E1, using rxfax app (or something like this) from the dialplan, without hylafax or esoteric codes. My question is becouse i read than 1.4 supports T.38, and then should receive fax i guess... There is not something like app_rxfax / app_txfax ??? -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Per Jessen Enviado el: sábado, 05 de mayo de 2007 2:30 Para: asterisk-users@lists.digium.com Asunto: Re: [asterisk-users] RXFAX/TXFAX Cesar Benjamin Garcia Martinez wrote: > Somebody can tell me, what way i can send/receive faxes with asterisk > 1.4??? [snip] > How to i can send/receive fax to/from PSTN on asterisk 1.4 ? Check out a very recent thread on just that subject. Or go study how to use iaxmodem and hylafax. /Per Jessen, Zürich -- ENIDAN Technologies GmbH - managed email security. Starting at SFr1/month/user - http://www.spamchek.ch/ ___ --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 __ Informacin de NOD32, revisin 2243 (20070505) __ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com ___ --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
Re: [asterisk-users] RXFAX/TXFAX
Cesar Benjamin Garcia Martinez wrote: > Somebody can tell me, what way i can send/receive faxes with asterisk > 1.4??? [snip] > How to i can send/receive fax to/from PSTN on asterisk 1.4 ? Check out a very recent thread on just that subject. Or go study how to use iaxmodem and hylafax. /Per Jessen, Zürich -- ENIDAN Technologies GmbH - managed email security. Starting at SFr1/month/user - http://www.spamchek.ch/ ___ --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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
This kind of mistakes are very common, I made them myself a couple of times, that's is why instead of going around removing and coping and symlinking files I prefeer to use the packages: emerge spandsp would do the trick. On Tuesday 20 September 2005 15:38, Alexander Lopez wrote: > Try > > rm -rf /usr/include/spandsp* > rm -rf /usr/lib/libspandsp* > > > Then do a make install in the spandsp directory.. > > It may make you smile! > > It made me!! > > > Alex > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Doug Lytle > > Sent: Tuesday, September 20, 2005 2:30 PM > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem > > > > Alexander Lopez wrote: > > > I have used the pre20 package, with the latest CVS-head. > > > > COmpile goes > > > > > cleanly, NO ERRORS. > > > > > > then I get this when I try to load asterisk -cvv > > > > > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > > > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > > > symbol: fax_set_phase_d_handler > > > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading > > > module app_rxfax.so failed! > > > No matter what I do it compiles clean but errors out with undefined > > > symbol errors. > > > > > > > > > Does anyone have a clue on this > > > > I'm having the same issues, so I've installed Asterisk on my > > laptop, did a fresh compile of libtiff and spandsp pre2-20 > > and started Asterisk. > > > > Asterisk app_txfax and app_rxfax compile without issues and > > Asterisk starts without complaining > > > > I'm going to remove and re-compile spandsp and libtiff > > tonight to see if it makes any difference with the effected > > machine or not. > > > > Doug > > > > -- > > > > Ben Franklin quote: > > > > "Those who give up essential liberties for temporary safety > > deserve neither liberty nor safety." > > > > > > ___ > > --Bandwidth and Colocation sponsored by Easynews.com -- > > > > Asterisk-Users mailing list > > Asterisk-Users@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 > > ___ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@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 -- José Pablo Ezequiel Fernández ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
On Tuesday 20 September 2005 15:36, Michael Welter wrote: > What version of libtiff are you using. Has anyone tried 3.7.x with > spandsp? My setup: tiff-3.7.3 * spandsp-0.0.2_pre20 * Asterisk HEAD with app_[rt]xfax-0.0.2_pre20 * These are Gentoo packages. It compiled, it started, it worked, sending and receiving faxes. I am now about to test with the Asterisk Gentoo packages, I'd expect it to work, otherwise I'll update the Gentoo packages (if anybody is interested on it). -- José Pablo Ezequiel Fernández ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
Michael Welter wrote: What version of libtiff are you using. Has anyone tried 3.7.x with spandsp? I was running 3.7.2 without issues, but reverted to 3.5.7 because of issues I was trying to track down. Didn't do any better or worse then 3.5.7. Doug -- Ben Franklin quote: "Those who give up essential liberties for temporary safety deserve neither liberty nor safety." ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
What version of libtiff are you using. Has anyone tried 3.7.x with spandsp? Doug Lytle wrote: Alexander Lopez wrote: I have used the pre20 package, with the latest CVS-head. COmpile goes cleanly, NO ERRORS. then I get this when I try to load asterisk -cvv [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading module app_rxfax.so failed! No matter what I do it compiles clean but errors out with undefined symbol errors. Does anyone have a clue on this I'm having the same issues, so I've installed Asterisk on my laptop, did a fresh compile of libtiff and spandsp pre2-20 and started Asterisk. Asterisk app_txfax and app_rxfax compile without issues and Asterisk starts without complaining I'm going to remove and re-compile spandsp and libtiff tonight to see if it makes any difference with the effected machine or not. Doug ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
Try rm -rf /usr/include/spandsp* rm -rf /usr/lib/libspandsp* Then do a make install in the spandsp directory.. It may make you smile! It made me!! Alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Doug Lytle > Sent: Tuesday, September 20, 2005 2:30 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem > > Alexander Lopez wrote: > > > I have used the pre20 package, with the latest CVS-head. > COmpile goes > > cleanly, NO ERRORS. > > > > then I get this when I try to load asterisk -cvv > > > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > > symbol: fax_set_phase_d_handler > > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading > > module app_rxfax.so failed! > > No matter what I do it compiles clean but errors out with undefined > > symbol errors. > > > > > > Does anyone have a clue on this > > > > I'm having the same issues, so I've installed Asterisk on my > laptop, did a fresh compile of libtiff and spandsp pre2-20 > and started Asterisk. > > Asterisk app_txfax and app_rxfax compile without issues and > Asterisk starts without complaining > > I'm going to remove and re-compile spandsp and libtiff > tonight to see if it makes any difference with the effected > machine or not. > > Doug > > -- > > Ben Franklin quote: > > "Those who give up essential liberties for temporary safety > deserve neither liberty nor safety." > > > ___ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@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 > > ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > José Pablo Ezequiel Fernández > Sent: Tuesday, September 20, 2005 2:17 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem > > On Tuesday 20 September 2005 15:10, Alexander Lopez wrote: > > I have used the pre20 package, with the latest CVS-head. > COmpile goes > > cleanly, NO ERRORS. > > > > then I get this when I try to load asterisk -cvv > > > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > > symbol: fax_set_phase_d_handler > > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading > > module app_rxfax.so failed! > > > > No matter what I do it compiles clean but errors out with undefined > > symbol errors. > > > > > > Does anyone have a clue on this > > I had this problem too but I can remember exactly what > triggered it or how I solved, I can say that with CVS HEAD > and spands 0.0.2pre20 and the tx/rxfax that goes with it, > everything worked. > What version of spandsp are you using ? > Did you install more than one version ? how did you installed them ? > What version of the apps are you using ? are you sure you > patched the Makefile correctly (and you are not using an old > version, that happened to me) ? > I have documented what I did to get fax working on > http://www.voip-info.org/tiki-index.php?page=app_rxfax%20and%2 > 0app_txfax and most of the pages in the "see also" section. > Be sure to check the comments, since I posted some important > info there. > > Hope it helps. > > -- > José Pablo Ezequiel Fernández > ___ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@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 > > THANK YOU! Your "Did you install more than one version ?" Question did the trick!!! I had originaly installed version 3 of spandsp and for som unknown reasone it still had a symbolic link to it. Removed everything in /usr/lib/spandsp* and /usr/include/libspan* recomliled and installed and it works Somethimes it the little things we forget that get us!!! ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
Alexander Lopez wrote: I have used the pre20 package, with the latest CVS-head. COmpile goes cleanly, NO ERRORS. then I get this when I try to load asterisk -cvv [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading module app_rxfax.so failed! No matter what I do it compiles clean but errors out with undefined symbol errors. Does anyone have a clue on this I'm having the same issues, so I've installed Asterisk on my laptop, did a fresh compile of libtiff and spandsp pre2-20 and started Asterisk. Asterisk app_txfax and app_rxfax compile without issues and Asterisk starts without complaining I'm going to remove and re-compile spandsp and libtiff tonight to see if it makes any difference with the effected machine or not. Doug -- Ben Franklin quote: "Those who give up essential liberties for temporary safety deserve neither liberty nor safety." ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
On Tuesday 20 September 2005 15:10, Alexander Lopez wrote: > I have used the pre20 package, with the latest CVS-head. COmpile goes > cleanly, NO ERRORS. > > then I get this when I try to load asterisk -cvv > > [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 > __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined > symbol: fax_set_phase_d_handler > Sep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading module > app_rxfax.so failed! > > No matter what I do it compiles clean but errors out with undefined > symbol errors. > > > Does anyone have a clue on this I had this problem too but I can remember exactly what triggered it or how I solved, I can say that with CVS HEAD and spands 0.0.2pre20 and the tx/rxfax that goes with it, everything worked. What version of spandsp are you using ? Did you install more than one version ? how did you installed them ? What version of the apps are you using ? are you sure you patched the Makefile correctly (and you are not using an old version, that happened to me) ? I have documented what I did to get fax working on http://www.voip-info.org/tiki-index.php?page=app_rxfax%20and%20app_txfax and most of the pages in the "see also" section. Be sure to check the comments, since I posted some important info there. Hope it helps. -- José Pablo Ezequiel Fernández ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
I have used the pre20 package, with the latest CVS-head. COmpile goes cleanly, NO ERRORS. then I get this when I try to load asterisk -cvv [app_rxfax.so]Sep 20 14:00:23 WARNING[5924]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handlerSep 20 14:00:23 WARNING[5924]: loader.c:554 load_modules: Loading module app_rxfax.so failed! No matter what I do it compiles clean but errors out with undefined symbol errors. Does anyone have a clue on this From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David SampsonSent: Thursday, September 15, 2005 12:17 PMTo: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial DiscussionSubject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BJ WeschkeSent: Wednesday, September 14, 2005 2:43 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <[EMAIL PROTECTED]> wrote: Anyone know how to fix this?gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 ___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
Maybe I should ask this question that I know has been discussed to death. "stable" = 1.0 release "CVS HEAD' = 1.1 release Is this a correct statment From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David SampsonSent: Thursday, September 15, 2005 12:17 PMTo: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial DiscussionSubject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BJ WeschkeSent: Wednesday, September 14, 2005 2:43 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <[EMAIL PROTECTED]> wrote: Anyone know how to fix this?gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 ___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
On Fri, 2005-09-16 at 09:36 -0400, David Sampson wrote: > If I understand correctly you are supposed to patch the Makefile in the apps > directory and then run the main Makefile. I've tried both ways - the patch > failed on the main Makefile. Should I try to make that work? There's next to nothing in the patchfile so edit the Makefile manually. -- Dave Cotton <[EMAIL PROTECTED]> ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
I had sone trouble with this also. But I got it. I used the latest SpanDSP 0.0.9pre1 I used the applications app)_txfax and app_rxfax from the previous release 0.0.2pre8 I have included my makefile and the two app fiels that complied on the Latest CVS (last night) on FC3. Apps/MakeFile # # Asterisk -- A telephony toolkit for Linux. # # Makefile for PBX applications # # Copyright (C) 1999-2005, Digium # # Mark Spencer <[EMAIL PROTECTED]> # # This program is free software, distributed under the terms of # the GNU General Public License # APPS=app_dial.so app_playback.so app_voicemail.so app_directory.so app_mp3.so\ app_system.so app_echo.so app_record.so app_image.so app_url.so app_disa.so \ app_adsiprog.so app_getcpeid.so app_milliwatt.so \ app_zapateller.so app_setcallerid.so app_festival.so \ app_queue.so app_senddtmf.so app_parkandannounce.so app_striplsd.so \ app_setcidname.so app_lookupcidname.so app_substring.so app_macro.so \ app_authenticate.so app_softhangup.so app_lookupblacklist.so \ app_waitforring.so app_privacy.so app_db.so app_chanisavail.so \ app_enumlookup.so app_transfer.so app_setcidnum.so app_cdr.so \ app_hasnewvoicemail.so app_sayunixtime.so app_cut.so app_read.so \ app_setcdruserfield.so app_random.so app_ices.so app_eval.so \ app_nbscat.so app_sendtext.so app_exec.so app_sms.so \ app_groupcount.so app_txtcidname.so app_controlplayback.so \ app_talkdetect.so app_alarmreceiver.so app_userevent.so app_verbose.so \ app_test.so app_forkcdr.so app_math.so app_realtime.so \ app_dumpchan.so app_waitforsilence.so app_while.so app_setrdnis.so \ app_md5.so app_readfile.so app_chanspy.so app_settransfercapability.so \ app_dictate.so app_externalivr.so app_directed_pickup.so app_rxfax.so app_txfax.so # # Obsolete things... # #APPS+=app_sql_postgres.so #APPS+=app_sql_odbc.so # # Experimental things # #APPS+=app_ivrdemo.so #APPS+=app_skel.so #APPS+=app_rpt.so ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h),) APPS+=app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so endif ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) APPS+=app_osplookup.so endif ifeq ($(findstring BSD,${OSARCH}),BSD) CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib endif CURLLIBS=$(shell $(CROSS_COMPILE_BIN)curl-config --libs) ifneq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),) ifneq (${CURLLIBS},) APPS+=app_curl.so endif endif CFLAGS+=-fPIC # # If you have UnixODBC you can use ODBC voicemail # storage # # Uncomment to use ODBC storage #CFLAGS+=-DUSE_ODBC_STORAGE # Uncomment for extended ODBC voicemail storage #CFLAGS+=-DEXTENDED_ODBC_STORAGE # See doc/README.odbcstorage for more information all: $(APPS) clean: rm -f *.so *.o look .depend %.so : %.o $(CC) $(SOLINK) -o $@ $< app_rpt.so : app_rpt.o $(CC) $(SOLINK) -o $@ $< -ltonezone install: all for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so 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 app_sql_odbc.so: app_sql_odbc.o $(CC) $(SOLINK) -o $@ $< -lodbc look: look.c $(CC) -pipe -O6 -g look.c -o look -lncurses ifeq (SunOS,$(shell uname)) app_chanspy.so: app_chanspy.o $(CC) $(SOLINK) -o $@ $< -lrt endif ifneq ($(wildcard .depend),) include .depend endif depend: .depend .depend: ../build_tools/mkdep $(CFLAGS) `ls *.c` env: env rtxfax.c I had to delete a routine that checked for chan_callerid in an old release, And bingo it complied. I do not know if it is stable howeer I will test over the weekend... Alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > David Sampson > Sent: Friday, September 16, 2005 9:37 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem > > If I understand correctly you are supposed to patch the > Makefile in the apps directory and then run the main > Makefile. I've tried both ways - the patch failed on the > main Makefile. Should I try to mak
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
If I understand correctly you are supposed to patch the Makefile in the apps directory and then run the main Makefile. I've tried both ways - the patch failed on the main Makefile. Should I try to make that work? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cotton Sent: Friday, September 16, 2005 3:05 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem On Thu, 2005-09-15 at 16:10 -0400, David Sampson wrote: > I’ve reduced my problem down to this: > > > > [EMAIL PROTECTED]:/usr/src/asterisk/asterisk-1.0.9/apps# make Are you trying to use make from the apps directory? You have to run make from the main asterisk source directory. Look at the patch file necessary for the main Makefile. -- Dave Cotton <[EMAIL PROTECTED]> ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
On Thu, 2005-09-15 at 16:10 -0400, David Sampson wrote: > I’ve reduced my problem down to this: > > > > [EMAIL PROTECTED]:/usr/src/asterisk/asterisk-1.0.9/apps# make Are you trying to use make from the apps directory? You have to run make from the main asterisk source directory. Look at the patch file necessary for the main Makefile. -- Dave Cotton <[EMAIL PROTECTED]> ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
I’ve reduced my problem down to this: [EMAIL PROTECTED]:/usr/src/asterisk/asterisk-1.0.9/apps# make cc -D_GNU_SOURCE -o app_rxfax.so app_rxfax.c -lspandsp -ltiff app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make: *** [app_rxfax.so] Error 1 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Sampson Sent: Thursday, September 15, 2005 12:17 PM To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] RxFax/TxFax - Compile Problem I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BJ Weschke Sent: Wednesday, September 14, 2005 2:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <[EMAIL PROTECTED]> wrote: Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] RxFax/TxFax - Compile Problem
I used the latest version (.3) and also the previous .2 ver (pre20). The spandsp seems to compile but when I download the rxfax/txfax .c files and drop them in the apps directory that is where I get the compile error. Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BJ Weschke Sent: Wednesday, September 14, 2005 2:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] RxFax/TxFax - Compile Problem What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <[EMAIL PROTECTED]> wrote: Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] RxFax/TxFax - Compile Problem
What version of spandsp are you attempting to compile in to the 1.0.9 tree? On 9/14/05, David Sampson <[EMAIL PROTECTED]> wrote: Anyone know how to fix this?gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c: In function `rxfax_exec': app_rxfax.c:263: warning: passing arg 1 of `fax_init' from incompatible pointer type app_rxfax.c:264: error: structure has no member named `verbose' app_rxfax.c:325: warning: passing arg 1 of `fax_release' from incompatible pointer type make[1]: *** [app_rxfax.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 ___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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