Re: [asterisk-users] Faxing: Anyone have a compiled executable?

2010-01-17 Thread IT-Connect

Hallo there!
I had my own experience get RxFax/TxFax successful running with spandsp.
I only got spandsp-0.0.4 running, because on newer package, there aren't 
created some needed libraries (don't remember the right one this moment)

*find /usr -iname \*spandsp\** shows me following output:
/usr/lib/libspandsp.so
/usr/lib/pkgconfig/spandsp.pc
/usr/lib/libspandsp.so.0.0.2
/usr/lib/libspandsp.a
/usr/lib/libspandsp.so.2
/usr/lib/libspandsp.so.0
/usr/lib/libspandsp.so.2.0.0
/usr/lib/libspandsp.la

and

debian-server*CLI *core show application RxFAX*
debian-server*CLI
  -= Info about application 'RxFAX' =-

[Synopsis]
Receive a FAX to a file

[Description]
  RxFAX(filename[|caller][|debug]): Receives a FAX from the channel 
into the

given filename. If the file exists it will be overwritten. The file
should be in TIFF/F format.
The caller option makes the application behave as a calling machine,
rather than the answering machine. The default behaviour is to behave as
an answering machine.
Uses LOCALSTATIONID to identify itself to the remote end.
 LOCALHEADERINFO to generate a header line on each page.
Sets REMOTESTATIONID to the sender CSID.
 FAXPAGES to the number of pages received.
 FAXBITRATE to the transmition rate.
 FAXRESOLUTION to the resolution.
Returns -1 when the user hangs up.
Returns 0 otherwise.

debian-server*CLI *core show application TxFAX*
debian-server*CLI
  -= Info about application 'TxFAX' =-

[Synopsis]
Send a FAX file

[Description]
  TxFAX(filename[|caller][|debug]):  Send a given TIFF file to the 
channel as a FAX.

The caller option makes the application behave as a calling machine,
rather than the answering machine. The default behaviour is to behave as
an answering machine.
Uses LOCALSTATIONID to identify itself to the remote end.
 LOCALHEADERINFO to generate a header line on each page.
Sets REMOTESTATIONID to the receiver CSID.
Returns -1 when the user hangs up, or if the file does not exist.
Returns 0 otherwise.


Regards

Am 17.01.2010 09:11, schrieb Doug:

At 23:04 1/16/2010, Tilghman Lesher wrote:

  That's incorrect.  module show shows only those modules which are currently
  loaded.  BTW, there is also the command module show like fax, which is much
  easier than typing out the whole module name, may show you more modules than
  you were aware of, and might be extremely helpful by showing you other
  related modules that are already loaded.

Thanks, guys.

~~~
CLI  module show like fax
Module Description
Use Count
0 modules loaded


CLI  module show like zt
Module Description
Use Count
0 modules loaded


CLI  module show like zap
Module Description
Use Count
app_zapateller.so  Block Telemarketers with Special Informa 0
1 modules loaded
~~~

No joy.


Read this and recompiled Asterisk:
http://ibot.rikers.org/%23asterisk/20090618.html.gz

Got these messages:

  WARNING WARNING WARNING

 Your Asterisk modules directory, located at
 /usr/lib/asterisk/modules
 contains modules that were not installed by this
 version of Asterisk. Please ensure that these
 modules are compatible with this version before
 attempting to run Asterisk.

app_fax.so
app_saycountpl.so
chan_ooh323.so
format_mp3.so


Read something else and found this in:

/var/log/asterisk/messages


[Jan 17 01:28:16] NOTICE[2479] loader.c: 145 modules will be loaded.
[Jan 17 01:28:16] WARNING[2479] loader.c: Error loading module
'app_fax.so': libspandsp.so.2: cannot open shared object file: No
such file or directory
[Jan 17 01:28:17] WARNING[2479] res_smdi.c: No SMDI interfaces are
available to listen on, not starting SMDI listener.
[Jan 17 01:28:19] WARNING[2479] loader.c: Error loading module
'app_fax.so': libspandsp.so.2: cannot open shared object file: No
such file or directory
[Jan 17 01:28:19] WARNING[2479] loader.c: Module 'app_fax.so' could
not be loaded.
[Jan 17 01:28:19] ERROR[2479] chan_dahdi.c: Unable to load zapata.conf
[Jan 17 01:28:20] NOTICE[2479] chan_ooh323.c:
-
---  *** IMPORTANT NOTE ***
---
---  This module is currently unsupported.  Use it at your own risk.
---
-

Does libspandsp.so.2 need to be copied to someplace
else?

# find / -name libspandsp.so.2*
/usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.so.2.0.0
/usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.so.2
/usr/local/lib/libspandsp.so.2.0.0
/usr/local/lib/libspandsp.so.2


Do I need a zapata.conf if I am using ztdummy?

# find / -name zapata.conf
#

Any other ideas?


   


-- 

Re: [asterisk-users] Faxing: Anyone have a compiled executable?

2010-01-17 Thread IT-Connect

Am 17.01.2010 11:28, schrieb Tzafrir Cohen:


What is the output of:

   ls -l /usr/lib/libspandsp.so*
   
lrwxrwxrwx 1 root root  19 18. Sep 19:40 /usr/lib/libspandsp.so - 
libspandsp.so.0.0.2
lrwxrwxrwx 1 root root  19 18. Sep 19:40 /usr/lib/libspandsp.so.0 - 
libspandsp.so.0.0.2

-rwxr-xr-x 1 root root 1401295 18. Sep 19:40 /usr/lib/libspandsp.so.0.0.2
lrwxrwxrwx 1 root root  19 18. Sep 19:31 /usr/lib/libspandsp.so.2 - 
libspandsp.so.2.0.0

-rwxr-xr-x 1 root root 1566819 18. Sep 19:31 /usr/lib/libspandsp.so.2.0.0


   ldd /usr/lib/modules/app_fax.so
   
O.k., I think, you use another application for app_fax? I've only 
*app_rxfax.so* and *app_txfax.so* and shows me following output:

*ldd /usr/lib/asterisk/modules/app_rxfax.so*
linux-gate.so.1 =  (0xb77e3000)
libspandsp.so.0 = /usr/lib/libspandsp.so.0 (0xb772e000)
libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7715000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb75ba000)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7594000)
libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb753f000)
/lib/ld-linux.so.2 (0xb77e4000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb751f000)
libz.so.1 = /usr/lib/libz.so.1 (0xb750a000)

