Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-20 Thread Mr. James W. Laferriere
Hello Tzafrir ,

On Fri, 19 Dec 2008, Tzafrir Cohen wrote:
 On Fri, Dec 19, 2008 at 09:32:57PM +0100, Loic Didelot wrote:
 Hi,
 I tried agx-addons with different version. I got it working till
 asterisk version 1.4.21 included on ubuntu with libtiff4.

 Starting from asterisk 1.4.22 it did not longer work.

 Just updated my backport. Originally intended to be in a Debian package
 but now I see that it won't make it.

 A patch vs. recent apps/app_fax.c (from 1.6.0)

  
 http://svn.debian.org/viewsvn/pkg-voip/asterisk-spandsp-plugins/trunk/debian/patches/app_fax_14?rev=6561view=log

 app_fax.c could be found oon the same area.

Are these warning's OK ?  Tia ,  JimL

[CC] app_fax.c - app_fax.o
app_fax.c:52: warning: no previous prototype for 'ast_tvdiff_sec'
app_fax.c:63: warning: no previous prototype for 'ast_tvdiff_us'
app_fax.c: In function 'phase_e_handler':
app_fax.c:213: warning: implicit declaration of function 't30_get_tx_ident'
app_fax.c:213: warning: assignment makes pointer from integer without a cast
app_fax.c:214: warning: implicit declaration of function 't30_get_rx_ident'
app_fax.c:214: warning: assignment makes pointer from integer without a cast
app_fax.c: In function 'set_local_info':
app_fax.c:272: warning: implicit declaration of function 't30_set_tx_ident'
app_fax.c:276: warning: implicit declaration of function 
't30_set_tx_page_header_info'
app_fax.c: In function 'transmit_audio':
app_fax.c:349: warning: unused variable 'fr'
app_fax.c:347: warning: unused variable 'detect_tone'
app_fax.c: At top level:
app_fax.c:523: warning: 'transmit_t38' defined but not used



-- 
+--+
| James   W.   Laferriere | SystemTechniques | Give me VMS |
| NetworkSystem Engineer | 2133McCullam Ave |  Give me Linux  |
| bab...@baby-dragons.com | Fairbanks, AK. 99701 |   only  on  AXP |
+--+

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-20 Thread Tzafrir Cohen
On Sat, Dec 20, 2008 at 01:50:55PM -0900, Mr. James W. Laferriere wrote:
   Hello Tzafrir ,
 
 On Fri, 19 Dec 2008, Tzafrir Cohen wrote:
 On Fri, Dec 19, 2008 at 09:32:57PM +0100, Loic Didelot wrote:
 Hi,
 I tried agx-addons with different version. I got it working till
 asterisk version 1.4.21 included on ubuntu with libtiff4.
 
 Starting from asterisk 1.4.22 it did not longer work.
 
 Just updated my backport. Originally intended to be in a Debian package
 but now I see that it won't make it.
 
 A patch vs. recent apps/app_fax.c (from 1.6.0)
 
  http://svn.debian.org/viewsvn/pkg-voip/asterisk-spandsp-plugins/trunk/debian/patches/app_fax_14?rev=6561view=log
 
 app_fax.c could be found oon the same area.
 
   Are these warning's OK ?  Tia ,  JimL

What version of spandsp do you use?

 
[CC] app_fax.c - app_fax.o
 app_fax.c:52: warning: no previous prototype for 'ast_tvdiff_sec'
 app_fax.c:63: warning: no previous prototype for 'ast_tvdiff_us'
 app_fax.c: In function 'phase_e_handler':
 app_fax.c:213: warning: implicit declaration of function 't30_get_tx_ident'
 app_fax.c:213: warning: assignment makes pointer from integer without a cast
 app_fax.c:214: warning: implicit declaration of function 't30_get_rx_ident'
 app_fax.c:214: warning: assignment makes pointer from integer without a cast
 app_fax.c: In function 'set_local_info':
 app_fax.c:272: warning: implicit declaration of function 't30_set_tx_ident'
 app_fax.c:276: warning: implicit declaration of function 
 't30_set_tx_page_header_info'
 app_fax.c: In function 'transmit_audio':
 app_fax.c:349: warning: unused variable 'fr'
 app_fax.c:347: warning: unused variable 'detect_tone'
 app_fax.c: At top level:
 app_fax.c:523: warning: 'transmit_t38' defined but not used
 
 
 
 -- 
 +--+
 | James   W.   Laferriere | SystemTechniques | Give me VMS |
 | NetworkSystem Engineer | 2133McCullam Ave |  Give me Linux  |
 | bab...@baby-dragons.com | Fairbanks, AK. 99701 |   only  on  AXP |
 +--+

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-20 Thread Mr. James W. Laferriere
Hello Tzafrir ,

