Re: [Asterisk-Users] zaptel on Debian

2004-03-12 Thread hank smith
if you do a apt-get install asterisk you can get it all ready compiled and
everything ondibian.
I just did that last night.
hth
- Original Message -
From: Yury Bokhoncovich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Duane [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 11:03 PM
Subject: Re: [Asterisk-Users] zaptel on Debian


 Hello!

 On Sat, 6 Mar 2004, Duane wrote:

  Hermann Wecke wrote:
   After trying and trying to compile and make Asterisk run on a Debian
   box, I gave up and picked another HD with RH 9 on it. No headaches.
Only 1
   build was necessary to build and run *.

 I guess using of /lib/modules/$(shell uname -r)/build is the best method
 for Makefile as it is recommended by kernel developers and saves against a
 lot of headaches. YMMV, e.g. I have had specified
 /lib/modules/2.4.22-ac2-ow1-xattr-acl-0.8.60-byg/build
 directly when compile NVIDIA drivers under another kernel.

 --
 WBR, Yury Bokhoncovich, Senior System Administrator, NOC of F1 Group.
 Phone: +7 (3832) 106228, ext.140, E-mail: [EMAIL PROTECTED]
 Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.


 ___
 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

___
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


Re: [Asterisk-Users] zaptel on Debian

2004-03-11 Thread Yury Bokhoncovich
Hello!

On Sat, 6 Mar 2004, Duane wrote:

 Hermann Wecke wrote:
  After trying and trying to compile and make Asterisk run on a Debian
  box, I gave up and picked another HD with RH 9 on it. No headaches. Only 1
  build was necessary to build and run *.

I guess using of /lib/modules/$(shell uname -r)/build is the best method 
for Makefile as it is recommended by kernel developers and saves against a 
lot of headaches. YMMV, e.g. I have had specified 
/lib/modules/2.4.22-ac2-ow1-xattr-acl-0.8.60-byg/build 
directly when compile NVIDIA drivers under another kernel.

-- 
WBR, Yury Bokhoncovich, Senior System Administrator, NOC of F1 Group.
Phone: +7 (3832) 106228, ext.140, E-mail: [EMAIL PROTECTED]
Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.


___
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


Re: [Asterisk-Users] zaptel on Debian

2004-03-08 Thread Joe Phillips
On Fri, 2004-03-05 at 20:47, Duane wrote:

 The fix for me since I roll my own kernels, after a lot of buggering 
 about and head banging on the desk, the solution was rather simple...
 
 cd /usr/src
 ln -s linux-2.4.25 linux

If you build your own software, the above is recommended.  I do this
routinely on my systems.  Many software packages built from source
expect the linux source code/headers in /usr/src/linux.

-joe
-- 
 Innovation Software Group, LLC - http://www.innovationsw.com
   Custom Internet and Computer Solutions
   Linux, UNIX, Java Training

___
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


Re: [Asterisk-Users] zaptel on Debian

2004-03-05 Thread Duane
Hermann Wecke wrote:
After trying and trying to compile and make Asterisk run on a Debian
box, I gave up and picked another HD with RH 9 on it. No headaches. Only 1
build was necessary to build and run *.
The problem I found with debian is how they decided how to do the linux 
header files for everyone in /usr/include/linux either libc6-dev or 
linux-kernel-headers packages...

The fix for me since I roll my own kernels, after a lot of buggering 
about and head banging on the desk, the solution was rather simple...

cd /usr/src
ln -s linux-2.4.25 linux
then just build the cvs zaptel modules as per documents...

of course a couple of `uname -a` in the Makefile would have saved me all 
the headaches but anyways, 6 hours later and all the wiser...

--
Best regards,
 Duane
http://www.cacert.org - Free Security Certificates
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://happysnapper.com.au - Sell your photos over the net!
___
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


Re: [Asterisk-Users] zaptel on Debian

2004-03-04 Thread Hermann Wecke
On Thu, 5 Feb 2004, Tim Sailer wrote:
 Does anyone have the zaptel modules built for Debian 2.4.24 kernel?

After trying and trying to compile and make Asterisk run on a Debian
box, I gave up and picked another HD with RH 9 on it. No headaches. Only 1
build was necessary to build and run *.

I found good howto pages on Debian, but I can't tell what happened
that kept me away from Debian... the pages I used are
http://users.pandora.be/Asterisk-PBX/InstallAsterisk.htm
http://www.ntgos.com/Projects/Asterisk/Debian_Howto
___
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


Re: [Asterisk-Users] zaptel on Debian

2004-03-03 Thread Joe Phillips
On Wed, 2004-03-03 at 00:34, Hermann Wecke wrote:
 On Thu, 5 Feb 2004, Tim Sailer wrote:
  Does anyone have the zaptel modules built for Debian 2.4.24 kernel?
 
 Someone here is running * on debian?

I have * running on Debian stable.  I back-ported the zaptel and
asterisk packages from testing.  I'm currently evaluating * for my uses
and so this is not a production system.  My back-ported packages are
also not complete although they are functional for my uses so far.

 Recompiled kernel to latest (?) 2.4.24
 uname -a
 Linux mail 2.4.24 #5 SMP Tue Mar 2 17:31:13 BRT 2004 i686 GNU/Linux

stegosaurus:/etc/asterisk# uname -a
Linux stegosaurus 2.4.18-1-686 #1 Mon Jan 5 19:32:08 UTC 2004 i686
unknown

do you have a hardware problem?  the zaptel hardware just worked for
me.

-joe
-- 
 Innovation Software Group, LLC - http://www.innovationsw.com
   Custom Internet and Computer Solutions
   Linux, UNIX, Java Training

___
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


RE: [Asterisk-Users] Zaptel on Debian

2004-03-03 Thread Shawn L. Djernes
Hi,

I have Zaptel on Debian Testing with 2.4.24 kernel.  I am building stuff
from CVS instead of using packages for right now.  I like to get my bug
fixes fresh everyday or 3.

Here is what I did to make it work.

Had Deb testing already running.
Built 2.4.18,19,20,22,24 (had zap working with all of them)
Installed the kernel and reboot.
Downloaded Asterisk, Libpri(not sure if this is needed for X100P but have it
anyway), Zaptel fromCVS.
Built them all (at first I think I had to find some dev packages such as
libdb4-dev and a fewothers) with a make install  If it is your first time
for asterisk then also do make samples.
Configured zaptel.conf like this.

fxsks=1
loadzone = us
defaultzone=us

Loaded the wcfxo module with modprobe wcfxo
Ran ztcfg (to configure the card)
Set Zapata.conf like this
signalling=fxs_ks
rxgain=6.0
channel=1
Started Asterisk and it worked.

Shawn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Phillips
Sent: Wednesday, March 03, 2004 09:56
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] zaptel on Debian


