Re: [Asterisk-Users] fax e-mail spandsp

2005-01-12 Thread Steve Underwood
Incomplete TIFFs are another common problem you can look up in the 
mailing list, by Googling, or by looking in the spandsp FAQ :-)

Regards,
Steve
Brian Dingman wrote:
At the time I didn't realize it was a common error. I thought it was a
problem with the Makefile. I promise to google before I post :)
Anyway it works now... somewhat. tiff's are incomplete but I will have
to troubleshoot more.
On Wed, 12 Jan 2005 14:37:48 +1300, Matt Riddell
[EMAIL PROTECTED] wrote:
 

Steve Underwood wrote:
   

The answer to this problem is the same as for every other time the same
question has been asked.
 

What he means is that if you put your error into google and click
search, it will come up with the same question being asked and answered
multiple times.
Congratulations on the Makefile!
   

___
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] fax e-mail spandsp

2005-01-11 Thread Nils Segerdahl
Matt Riddell wrote:
Brian Dingman wrote:
Anyone care to pass on a makefile that works. This is what my
makefile.rej looks like:
[SNIPPED]
Really it's not that hard.  Open two console windows.  In one open 
that patch.  In the other open the Makefile.

If you look at the patch you can see what lines need to go into the 
Makefile and where.  (the + symbol means add this line, and the lines 
without +'s show what is before and after the section you need to 
change).

If you have any problems, drop me a line off-list and I'll help you 
out (but it's worth your while to at least have a try).
Hi,
Remember that make requires that the indentation in the Makefile is done 
with tab and not spaces.
I you cut and paste there is a risk that the indentation is converted to 
spaces.

/Nils
--
Nils Segerdahl

Upsala Systemkonsult, UPSYS AB  Telefon:(+46) (0)18 56 80 41
Upsala Science Park, 751 83 Upsala  Mobil: (+46) (0)703 55 65 03
http://www.upsys.se Fax: (+46) (0)18 56 80 49

___
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] fax e-mail spandsp

2005-01-11 Thread Brian Dingman
I edited the makefile and asterisk builds properly, but when I go to
start it, I get the following error:

[app_rxfax.so]Jan 11 18:44:12 WARNING[13877]: loader.c:258
ast_load_resource: libspandsp.so.0: cannot open shared object file: No
such file or directory
Jan 11 18:44:12 WARNING[13877]: loader.c:440 load_modules: Loading
module app_rxfax.so failed!
___
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] fax e-mail spandsp

2005-01-11 Thread Steve Underwood
The answer to this problem is the same as for every other time the same 
question has been asked.

Steve
Brian Dingman wrote:
I edited the makefile and asterisk builds properly, but when I go to
start it, I get the following error:
[app_rxfax.so]Jan 11 18:44:12 WARNING[13877]: loader.c:258
ast_load_resource: libspandsp.so.0: cannot open shared object file: No
such file or directory
Jan 11 18:44:12 WARNING[13877]: loader.c:440 load_modules: Loading
module app_rxfax.so failed!
 

___
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] fax e-mail spandsp

2005-01-11 Thread Matt Riddell
Steve Underwood wrote:
The answer to this problem is the same as for every other time the same 
question has been asked.
What he means is that if you put your error into google and click 
search, it will come up with the same question being asked and answered 
multiple times.

Congratulations on the Makefile!
:-)
--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
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] fax e-mail spandsp

2005-01-11 Thread Brian Dingman
At the time I didn't realize it was a common error. I thought it was a
problem with the Makefile. I promise to google before I post :)

Anyway it works now... somewhat. tiff's are incomplete but I will have
to troubleshoot more.


On Wed, 12 Jan 2005 14:37:48 +1300, Matt Riddell
[EMAIL PROTECTED] wrote:
 Steve Underwood wrote:
  The answer to this problem is the same as for every other time the same
  question has been asked.
 
 What he means is that if you put your error into google and click
 search, it will come up with the same question being asked and answered
 multiple times.
 
 Congratulations on the Makefile!

___
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] fax e-mail spandsp

2005-01-10 Thread Altus Snyman
Did anyone get asterisk to actually work with a fax coming in on a pri
number and e-mail it to a user?