*ldd /usr/lib/asterisk/modules/app_txfax.so*
linux-gate.so.1 =  (0xb78b9000)
libspandsp.so.0 = /usr/lib/libspandsp.so.0 (0xb7805000)
libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb77ec000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7691000)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb766b000)
libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb7616000)
/lib/ld-linux.so.2 (0xb78ba000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb75f6000)
libz.so.1 = /usr/lib/libz.so.1 (0xb75e1000)

*
ldd /usr/lib/libspandsp.so.2*

linux-gate.so.1 =  (0xb7858000)
libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb7753000)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb772d000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb75d2000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb75b3000)
libz.so.1 = /usr/lib/libz.so.1 (0xb759e000)
/lib/ld-linux.so.2 (0xb7859000)

-- 
_
-- 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] What am I doing wrong - trying to compile fax modules into 1.4 SVN

2009-07-21 Thread IT-Connect
There are different files, you can find in the internet and you have to 
find the right one, which is working for actual asterisk version.
I see in your files, that contents a file called app_fax.c. I don't know 
about this file. I use the following one:

app_nv_faxdetect.c, app_rxfax.c and app_txfax.c
But as I remember right, app_nv_faxdetect.c is not really important.

I think, this was the right link, were I found the working one and 
description to compile. It's an old one, but is working for me

http://www.sems.org/entry.asp?ENTRY_ID=197
actual, I use spandsp-0.0.6 version

regards

Danny Nicholas schrieb:

After following the prescribed steps, I now get a good make menuselect,
but still can't compile app_fax.c, app_txfax.c or app_rxfax.c . There seems
to be some kind of disconnect between the compile and the libraries (I look
at /usr/lib/spandsp/t30.h and /usr/lib/include/spandsp/t30.h and find what
the compile says it can't find, for example t30_terminate).

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Tuesday, July 21, 2009 2:03 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] What am I doing wrong?

On Mon, Jul 20, 2009 at 08:26:06PM +0200, IT-Connect wrote:
  

Hi Nicholas!

Perhaps, there are other ways as I describe here, but I use this way  
successfully about 4 years


- install latest spandsp version
- went to root directory of your svn asterisk
- type make distclean (because there are preconfigured things in  
downloaded version)
- change to following file of your asterisk directory  
/build_tools/menuselect-deps

  in the last line of this file, insert this *SPANDSP=1*
- after them, change back to root directory of asterisk and open the  
file makeopts

 last line, insert *SPANDSP_LIB=-lspandsp
- *after them, you can type make menuselct and expected entries could be  



That's wrong. It indicates you passed the wrong values to the configure
script.

  



___
-- 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] What am I doing wrong?

2009-07-20 Thread IT-Connect

Hi Nicholas!

Perhaps, there are other ways as I describe here, but I use this way 
successfully about 4 years


- install latest spandsp version
- went to root directory of your svn asterisk
- type make distclean (because there are preconfigured things in 
downloaded version)
- change to following file of your asterisk directory 
/build_tools/menuselect-deps

  in the last line of this file, insert this *SPANDSP=1*
- after them, change back to root directory of asterisk and open the 
file makeopts

 last line, insert *SPANDSP_LIB=-lspandsp
- *after them, you can type make menuselct and expected entries could be 
shown in menue

- make
- make install

One hint: since 1 year, I use SIP (t38) for incoming fax and using ISDN 
for outgoing fax, because there are many old faxes, which have no G38 
Support and can not recieve fax over t38


regards, Kare


Danny Nicholas schrieb:


Hi Gang,

 I've got the latest SVN branch of 1.4 downloaded onto 