On Sun, 21 Dec 2008, Tzafrir Cohen wrote:
 On Sat, Dec 20, 2008 at 01:50:55PM -0900, Mr. James W. Laferriere wrote:
 On Fri, 19 Dec 2008, Tzafrir Cohen wrote:
 On Fri, Dec 19, 2008 at 09:32:57PM +0100, Loic Didelot wrote:
 Hi,
 I tried agx-addons with different version. I got it working till
 asterisk version 1.4.21 included on ubuntu with libtiff4.

 Starting from asterisk 1.4.22 it did not longer work.

 Just updated my backport. Originally intended to be in a Debian package
 but now I see that it won't make it.

 A patch vs. recent apps/app_fax.c (from 1.6.0)

 http://svn.debian.org/viewsvn/pkg-voip/asterisk-spandsp-plugins/trunk/debian/patches/app_fax_14?rev=6561view=log

 app_fax.c could be found oon the same area.

  Are these warning's OK ?  Tia ,  JimL

 What version of spandsp do you use?

spandsp-0.0.4pre16.tgz

Which one is this patch compiling against successfully ?

Tho later the make finally blew chuck at LD time ...

make[2]: Leaving directory `/home/archive/asterisk/asterisk-1.4.22/main/db1-ast'
[LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o alaw.o app.o 
ast_expr2.o ast_expr2f.o asterisk.o astmm.o astobj2.o audiohook.o autoservice.o 
callerid.o cdr.o channel.o chanvars.o cli.o config.o cryptostub.o db.o 
devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o fixedjitterbuf.o 
frame.o fskmodem.o global_datastores.o http.o image.o indications.o io.o 
jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o privacy.o 
rtp.o say.o sched.o sha1.o slinfactory.o srv.o stdtime/localtime.o strcompat.o 
tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o utils.o 
editline/libedit.a db1-ast/libdb1.a ../apps/modules.link ../cdr/modules.link 
../channels/modules.link ../codecs/modules.link ../formats/modules.link 
../funcs/modules.link ../pbx/modules.link ../res/modules.link - asterisk
../apps/app_fax.o: In function `fax_generator_generate':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:319: undefined reference 
to `fax_tx'
../apps/app_fax.o: In function `load_module':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:793: undefined reference 
to `span_set_message_handler'
../apps/app_fax.o: In function `phase_e_handler':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:196: undefined reference 
to `t30_get_transfer_statistics'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:204: undefined reference 
to `t30_completion_code_to_str'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:206: undefined reference 
to `t30_completion_code_to_str'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:213: undefined reference 
to `t30_get_tx_ident'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:214: undefined reference 
to `t30_get_rx_ident'
../apps/app_fax.o: In function `transmit_audio':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:375: undefined reference 
to `fax_init'
../apps/app_fax.o: In function `set_logging':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:260: undefined reference 
to `span_log_set_message_handler'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:261: undefined reference 
to `span_log_set_level'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:260: undefined reference 
to `span_log_set_message_handler'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:261: undefined reference 
to `span_log_set_level'
../apps/app_fax.o: In function `set_file':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:282: undefined reference 
to `t30_set_tx_file'
../apps/app_fax.o: In function `set_ecm':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:289: undefined reference 
to `t30_set_ecm_capability'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:290: undefined reference 
to `t30_set_supported_compressions'
../apps/app_fax.o: In function `transmit_audio':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:386: undefined reference 
to `fax_set_transmit_on_idle'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:388: undefined reference 
to `t30_set_phase_e_handler'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:501: undefined reference 
to `t30_set_phase_e_handler'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:504: undefined reference 
to `t30_terminate'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:505: undefined reference 
to `fax_release'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:450: undefined reference 
to `fax_rx'
../apps/app_fax.o: In function `set_file':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:284: undefined reference 
to `t30_set_rx_file'
../apps/app_fax.o: In function `set_local_info':
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:272: undefined reference 
to `t30_set_tx_ident'
/home/archive/asterisk/asterisk-1.4.22/apps/app_fax.c:276: undefined reference 
to `t30_set_tx_page_header_info'
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make[1]: Leaving 

Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-20 Thread Tzafrir Cohen
On Sat, Dec 20, 2008 at 02:21:28PM -0900, Mr. James W. Laferriere wrote:
   Hello Tzafrir ,
 
 On Sun, 21 Dec 2008, Tzafrir Cohen wrote:
 What version of spandsp do you use?
 
   spandsp-0.0.4pre16.tgz
 
   Which one is this patch compiling against successfully ?

0.0.5pre4 . However with 0.0.4pre16 you should be able to build the
agx-addons package mentioned above.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-20 Thread Mr. James W. Laferriere
Hello Tzafrir ,

On Sun, 21 Dec 2008, Tzafrir Cohen wrote:
 On Sat, Dec 20, 2008 at 02:21:28PM -0900, Mr. James W. Laferriere wrote:
 On Sun, 21 Dec 2008, Tzafrir Cohen wrote:
 What version of spandsp do you use?

  spandsp-0.0.4pre16.tgz

  Which one is this patch compiling against successfully ?

 0.0.5pre4 . However with 0.0.4pre16 you should be able to build the
 agx-addons package mentioned above.

For some darned reason ,  the RxFax would not pickup an inbound fax .
So I am trying other options .  Your patched app_fax.c .

Would 0.0.6pre3 be a problem you think ?

Tia ,  JimL
-- 
+--+
| James   W.   Laferriere | SystemTechniques | Give me VMS |
| NetworkSystem Engineer | 2133McCullam Ave |  Give me Linux  |
| bab...@baby-dragons.com | Fairbanks, AK. 99701 |   only  on  AXP |
+--+

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-19 Thread Loic Didelot
Hi,
I tried agx-addons with different version. I got it working till
asterisk version 1.4.21 included on ubuntu with libtiff4.

Starting from asterisk 1.4.22 it did not longer work.

Loic

On Wed, 2008-12-17 at 17:12 +0100, Olivier wrote:
 Hi,
 
 I've read README file in agx-ast-addons-1.4.17.5.tar.bz2 
 It says Install libTiff =3.8 and 4.0 
 
 Should you really use this agx-ast-addons to get app_rxfax and
 app-_txfax running with latest 1.4.22 ?
 If positive, should you take this libtiff warning into account ?
 If positive, where can you find such libtiff version as Debian
 repository (I didn't check alternate distrib) includes libtiff4 but no
 libtiff3 not libtiff.
 
 Cheers
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Loïc DIDELOT
MIXvoip S.a.
Tel: +352 20  20
Fax: +352 20  90
ldide...@mixvoip.com
http://www.mixvoip.com


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-19 Thread Tzafrir Cohen
On Fri, Dec 19, 2008 at 09:32:57PM +0100, Loic Didelot wrote:
 Hi,
 I tried agx-addons with different version. I got it working till
 asterisk version 1.4.21 included on ubuntu with libtiff4.
 
 Starting from asterisk 1.4.22 it did not longer work.

Just updated my backport. Originally intended to be in a Debian package
but now I see that it won't make it.

A patch vs. recent apps/app_fax.c (from 1.6.0)

  
http://svn.debian.org/viewsvn/pkg-voip/asterisk-spandsp-plugins/trunk/debian/patches/app_fax_14?rev=6561view=log

app_fax.c could be found oon the same area.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


[asterisk-users] Install app_rxfax and app_txfax in 1.4 with Lenny

2008-12-17 Thread Olivier
Hi,

I've read README file in agx-ast-addons-1.4.17.5.tar.bz2
It says Install libTiff =3.8 and 4.0

Should you really use this agx-ast-addons to get app_rxfax and app-_txfax
running with latest 1.4.22 ?
If positive, should you take this libtiff warning into account ?
If positive, where can you find such libtiff version as Debian repository (I
didn't check alternate distrib) includes libtiff4 but no libtiff3 not
libtiff.

Cheers
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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