On Mon, 2005-01-10 at 08:29, Howard Lowndes wrote:
 On Mon, 2005-01-10 at 16:00, Altus Snyman wrote:
  Its still fails!
  
  [EMAIL PROTECTED] apps]# patch  apps_makefile.patch.new
  patching file Makefile
  Hunk #1 succeeded at 42 with fuzz 2 (offset -7 lines).
  Hunk #2 FAILED at 73.
  1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
 
 Yep, I've just had this one, and fixed it.
 
 cd asterisk/apps
 
 Go look at Makefile.rej and lines 19  20 (minus the leading + sign)
 are the ones that didn't make it into Makefile.  If you put them in
 manually in the correct place then it all works.
 
  
  On Fri, 2005-01-07 at 22:08, Jim Radford wrote:
   Basically the changes in the apps/Makefile have progressed while the 
   patch 
   makefile have not. Here is a current patch that works as of 
   CVS-HEAD-01/06/05-14:47:06
   
   Regards,
   Jim
   
   
   On Fri, 7 Jan 2005, Altus Snyman wrote:
I'm trying to install spandsp
But when I try to patch the Makefile it gives this error
[EMAIL PROTECTED] apps]# patch  apps_makefile.patch
patching file Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 41 (offset -6 lines).
Hunk #2 FAILED at 67.

is it ok to go on

___
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

  
  ___
  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

___
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] fax e-mail spandsp

2005-01-10 Thread Craig Guy
Yes,

And wrote it up in the wiki -
http://www.voip-info.org/tiki-index.php?page=Asterisk%20fax look under the
heafding 'Emailing a fax based on DID'.  I used LDAP but it could just as
easily be made to work with odbcget or whatever else you wanted to use.

Craig

- Original Message - 
From: Altus Snyman [EMAIL PROTECTED]
To: Howard Lowndes [EMAIL PROTECTED]
Cc: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Monday, January 10, 2005 8:46 PM
Subject: Re: [Asterisk-Users] fax e-mail spandsp


 Did anyone get asterisk to actually work with a fax coming in on a pri
 number and e-mail it to a user?

 On Mon, 2005-01-10 at 08:29, Howard Lowndes wrote:
  On Mon, 2005-01-10 at 16:00, Altus Snyman wrote:
   Its still fails!
  
   [EMAIL PROTECTED] apps]# patch  apps_makefile.patch.new
   patching file Makefile
   Hunk #1 succeeded at 42 with fuzz 2 (offset -7 lines).
   Hunk #2 FAILED at 73.
   1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
 
  Yep, I've just had this one, and fixed it.
 
  cd asterisk/apps
 
  Go look at Makefile.rej and lines 19  20 (minus the leading + sign)
  are the ones that didn't make it into Makefile.  If you put them in
  manually in the correct place then it all works.
 
  
   On Fri, 2005-01-07 at 22:08, Jim Radford wrote:
Basically the changes in the apps/Makefile have progressed while the
patch
makefile have not. Here is a current patch that works as of
CVS-HEAD-01/06/05-14:47:06
   
Regards,
Jim
   
   
On Fri, 7 Jan 2005, Altus Snyman wrote:
 I'm trying to install spandsp
 But when I try to patch the Makefile it gives this error
 [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
 patching file Makefile
 Reversed (or previously applied) patch detected!  Assume -R? [n] y
 Hunk #1 succeeded at 41 (offset -6 lines).
 Hunk #2 FAILED at 67.

 is it ok to go on

 ___
 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

  
   ___
   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

 ___
 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

___
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] fax e-mail spandsp

2005-01-10 Thread Brian Dingman
Anyone care to pass on a makefile that works. This is what my
makefile.rej looks like:

***
*** 71,76 
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)
  
--- 73,84 
rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
  
+ app_rxfax.so : app_rxfax.o
+   $(CC) $(SOLINK) -o $@ $ -lspandsp -ltiff
+ 
+ app_txfax.so : app_txfax.o
+   $(CC) $(SOLINK) -o $@ $ -lspandsp -ltiff
+ 
  app_curl.so: app_curl.o
$(CC) $(SOLINK) -o $@ $ $(CURLLIBS)