On Wed, 2004-03-03 at 00:34, Hermann Wecke wrote:
 On Thu, 5 Feb 2004, Tim Sailer wrote:
  Does anyone have the zaptel modules built for Debian 2.4.24 kernel?

 Someone here is running * on debian?

I have * running on Debian stable.  I back-ported the zaptel and
asterisk packages from testing.  I'm currently evaluating * for my uses
and so this is not a production system.  My back-ported packages are
also not complete although they are functional for my uses so far.

 Recompiled kernel to latest (?) 2.4.24
 uname -a
 Linux mail 2.4.24 #5 SMP Tue Mar 2 17:31:13 BRT 2004 i686 GNU/Linux

stegosaurus:/etc/asterisk# uname -a
Linux stegosaurus 2.4.18-1-686 #1 Mon Jan 5 19:32:08 UTC 2004 i686
unknown

do you have a hardware problem?  the zaptel hardware just worked for
me.

-joe
--
 Innovation Software Group, LLC - http://www.innovationsw.com
   Custom Internet and Computer Solutions
   Linux, UNIX, Java Training

___
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


___
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


Re: [Asterisk-Users] zaptel on Debian

2004-03-02 Thread Hermann Wecke
On Thu, 5 Feb 2004, Tim Sailer wrote:
 Does anyone have the zaptel modules built for Debian 2.4.24 kernel?