SUSE 11.0.  Everything is happy EXCEPT, I can't get fax to be 
recognized by make menuselect.  I tried copying app_rxfax.c and 
app_txfax.c to the apps directory and starting again from ./configure, 
but no joy.  Any suggestions?


 


Danny Nicholas



___
-- 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



___
-- 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] FritzBox 7270

2009-05-20 Thread IT-Connect

I only tried to connect my 7270 Fritz Box over a sip account on asterisk!

There are some points, you have to note:
- you have to select Using internet number
- in the area select other Provider
- in field internet number your asterisk number
- in field user name your number too
- your password
- field registrar a name of your choice
- other fields are blank

I hope, these are the same options on you Fritz Box, because my gui is 
in German!


regards, Kare

Manoj Panicker - FOES schrieb:


Dear Users
Good day, need a help on connecting the FritzBox with my 
Asterisk Server. Both are in LAN and from the Asterisk Server I can 
ping the FritzBox. However the Username I gave in the box is somehow 
is not geeting registered in the Asterisk application. The usetname I 
configured in the box is of IAX2 type, is that the reason?


Any information on how to connect the FritzBoz 7270 with Asterisk will 
be appreciated. I did not seem to get much help from the net. Can 
somebody help?


Thanks
Manoj



___
-- 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



--
Fa. IT-Connect
Karl Tischler
Tel.+49 941 705 49 01
Fax   +49 941 378 70 39
Mobil   +49 160 98 38 23 00

Diese Email und etwaige Anhaenge sind nur fuer den angegebenen Empfaenger 
bestimmt. Sie kann privilegierte und vertrauliche Informationen enthalten. Wenn 
der Leser dieser Email nicht der bestimmungsgemaesse Empfaenger oder ein 
authorisierter Vertreter ist, werden Sie hiermit darauf aufmerksam gemacht, 
dass jede Weitergabe dieser Email streng verboten ist. Wenn Sie diese Email 
faelschlicherweise erhalten haben, unterrichten Sie uns bitte sofort und 
loeschen Sie die Email und etwaige Anhaenge von Ihrem Rechner.

This message and any attachments are intended only for the use of the 
addressee(s) and may contain information that is privileged and/or 
confidential. If the reader of the message is not the intended recipient(s) or 
an authorized representative of the intended recipient(s), please do not use, 
copy, distribute this email or its attachments or take action based on them. If 
you have received this communication in error, please notify us immediately by 
e-mail and delete the message and any attachments from your system.


___
-- 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] Asterisk 1.4 and ISDN-BRI support

2008-01-11 Thread IT-Connect

Hans Witvliet schrieb:

On Thu, 2008-01-10 at 08:35 +0100, IT-Connect wrote:
  
stoffell schrieb: 


Has anyone been able to get ISDN-BRI support to work reliably on
Asterisk 1.4? If so, I'd love to know how you did it (hardware,
distro, kernel, modules, versions, config files).




  
  
  

I've run Asterisk 1.4.17 with mISDN 1.7 on a Suse 10.0 with
Kernel-Version 2.6.23.13. But there are any issues
with newer Kernel-Versions. You have to patch the mISDN packet.
If you're interested, you can get a description from me.




Hi,

Did you use vanilla sources, or the pre-compiled ones from the build
server. I assume those shouldn't produce much of a problem

___
-- 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
  
I used the vanilla kernel sources, but it doesn't matter to use them 
with pre-compiled ones.
___
-- 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] Asterisk 1.4 and ISDN-BRI support

2008-01-09 Thread IT-Connect

stoffell schrieb:

Has anyone been able to get ISDN-BRI support to work reliably on
Asterisk 1.4? If so, I'd love to know how you did it (hardware,
distro, kernel, modules, versions, config files).



Maybe your best bet is using bristuff, the bristuff-0.4.0 series are
tests for asterisk 1.4, I haven't tested them out yet.  (
http://junghanns.net/downloads/ )

mISDN however is the other option..

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
  
I've run Asterisk 1.4.17 with mISDN 1.7 on a Suse 10.0 with 
Kernel-Version 2.6.23.13. But there are any issues

with newer Kernel-Versions. You have to patch the mISDN packet.
If you're interested, you can get a description from me.

___
-- 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] Asterisk and CISCO Gateway

2004-06-18 Thread Martin Gebhard ( A+G connect GmbH )
Hello

I have the following structure

  SIPH323 (chan_h323)
SIP Phone  Asterisk/H323 
---
   
  CISCO Gateway (CISCO 2610/NM2V-VIC-2BRI) - ISDN
SCCP Phone  CISCO CCM V3.3 
--
SCCPH323

I have the following problem:

Call from SIP to SCCP and from SCCP to SIP over H323 works fine. When I phone from SIP 
to an ISDN Phone (extern) the call is received but no voice is available after pickup. 
The Asterisk Server works as h323 Gateway. The Trace shows that packages are sendet 
from the SIP - Phone to Asterisk and from the CISCO Gateway to Asterisk. But the 
Asterisk doesn't pass the rtp - packages in both directions (not to the Phone and not 
to the Gateway).

Can anyone help ?

Thanks Martin Gebhard


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users