On Mon, 10 Jan 2005 23:51:03 +0800, Craig Guy [EMAIL PROTECTED] wrote:
 Yes,
 
 And wrote it up in the wiki -
 http://www.voip-info.org/tiki-index.php?page=Asterisk%20fax look under the
 heafding 'Emailing a fax based on DID'.  I used LDAP but it could just as
 easily be made to work with odbcget or whatever else you wanted to use.
 
 Craig
 
 - Original Message -
 From: Altus Snyman [EMAIL PROTECTED]
 To: Howard Lowndes [EMAIL PROTECTED]
 Cc: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Sent: Monday, January 10, 2005 8:46 PM
 Subject: Re: [Asterisk-Users] fax e-mail spandsp
 
  Did anyone get asterisk to actually work with a fax coming in on a pri
  number and e-mail it to a user?
 
  On Mon, 2005-01-10 at 08:29, Howard Lowndes wrote:
   On Mon, 2005-01-10 at 16:00, Altus Snyman wrote:
Its still fails!
   
[EMAIL PROTECTED] apps]# patch  apps_makefile.patch.new
patching file Makefile
Hunk #1 succeeded at 42 with fuzz 2 (offset -7 lines).
Hunk #2 FAILED at 73.
1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
  
   Yep, I've just had this one, and fixed it.
  
   cd asterisk/apps
  
   Go look at Makefile.rej and lines 19  20 (minus the leading + sign)
   are the ones that didn't make it into Makefile.  If you put them in
   manually in the correct place then it all works.
  
   
On Fri, 2005-01-07 at 22:08, Jim Radford wrote:
 Basically the changes in the apps/Makefile have progressed while the
 patch
 makefile have not. Here is a current patch that works as of
 CVS-HEAD-01/06/05-14:47:06

 Regards,
 Jim


 On Fri, 7 Jan 2005, Altus Snyman wrote:
  I'm trying to install spandsp
  But when I try to patch the Makefile it gives this error
  [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
  patching file Makefile
  Reversed (or previously applied) patch detected!  Assume -R? [n] y
  Hunk #1 succeeded at 41 (offset -6 lines).
  Hunk #2 FAILED at 67.
 
  is it ok to go on
 
  ___
  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
 
   
___
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
 
  ___
  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
 
 ___
 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

___
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] fax e-mail spandsp

2005-01-09 Thread Altus Snyman
Its still fails!

[EMAIL PROTECTED] apps]# patch  apps_makefile.patch.new
patching file Makefile
Hunk #1 succeeded at 42 with fuzz 2 (offset -7 lines).
Hunk #2 FAILED at 73.
1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej

On Fri, 2005-01-07 at 22:08, Jim Radford wrote:
 Basically the changes in the apps/Makefile have progressed while the patch 
 makefile have not. Here is a current patch that works as of 
 CVS-HEAD-01/06/05-14:47:06
 
 Regards,
 Jim
 
 
 On Fri, 7 Jan 2005, Altus Snyman wrote:
  I'm trying to install spandsp
  But when I try to patch the Makefile it gives this error
  [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
  patching file Makefile
  Reversed (or previously applied) patch detected!  Assume -R? [n] y
  Hunk #1 succeeded at 41 (offset -6 lines).
  Hunk #2 FAILED at 67.
  
  is it ok to go on
  
  ___
  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
  

___
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] fax e-mail spandsp

2005-01-09 Thread Howard Lowndes
On Mon, 2005-01-10 at 16:00, Altus Snyman wrote:
 Its still fails!
 
 [EMAIL PROTECTED] apps]# patch  apps_makefile.patch.new
 patching file Makefile
 Hunk #1 succeeded at 42 with fuzz 2 (offset -7 lines).
 Hunk #2 FAILED at 73.
 1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej

Yep, I've just had this one, and fixed it.

cd asterisk/apps