Someone here is running * on debian?

I tried to follow every howto page I found, but all ended with the same
problem:

Mar  3 02:21:51 WARNING[16384]: chan_zap.c:673 zt_open: Unable to specify channel 1: 
No such device or address
Mar  3 02:21:51 ERROR[16384]: chan_zap.c:5324 mkintf: Unable to open channel 1: No 
such device or address
here = 0, tmp-channel = 1, channel = 1
Mar  3 02:21:51 ERROR[16384]: chan_zap.c:7397 setup_zap: Unable to register channel '1'
Mar  3 02:21:51 WARNING[16384]: loader.c:313 ast_load_resource:
chan_zap.so: load_module failed, returning -1
  == Unregistered channel type 'Tor'
  == Unregistered channel type 'Zap'
-- Unregistered channel 1
Mar  3 02:21:51 WARNING[16384]: loader.c:408 load_modules: Loading module chan_zap.so 
failed!

Recompiled kernel to latest (?) 2.4.24
uname -a
Linux mail 2.4.24 #5 SMP Tue Mar 2 17:31:13 BRT 2004 i686 GNU/Linux

Howto pages I found:
http://users.pandora.be/Asterisk-PBX/InstallAsterisk.htm
http://www.ntgos.com/Projects/Asterisk/Debian_Howto
http://www.voip-info.org/tiki-index.php?page=Linux+Debian

Any clues?
___
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


RE: [Asterisk-Users] zaptel on Debian

2004-02-05 Thread Sean Cheesman
do you have the kernel source installed?

-Original Message-
From: Tim Sailer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 10:33 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] zaptel on Debian


Does anyone have the zaptel modules built for Debian 2.4.24 kernel?

When I try to compile I get :

./gendigits
gcc -I/include -O2 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -I.
-Wstrict-prototypes -fo
mit-frame-pointer   -DSTANDALONE_ZAPATA -c zaptel.c
In file included from /usr/include/asm/smp.h:18,
 from /usr/include/linux/smp.h:17,
 from /usr/include/linux/sched.h:23,
 from /usr/include/linux/module.h:10,
 from zaptel.c:44:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
 from /usr/include/linux/smp.h:17,
 from /usr/include/linux/sched.h:23,
 from /usr/include/linux/module.h:10,
 from zaptel.c:44:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here
(not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here
(not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in
a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here
(not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for
`mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of
`mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here
(not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here
(not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for
`mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of
`mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in
a function) In file included from /usr/include/asm/smp.h:20,
 from /usr/include/linux/smp.h:17,
 from /usr/include/linux/sched.h:23,
 from /usr/include/linux/module.h:10,
 from zaptel.c:44:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here
(not in a functio
n)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
make[2]: *** [zaptel.o] Error 1
make[2]: Leaving directory `/usr/src/modules/zaptel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
make: *** [kdist_image] Error 2


I'm too tired to fight with this. If someone has the modules for this
kernel, can you tar them up and send them to me?

Tim

-- 


 Tim Sailer Coastal Internet, Inc.

 Network and Systems Operations PO Box 726

 http://www.buoy.comMoriches, NY 11955

 [EMAIL PROTECTED]   (631) 399-2910  (888) 924-3728



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


Re: [Asterisk-Users] zaptel on Debian

2004-02-05 Thread Tim Sailer
On Thu, Feb 05, 2004 at 10:52:00PM -0500, Sean Cheesman wrote:
 do you have the kernel source installed?

Yup, in usr/src/linux .

Tim

-- 

 Tim Sailer Coastal Internet, Inc.  
 Network and Systems Operations PO Box 726  
 http://www.buoy.comMoriches, NY 11955  
 [EMAIL PROTECTED]   (631) 399-2910  (888) 924-3728  

___
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