Go look at Makefile.rej and lines 19  20 (minus the leading + sign)
are the ones that didn't make it into Makefile.  If you put them in
manually in the correct place then it all works.

 
 On Fri, 2005-01-07 at 22:08, Jim Radford wrote:
  Basically the changes in the apps/Makefile have progressed while the patch 
  makefile have not. Here is a current patch that works as of 
  CVS-HEAD-01/06/05-14:47:06
  
  Regards,
  Jim
  
  
  On Fri, 7 Jan 2005, Altus Snyman wrote:
   I'm trying to install spandsp
   But when I try to patch the Makefile it gives this error
   [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
   patching file Makefile
   Reversed (or previously applied) patch detected!  Assume -R? [n] y
   Hunk #1 succeeded at 41 (offset -6 lines).
   Hunk #2 FAILED at 67.
   
   is it ok to go on
   
   ___
   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
   
 
 ___
 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
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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


[Asterisk-Users] fax e-mail spandsp

2005-01-07 Thread Altus Snyman
I'm trying to install spandsp
But when I try to patch the Makefile it gives this error
[EMAIL PROTECTED] apps]# patch  apps_makefile.patch
patching file Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 41 (offset -6 lines).
Hunk #2 FAILED at 67.

is it ok to go on

___
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] fax e-mail spandsp

2005-01-07 Thread Dave Cotton
On Fri, 2005-01-07 at 16:07 +0200, Altus Snyman wrote:
 I'm trying to install spandsp
 But when I try to patch the Makefile it gives this error
 [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
 patching file Makefile
 Reversed (or previously applied) patch detected!  Assume -R? [n] y
 Hunk #1 succeeded at 41 (offset -6 lines).
 Hunk #2 FAILED at 67.
 
 is it ok to go on

The patch required is so trivial its better to do it manually.

Look at the makefile.patch and edit the Makefile accordingly.


-- 
Dave Cotton [EMAIL PROTECTED]


___
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] fax e-mail spandsp

2005-01-07 Thread Rich Adamson
 I'm trying to install spandsp
 But when I try to patch the Makefile it gives this error
 [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
 patching file Makefile
 Reversed (or previously applied) patch detected!  Assume -R? [n] y
 Hunk #1 succeeded at 41 (offset -6 lines).
 Hunk #2 FAILED at 67.
 
 is it ok to go on

Since you did not mention which * release you're using (cvs head
verses v1.0 stable), I'll assume cvs head.

I'd have to guess that because there has been a substantial number
code changes to cvs head, Steve probably needs to update the patch
to match the cvs head code.

If you look very close at the apps_makefile.patch, you can probably
figure out where each of the patch items belong in the Makefile.


___
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] fax e-mail spandsp

2005-01-07 Thread Jim Radford
Basically the changes in the apps/Makefile have progressed while the patch 
makefile have not. Here is a current patch that works as of 
CVS-HEAD-01/06/05-14:47:06

Regards,
Jim


On Fri, 7 Jan 2005, Altus Snyman wrote:
 I'm trying to install spandsp
 But when I try to patch the Makefile it gives this error
 [EMAIL PROTECTED] apps]# patch  apps_makefile.patch
 patching file Makefile
 Reversed (or previously applied) patch detected!  Assume -R? [n] y
 Hunk #1 succeeded at 41 (offset -6 lines).
 Hunk #2 FAILED at 67.
 
 is it ok to go on
 
 ___
 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
 

-- 
==
Jim Radford [EMAIL PROTECTED]
http://www.jimradford.com/
==--- Makefile.orig   2005-01-05 17:00:52.0 -0800
+++ Makefile2005-01-05 17:02:09.0 -0800
@@ -49,6 +49,8 @@
 APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo app_zapras.so 
app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so ; fi)
 APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo app_zapras.so 
app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so ; fi)
 APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo app_osplookup.so ; 
fi)
+APPS+=$(shell if [ -f /usr/include/spandsp.h ]; then echo app_rxfax.so 
app_txfax.so ; fi)
+APPS+=$(shell if [ -f /usr/local/include/spandsp.h ]; then echo app_rxfax.so 
app_txfax.so ; fi)
 
 CURLLIBS=$(shell curl-config --libs)
 ifneq (${CURLLIBS},)
@@ -78,6 +80,12 @@
rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
 
+app_rxfax.so : app_rxfax.o
+   $(CC) $(SOLINK) -o $@ $ -lspandsp -ltiff
+
+app_txfax.so : app_txfax.o
+   $(CC) $(SOLINK) -o $@ $ -lspandsp -ltiff
+
 app_curl.so: app_curl.o
$(CC) $(SOLINK) -o $@ $ $(CURLLIBS)
 
___
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