Re: [asterisk-users] ztdummy IVR no voice

2010-07-12 Thread Giorgio Incantalupo
Hi Jordan,

it happened to me too. I disabled the ACPI function and it worked.

Giorgio Incantalupo

jordan pan wrote:
 Hi all ,

 In my pbx ,there is no zaptel card ,so i loading ztdummy,but problem 
 appear,when i dial the number into the pbx,sometimes i can not listen 
 to the ivr ,and no rtp create. if i unload the ztdummy driver,the 
 proble will
 disapper. I guess may be the timer source problem, but i dont't know 
 how to solve it . anyone can give
 me some advices will be appreciated.

 asteirsk-1.4.21 and zaptel-1.4.10


 Thanks in advance!


 -- 
 Best regards!
 jordan pan
 Location:Shenzhen China
 Company:www.justcall.cn http://www.justcall.cn


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] ztdummy IVR no voice

2010-07-12 Thread jordan pan
Thanks for your reply. this case happens sometimes,may be one twentieth.

yes,the ztdummy is using the RTC, and i make sure the USE_RTC had defined in
ztdummy.c.

and i will use the method in patch 13930.

Thanks.

Best wishs to you!

jordan



2010/7/12 Shaun Ruffell sruff...@digium.com

 On 7/11/10 9:47 PM, jordan pan wrote:

 In my pbx ,there is no zaptel card ,so i loading ztdummy,but problem
 appear,when i dial the number into the pbx,sometimes i can not listen to
 the ivr ,and no rtp create. if i unload the ztdummy driver,the proble will
 disapper. I guess may be the timer source problem, but i dont't know how
 to solve it . anyone can give
 me some advices will be appreciated.

 asteirsk-1.4.21 and zaptel-1.4.10


 So this only happens sometimes?  I'm wondering if ztdummy on your system is
 using the RTC and that the RTC interrupt is stopping on your system as in
 issue 13930 (http://issues.asterisk.org/view.php?id=13930)

 If RTC is in use, you could try making sure that USE_RTC is not defined in
 ztdummy.c.


 --
 Shaun Ruffell
 Digium, Inc. | Linux Kernel Developer

 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: www.digium.com  www.asterisk.org




-- 
Best regards!
jordan pan
Location:Shenzhen China Company:www.justcall.cn
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] ztdummy IVR no voice

2010-07-11 Thread jordan pan
Hi all ,

In my pbx ,there is no zaptel card ,so i loading ztdummy,but problem
appear,when i dial the number into the pbx,sometimes i can not listen to the
ivr ,and no rtp create. if i unload the ztdummy driver,the proble will
disapper. I guess may be the timer source problem, but i dont't know how to
solve it . anyone can give
me some advices will be appreciated.

asteirsk-1.4.21 and zaptel-1.4.10


Thanks in advance!


-- 
Best regards!
jordan pan
Location:Shenzhen China
Company:www.justcall.cn
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] ztdummy IVR no voice

2010-07-11 Thread Shaun Ruffell
On 7/11/10 9:47 PM, jordan pan wrote:
 In my pbx ,there is no zaptel card ,so i loading ztdummy,but problem
 appear,when i dial the number into the pbx,sometimes i can not listen to
 the ivr ,and no rtp create. if i unload the ztdummy driver,the proble will
 disapper. I guess may be the timer source problem, but i dont't know how
 to solve it . anyone can give
 me some advices will be appreciated.

 asteirsk-1.4.21 and zaptel-1.4.10


So this only happens sometimes?  I'm wondering if ztdummy on your system 
is using the RTC and that the RTC interrupt is stopping on your system 
as in issue 13930 (http://issues.asterisk.org/view.php?id=13930)

If RTC is in use, you could try making sure that USE_RTC is not defined 
in ztdummy.c.


-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] ZTdummy

2010-03-20 Thread Joao Gomes Pereira
Hello
I have a 4 span PRI board with Zaptel, and Im using it for a long time.
In the last days I noticed that the result of zap show status show a 
ZTDUMMY but I never installed it:


o*CLI zap show status
Description  Alarms IRQ
bpviol CRC4
T4XXP (PCI) Card 0 Span 1OK 0  0  0
T4XXP (PCI) Card 0 Span 2OK 0  0  0
T4XXP (PCI) Card 0 Span 3UNCONFIGUR 0  0  0
T4XXP (PCI) Card 0 Span 4UNCONFIGUR 0  0  0
ZTDUMMY/1 1  UNCONFIGUR 0  0  0


What is that doing ?
Also, some people say they cant send me calls through the ZAP trunk... 
could be because of this ZTDUMMY?

Thanks
Regards
Joao Pereira

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] ZTdummy

2010-03-20 Thread Zeeshan Zakaria
You can comment ztdummy out in /etc/sysconfig/zaptel. As for affecting icmo

On 2010-03-20 5:16 PM, Joao Gomes Pereira gomespere...@startel.pt wrote:

Hello
I have a 4 span PRI board with Zaptel, and Im using it for a long time.
In the last days I noticed that the result of zap show status show a
ZTDUMMY but I never installed it:


o*CLI zap show status
Description  Alarms IRQ
bpviol CRC4
T4XXP (PCI) Card 0 Span 1OK 0  0  0
T4XXP (PCI) Card 0 Span 2OK 0  0  0
T4XXP (PCI) Card 0 Span 3UNCONFIGUR 0  0  0
T4XXP (PCI) Card 0 Span 4UNCONFIGUR 0  0  0
ZTDUMMY/1 1  UNCONFIGUR 0  0  0


What is that doing ?
Also, some people say they cant send me calls through the ZAP trunk...
could be because of this ZTDUMMY?

Thanks
Regards
Joao Pereira

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] ZTdummy

2010-03-20 Thread Zeeshan Zakaria
Ztdummy enabled should not affect incoming calls.

On 2010-03-20 5:22 PM, Zeeshan Zakaria zisha...@gmail.com wrote:

You can comment ztdummy out in /etc/sysconfig/zaptel. As for affecting icmo



 On 2010-03-20 5:16 PM, Joao Gomes Pereira gomespere...@startel.pt
wrote:

 Hello
 I have...
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] ztdummy compile under 2.6.28 ?

2009-02-19 Thread Philipp Kempgen
Gordon Henderson schrieb:
 On Tue, 17 Feb 2009, Gordon Henderson wrote:
 
 It looks like something has changed in the HPET kernel code in 2.6.28
 (maybe .27 too) that's stopped ztdummy.c compiling (in 1.2 and 1.4
 versions of zapata) A kernel structure member has been renamed with some
 crypic comments in the lkml about it.
 
 OK, a few checks in the dahdi code (look, I spelt it right! :) and the 
 changes are minimal and would apply to both the 1.2 and 1.4 versions of 
 ztdummy. What's the recomended way to publish patches - if anyone wants 
 them?

The bug tracker: http://bugs.digium.com


Philipp Kempgen
-- 
AMOOCON 2009, May 4-5, Rostock / Germany   -  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  -  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 

___
-- 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] ztdummy compile under 2.6.28 ?

2009-02-18 Thread Gordon Henderson
On Tue, 17 Feb 2009, Gordon Henderson wrote:

 It looks like something has changed in the HPET kernel code in 2.6.28
 (maybe .27 too) that's stopped ztdummy.c compiling (in 1.2 and 1.4
 versions of zapata) A kernel structure member has been renamed with some
 crypic comments in the lkml about it.

OK, a few checks in the dahdi code (look, I spelt it right! :) and the 
changes are minimal and would apply to both the 1.2 and 1.4 versions of 
ztdummy. What's the recomended way to publish patches - if anyone wants 
them?

Thanks,

Gordon


___
-- 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] ztdummy compile under 2.6.28 ?

2009-02-17 Thread Gordon Henderson

It looks like something has changed in the HPET kernel code in 2.6.28 
(maybe .27 too) that's stopped ztdummy.c compiling (in 1.2 and 1.4 
versions of zapata) A kernel structure member has been renamed with some 
crypic comments in the lkml about it.

Anyone know the right thing to do - I'm not up on the linux kernel guts, 
nor how ztdummy might interact with it, so simply renaming the structure 
member (from expires to _expires) is probably not the right thing to do...

Meanwhile what's the 2nd best way to use ztdummy - force it to use the RTC 
instead?

Gordon

___
-- 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] ztdummy compile under 2.6.28 ?

2009-02-17 Thread David Backeberg
On Tue, Feb 17, 2009 at 5:00 PM, Gordon Henderson
gordon+aster...@drogon.net wrote:

 Meanwhile what's the 2nd best way to use ztdummy - force it to use the RTC
 instead?

The best way to use ztdummy is to read about the change to using
DAHDI, and use dahdi_dummy instead.

http://www.voip-info.org/wiki/view/DAHDI

___
-- 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] ztdummy compile under 2.6.28 ?

2009-02-17 Thread Shaun Ruffell
Gordon Henderson wrote:
 
 Anyone know the right thing to do - I'm not up on the linux kernel guts, 
 nor how ztdummy might interact with it, so simply renaming the structure 
 member (from expires to _expires) is probably not the right thing to do...
 

If you're already making system changes and updating your kernel, now 
might be a good time to make the switch to dahdi.  dahdi_dummy works 
with recent kernels.

But otherwise, you might be interested in the history of dahdi_dummy.c 
to get some hints about what you might need to do for ztdummy if you 
want to make a local patch for that.

http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_dummy.c?view=log

Cheers,
Shaun


___
-- 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] ztdummy compile under 2.6.28 ?

2009-02-17 Thread Gordon Henderson
On Tue, 17 Feb 2009, David Backeberg wrote:

 On Tue, Feb 17, 2009 at 5:00 PM, Gordon Henderson
 gordon+aster...@drogon.net wrote:

 Meanwhile what's the 2nd best way to use ztdummy - force it to use the RTC
 instead?

 The best way to use ztdummy is to read about the change to using
 DAHDI, and use dahdi_dummy instead.

 http://www.voip-info.org/wiki/view/DAHDI

Thanks, but I'm sticking to 1.2 for the time being. I might look at what's 
changed in dhadi though, and I'll switch to it when I can type it without 
making a typo.

Gordon

___
-- 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] ztdummy: rtc: lost some interrupts at 1024Hz

2008-11-12 Thread Giorgio Incantalupo
Hi JR,

Tried with another motherboard: it works!!
Tried with Asterisk 1.2 and 1.4: it works!!

I cannot still believeit works...IT WORKS!!!

Need to make some other tests with other kernels/machines/cards but I'm 
sure this is the right way!

Thank you thank you thank you!!!  ::-))

Giorgio.


JR Richardson wrote:
 I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy
 is working fine but for some reason I cannot.
 The two machines have the same kernel, motherboard, the same gcc version
 and the same zaptel 1.4.8. On the second machine zaptel compiles without
 errors and ztdummy.ko is generated but when I modprobe it I get the
 following error in messages:
 rtc: lost some interrupts at 1024Hz.
 Since modules sizes are slighly different I copied the working ztdummy
 on the new machine so the files are the same.nothing changes!!

 
 Your mother boards are probably not 100% the same, maybe a chipset is
 newer and causing an interrupt problem.  I've seen this before.  Put
 'acpi=off' in your kernel boot parameter line in the grub menu.lst
 like this:

 title   Debian GNU/Linux, kernel 2.6.18-686
 root(hd0,0)
 kernel  /boot/vmlinuz-2.6.18--686 root=/dev/sda1 ro acpi=off
 initrd  /boot/initrd.img-2.6.18-686
 savedefault

 Reboot, and that should do it.

 JR
   



___
-- 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] ztdummy: rtc: lost some interrupts at 1024Hz.

2008-11-11 Thread Remi Quezada
I remember having that issue once and I fixed it by changing a
configuration in the motherboard BIOS.  It was related to the SATA hard
drive mode it was running on.  The default configuration was set to
legacy mode I believe and when I changed it to enhanced mode the lost of
interrupts problem I was having went away.  I had a Supermicro
motherboard in case you were curious. 

Remi Quezada

Giorgio Incantalupo wrote:
 Hi,

 I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy 
 is working fine but for some reason I cannot.
 The two machines have the same kernel, motherboard, the same gcc version 
 and the same zaptel 1.4.8. On the second machine zaptel compiles without 
 errors and ztdummy.ko is generated but when I modprobe it I get the 
 following error in messages:
 rtc: lost some interrupts at 1024Hz.
 Since modules sizes are slighly different I copied the working ztdummy 
 on the new machine so the files are the same.nothing changes!!

 Any help is appreciated.

 Thank you.

   


___
-- 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] ztdummy: rtc: lost some interrupts at 1024Hz

2008-11-11 Thread JR Richardson
 I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy
 is working fine but for some reason I cannot.
 The two machines have the same kernel, motherboard, the same gcc version
 and the same zaptel 1.4.8. On the second machine zaptel compiles without
 errors and ztdummy.ko is generated but when I modprobe it I get the
 following error in messages:
 rtc: lost some interrupts at 1024Hz.
 Since modules sizes are slighly different I copied the working ztdummy
 on the new machine so the files are the same.nothing changes!!

Your mother boards are probably not 100% the same, maybe a chipset is
newer and causing an interrupt problem.  I've seen this before.  Put
'acpi=off' in your kernel boot parameter line in the grub menu.lst
like this:

title   Debian GNU/Linux, kernel 2.6.18-686
root(hd0,0)
kernel  /boot/vmlinuz-2.6.18--686 root=/dev/sda1 ro acpi=off
initrd  /boot/initrd.img-2.6.18-686
savedefault

Reboot, and that should do it.

JR
-- 
JR Richardson
Engineering for the Masses

___
-- 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] ztdummy: rtc: lost some interrupts at 1024Hz.

2008-11-11 Thread Giorgio Incantalupo
Hi,

I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy 
is working fine but for some reason I cannot.
The two machines have the same kernel, motherboard, the same gcc version 
and the same zaptel 1.4.8. On the second machine zaptel compiles without 
errors and ztdummy.ko is generated but when I modprobe it I get the 
following error in messages:
rtc: lost some interrupts at 1024Hz.
Since modules sizes are slighly different I copied the working ztdummy 
on the new machine so the files are the same.nothing changes!!

Any help is appreciated.

Thank you.

-- 

_
Giorgio Incantalupo, mailto:[EMAIL PROTECTED]
FGA srl - http://www.fgasoftware.com -
[EMAIL PROTECTED] - The Agile PBX http://www.voiceatwork.eu
Tel: 02997663.14, Fax: 0291390172  


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

2008-11-04 Thread Aldo D. Sudak
Hi to all,

The problem was finally solved by installing Asterisk-1.4.18. Versions 1.4.20 
and current (1.4.22) produce the issue. Version 1.4.18 does not. May this be a 
bug?

Aldo Sudak___
-- 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] Ztdummy and Asterisk

2008-11-03 Thread Stefan Tichy
On Sat, Nov 01, 2008 at 11:03:09PM -0200, Aldo D. Sudak wrote:
 Loading zaptel hardware modules: ztdummy.
 Running ztcfg: done.

There is no need to run ztcfg if you just want to use ztdummy.
The call to ztcfg is probably just part of some standard init script.


-- 
Stefan Tichy  ( asterisk2 at pi4tel dot de )

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

2008-11-03 Thread Aldo D. Sudak
Hi again,

Thanks for your answer, Stefan. In fact, ztcfg is automatically running from 
the 
startup script. Anyhow this seems harmless and not the cause of the problem. I 
have 
confirmed this with two other Asterisk servers, both having a zaptel card 
installed 
in them, but one running the same Debian Etch OS as the troublesome machine, 
and 
the other one running Fedora Core 6. In both cases I restricted the zaptel 
modules 
loaded to just ztdummy and modified zaptel.conf in order not to configure 
anything. 
Then I restarted zaptel and attempted to start Asterisk. In the first case I 
obtained 
the same error message as I reported before. In the case of the machine running 
Fedora, Asterisk started normally (and it's worth to say that ztcfg does also 
automatically run in it). So it is apparent that the problem involves Debian.

Greetings.

Aldo Sudak


On Sat, Nov 01, 2008 at 11:03:09PM -0200, Aldo D. Sudak wrote:
 Loading zaptel hardware modules: ztdummy.
 Running ztcfg: done.

There is no need to run ztcfg if you just want to use ztdummy.
The call to ztcfg is probably just part of some standard init script.


-- 
Stefan Tichy  ( asterisk2 at pi4tel dot de )___
-- 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] Ztdummy and Asterisk

2008-11-02 Thread Dobry Dobrev
  
 Ideas are welcome. Thanks in advance.
  
 Aldo
 
Hi there,

Try running genzaptelconf -v and restart asterisk. Here's what I have
 in /etc/zaptel.conf  in order to have the MeetMe working.

# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: ZTDUMMY/1 ZTDUMMY/1 (source: RTC) 1 (MASTER)

# Global data

loadzone= us
defaultzone = us

---
HTH
Dobry

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

2008-11-02 Thread Tzafrir Cohen
On Sun, Nov 02, 2008 at 05:30:15PM +0200, Dobry Dobrev wrote:
   
  Ideas are welcome. Thanks in advance.
   
  Aldo
  
 Hi there,
 
 Try running genzaptelconf -v and restart asterisk. Here's what I have
  in /etc/zaptel.conf  in order to have the MeetMe working.

-v doesn't change the output . zaptel.conf is not needed for ztdummy, as
ztdummy does not handle spanconfig, start or whatever. It simply starts
operating at the moment it is probed.

 
 # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
 # Zaptel Configuration File
 #
 # This file is parsed by the Zaptel Configurator, ztcfg
 #
 
 # It must be in the module loading order
 
 
 # Span 1: ZTDUMMY/1 ZTDUMMY/1 (source: RTC) 1 (MASTER)
 
 # Global data
 
 loadzone= us
 defaultzone = us

This thing might have been useful for zaptel channels, if you had any.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] Ztdummy and Asterisk

2008-11-02 Thread Aldo D. Sudak
Hi to all,

Thank you Dobry an Tzafrir for your answers. I agree with Tzafrir in the sense 
that 
ztdummy needs no configuration. Moreover, the .conf file generated by 
genzaptelconf
does not contain any configuration at all for ztdummy (tonezone and defaultzone 
are the only uncommented text in it). I must also say that I have tried again 
with the 
current versions of Asterisk and Zaptel, with the same result. So I'm still 
wondering 
where the problem lies...

Cordially,

Aldo


 Hi there,
 
 Try running genzaptelconf -v and restart asterisk. Here's what I have
  in /etc/zaptel.conf  in order to have the MeetMe working.

-v doesn't change the output . zaptel.conf is not needed for ztdummy, as
ztdummy does not handle spanconfig, start or whatever. It simply starts
operating at the moment it is probed.

 
 # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
 # Zaptel Configuration File
 #
 # This file is parsed by the Zaptel Configurator, ztcfg
 #
 
 # It must be in the module loading order
 
 
 # Span 1: ZTDUMMY/1 ZTDUMMY/1 (source: RTC) 1 (MASTER)
 
 # Global data
 
 loadzone= us
 defaultzone = us

This thing might have been useful for zaptel channels, if you had any.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.cohen at xorcom.com
+972-50-7952406   mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at 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] Ztdummy and Asterisk

2008-11-01 Thread Aldo D. Sudak
Hi,

I have installed Asterisk 1.4.20 on Debian Etch. The server has no telephony 
card 
installed, but I have anyhow installed Zaptel (Zaptel-1.4.9) in order to be 
able to use MeetMe. 
The Zaptel modules load normally. I obtain the following prompts:

kerplunk:/# /etc/init.d/zaptel start
Loading zaptel framework: done.
Waiting for zap to come online...OK
Loading zaptel hardware modules: ztdummy.
Running ztcfg: done.

I can confirm that Zaptel is loaded:

kerplunk:/# lsmod | grep zaptel
zaptel184548  1 ztdummy
crc_ccitt   2240  1 zaptel

Anyhow, when I attempt to start Asterisk, I obtain the following:

=
  == Parsing '/etc/asterisk/asterisk.conf':Found
  == Parsing '/etc/asterisk/extconfig.conf':Found
  == Parsing '/etc/asterisk/logger.conf':Found
Asterisk Event Logger Started /var/log/asterisk/event_log
[Nov  1 21:40:41] ERROR[1873]: asterisk.c:2954 main: Asterisk has detected a 
problem with your Zaptel configuration and will 
shutdown for your protection.  You have options:
1. You only have to compile Zaptel support into Asterisk if you need 
it.  One option is to recompile without Zaptel support.
2. You only have to load Zaptel drivers if you want to take advantage 
of Zaptel services.  One option is to unload zaptel
 modules if you don't need them.
3. If you need Zaptel services, you must correctly configure Zaptel.

Of course, because I have no Zaptel hardware I did not configure zaptel.conf. I 
really would 
not know what to configure.

Ideas are welcome. Thanks in advance.

Aldo

___
-- 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] ZTDUMMY Running but IAX2 message:Unable to support trunking on peer 'XXXXXXXX' without zaptel timing

2008-08-17 Thread Shaun Wingrin
Hi All, Hope someone can help.

Asterisk version 1.4.14 is running and just installed zaptel-1.4.11with only 
ztdummy selected in menuselect .

ztdummy seems to be running (as below) but still get the above error, even 
though I've stopped and restarted asterisk... Do I need to set  ZAP_TIMING=-I 
? Where do I do that?

lsmod | grep ztdummy
ztdummy 9256  0
zaptel190852  1 ztdummy


Thanks,

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] ZTDUMMY Running but IAX2 message:Unable to support trunking on peer 'XXXXXXXX' without zaptel timing

2008-08-17 Thread Paul Hales

Most likely Asterisk has been built without zaptel support. (if you 
built Asterisk first then zaptel second, this will happen)

Rebuild Asterisk.

PaulH


Shaun Wingrin wrote:
 Hi All, Hope someone can help.
  
 Asterisk version 1.4.14 is running and just installed 
 zaptel-1.4.11with only ztdummy selected in menuselect .
  
 ztdummy seems to be running (as below) but still get the above error, 
 even though I've stopped and restarted asterisk... Do I need to set  
 ZAP_TIMING=-I ? Where do I do that?
  
 lsmod | grep ztdummy
 ztdummy 9256  0
 zaptel190852  1 ztdummy
  
 Thanks,

 Shaun Wingrin
 

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] ztdummy on centos 4.6 i386

2008-08-14 Thread Jerry Geis
Jerry Geis wrote:
 I am running centos 4.6 i386 kernel 2.6.9-67
 ztdummy compiles fine,   loads fine,  but does not work.

 modprobe ztdummy debug=1

 dmesg shows
 ztdummy: init() finished

 however the debug is supposed to print something every 5 seconds
 it does not do this. Nor does /proc/interrupts rtc value increment.

 What else do I need to do to get this to work correctly?

 Jerry

I added linux/interrupt.h

changed
#if 0
#define USE_RTC
#endif

and recompiled and now rtc is incrementing.

Jerry


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] ztdummy on centos 4.6 i386

2008-08-13 Thread Jerry Geis
I am running centos 4.6 i386 kernel 2.6.9-67
ztdummy compiles fine,   loads fine,  but does not work.

modprobe ztdummy debug=1

dmesg shows
ztdummy: init() finished

however the debug is supposed to print something every 5 seconds
it does not do this. Nor does /proc/interrupts rtc value increment.

What else do I need to do to get this to work correctly?

Jerry

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] ztdummy problems

2008-05-10 Thread Tzafrir Cohen
On Fri, May 09, 2008 at 11:33:30PM -0500, Perssy Llamosas wrote:
 Hello list,
 
 I have found some strange problem with the ztdummy timing, maybe you 
 have already have this problem before, I would appreciate some hints 
 here or maybe I need to file a bug.
 
 First of all, some background:
 I decided to upgrade my testing machine to the current version of 
 Asterisk (1.4.13 to 1.4.19.1).
 I have tried this before and the result was the same, I am guessing that 
 something must have changed in the zaptel code from 1.4.7 upwards since 
 this process always fails in the same timing issue.
 
 Installing:
 Everything went ok until I found this issue, Playback never actually 
 playing anything, hanging there forever.
 Unloading the zaptel modules makes Playback work as it should, it's not 
 the expected setup.
 Loading ztdummy again and trying zttest -v it just hangs there forever 
 without outputting anything.
 Trying compiling ztdummy without RTC since that worked fine in a Xen 
 virtual machine, no success.
 
 This particular computer works fine under Asterisk 1.4.13 and zaptel 1.4.6
 
 lspci shows that there is an usb device:
 00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 
 (rev 01)

ztdummy does not use the USB uhci host controller for timing in kernel
2.6 .

It seems that there are some problems with ztdummy rtc and the CentOS
kernel (or 2.6.18 in general? Anything that uses RTC? I hear suprisingly 
few reports about it with the Etch kernel. I wonder if there is actually 
a difference or just a report bias).

 
 lsusb shows there is one device.
 Bus 001 Device 001: ID :
 
 So what am I doing wrong? The computer has a Centos Linux 5 with the 
 minimal install, not even base was selected. It's an IBM NetVista pIII 1GHz.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy problems

2008-05-09 Thread Perssy Llamosas
Hello list,

I have found some strange problem with the ztdummy timing, maybe you 
have already have this problem before, I would appreciate some hints 
here or maybe I need to file a bug.

First of all, some background:
I decided to upgrade my testing machine to the current version of 
Asterisk (1.4.13 to 1.4.19.1).
I have tried this before and the result was the same, I am guessing that 
something must have changed in the zaptel code from 1.4.7 upwards since 
this process always fails in the same timing issue.

Installing:
Everything went ok until I found this issue, Playback never actually 
playing anything, hanging there forever.
Unloading the zaptel modules makes Playback work as it should, it's not 
the expected setup.
Loading ztdummy again and trying zttest -v it just hangs there forever 
without outputting anything.
Trying compiling ztdummy without RTC since that worked fine in a Xen 
virtual machine, no success.

This particular computer works fine under Asterisk 1.4.13 and zaptel 1.4.6

lspci shows that there is an usb device:
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 
(rev 01)

lsusb shows there is one device.
Bus 001 Device 001: ID :

So what am I doing wrong? The computer has a Centos Linux 5 with the 
minimal install, not even base was selected. It's an IBM NetVista pIII 1GHz.

Help is appreciated.

Perssy Llamosas.


___
-- 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] ztdummy - resolved

2008-04-04 Thread Jerry Geis
Jerry Geis wrote:

 ounds like the module got auto-unloaded due to not being in use.

 I have found the most reliable way to invoke zaptel/ztdummy is using the
 proper init script:

 1. In your zaptel source directory, do make config. That will create
 /etc/rc.d/init.d/zaptel and the rcX.d links to it.
 2. Likeewise, in your asterisk source directory, also do make config
 if you haven't already.  That will create /etc/rc.d/init.d/asterisk and
 the rcX.d links.
 3. Do chkconfig zaptel on and chkconfig asterisk on just to be sure.
 4. Do service zaptel start. That will load the modules and do any
 configuration necessary. Try that and then watch /proc/interrupts.
 5. Also do service asterisk start.
 6. When the system is booted up in future, zaptel and asterisk should
 automatically start.

   
 Tony,

 This is what  I do. In this case I also editied /etc/sysconfig/zaptel 
 and removed (commented) all modules except ztdummy.

 Jerry

Well after conversations on the list (thanks so much for responses) and 
much google searching
it comes down to adding a kernel boot command line of acpi=off to 
grub.conf.

This keeps the real time clock ticking and playing wave files.

Thanks to all!

Jerry

___
-- 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] ztdummy - resolved

2008-04-04 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Jerry Geis [EMAIL PROTECTED] wrote:
 Well after conversations on the list (thanks so much for responses) and 
 much google searching
 it comes down to adding a kernel boot command line of acpi=off to 
 grub.conf.
 
 This keeps the real time clock ticking and playing wave files.
 
 Thanks to all!

Jerry, glad you got it working. acpi=off did cross my mind, but I don't
really understand what it does, nor why it would help!

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Jerry Geis
What does it take to get ztdummy to work correctly?

I have a new laptop HP HDX9200. I am running asterisk 1.4.19 and zaptel 
1.4.9.2
Zaptel compiles fine. asterisk compiles fine. ztdummy loads asterisk runs.
Problem is playback() does not work. So then I stop zaptel, asterisk 
runs and playback() now
works. However, meetme()'s dont work. I need ztdummy I'm pretty sure for 
that.

I am running Centos 5.1 with the latest kernel and fully updated.

How can I get ztdummy to work? There are no cards in the laptop.
I typically dont run asterisk on a laptop - but thats what the situation 
needed...

Thanks,

Jerry

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

2008-04-03 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Jerry Geis [EMAIL PROTECTED] wrote:
 What does it take to get ztdummy to work correctly?
 
 I have a new laptop HP HDX9200. I am running asterisk 1.4.19 and zaptel 
 1.4.9.2
 Zaptel compiles fine. asterisk compiles fine. ztdummy loads asterisk runs.
 Problem is playback() does not work. So then I stop zaptel, asterisk 
 runs and playback() now
 works. However, meetme()'s dont work. I need ztdummy I'm pretty sure for 
 that.
 
 I am running Centos 5.1 with the latest kernel and fully updated.
 
 How can I get ztdummy to work? There are no cards in the laptop.
 I typically dont run asterisk on a laptop - but thats what the situation 
 needed...

Jerry, the first thing to check is cat /proc/interrupts and see if there
is an entry for rtc on IRQ 8. There should be, and the interrupt counts
on there should be going up at approximately 1024 per second.

What kernel version are you using? (uname -a)

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Jerry Geis


In article 47F4C604.1060301 at pagestation.com 
http://lists.digium.com/mailman/listinfo/asterisk-users,
Jerry Geis geisj at pagestation.com 
http://lists.digium.com/mailman/listinfo/asterisk-users wrote:
/ What does it take to get ztdummy to work correctly?
// 
// I have a new laptop HP HDX9200. I am running asterisk 1.4.19 and zaptel 
// 1.4.9.2

// Zaptel compiles fine. asterisk compiles fine. ztdummy loads asterisk runs.
// Problem is playback() does not work. So then I stop zaptel, asterisk 
// runs and playback() now
// works. However, meetme()'s dont work. I need ztdummy I'm pretty sure for 
// that.
// 
// I am running Centos 5.1 with the latest kernel and fully updated.
// 
// How can I get ztdummy to work? There are no cards in the laptop.
// I typically dont run asterisk on a laptop - but thats what the situation 
// needed...

/
Jerry, the first thing to check is cat /proc/interrupts and see if there
is an entry for rtc on IRQ 8. There should be, and the interrupt counts
on there should be going up at approximately 1024 per second.

What kernel version are you using? (uname -a)

  

Tony,

/proc/interrupts shows:

   CPU0   CPU1
8:   1   0   IO-APIC-edge rtc

So the RTC is not incrementing.

uname -a shows x86_64 and Centos 5.1,  2.6.18-53.1.14.el5

Jerry

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

2008-04-03 Thread Tzafrir Cohen
On Thu, Apr 03, 2008 at 01:45:09PM +, Tony Mountifield wrote:

 Jerry, the first thing to check is cat /proc/interrupts and see if there
 is an entry for rtc on IRQ 8. There should be, and the interrupt counts
 on there should be going up at approximately 1024 per second.

To see it better:

watch -n1 -d cat /proc/interrupts

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy

2008-04-03 Thread Jerry Geis


On Thu, Apr 03, 2008 at 01:45:09PM +, Tony Mountifield wrote:

/ Jerry, the first thing to check is cat /proc/interrupts and see if there
// is an entry for rtc on IRQ 8. There should be, and the interrupt counts
// on there should be going up at approximately 1024 per second.
/
To see it better:

watch -n1 -d cat /proc/interrupts

  

watch -n1 -d cat /proc/interrupts
Every 1.0s: cat 
/proc/interrupts
Thu Apr  3 10:29:19 2008


  CPU0   CPU1
 0:129  0XT-PIC-XTtimer
 1: 337248  0XT-PIC-XTi8042
 2:  0  0XT-PIC-XTcascade
 3:  4  0XT-PIC-XT
 4: 69  0XT-PIC-XT
 5:  737837152  0XT-PIC-XTHDA Intel
 7:385  0XT-PIC-XTparport0
 8:  1  0XT-PIC-XTrtc


It still remains as 1...

Jerry

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

2008-04-03 Thread Norman Franke
On Apr 3, 2008, at 10:32 AM, [EMAIL PROTECTED]  
wrote:



uname -a shows x86_64 and Centos 5.1,  2.6.18-53.1.14.el5


You can try zttest, although I'd bet it will hang. See what's going  
to the console (or use dmesg.) If it's a lot of rtc errors, then  
you'll likely need to upgrade your kernel to at least 2.6.23.11. That  
worked for me.


Norman Franke
Answering Service for Directors, Inc.
www.myasd.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] ztdummy

2008-04-03 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Jerry Geis [EMAIL PROTECTED] wrote:
  On Thu, Apr 03, 2008 at 01:45:09PM +, Tony Mountifield wrote:
 
  / Jerry, the first thing to check is cat /proc/interrupts and see if 
  there
  // is an entry for rtc on IRQ 8. There should be, and the interrupt counts
  // on there should be going up at approximately 1024 per second.
  /
  To see it better:
 
  watch -n1 -d cat /proc/interrupts
 

 watch -n1 -d cat /proc/interrupts
 Every 1.0s: cat 
 /proc/interrupts  
   
 
 Thu Apr  3 10:29:19 2008
 
CPU0   CPU1
   0:129  0XT-PIC-XTtimer
   1: 337248  0XT-PIC-XTi8042
   2:  0  0XT-PIC-XTcascade
   3:  4  0XT-PIC-XT
   4: 69  0XT-PIC-XT
   5:  737837152  0XT-PIC-XTHDA Intel
   7:385  0XT-PIC-XTparport0
   8:  1  0XT-PIC-XTrtc
 
 
 It still remains as 1...

Hi Jerry,

Is that with ztdummy loaded or not? By default, Linux doesn't have anything
that uses the RTC interrupt, so without ztdummy it will usually stay at 1.

Once ztdummy and zaptel are loaded, then you should see it incrementing.
If not, that suggests a problem.

I have just installed ztdummy on a new system running 2.6.18-53.1.6.el5,
and it is incrementing fine. I didn't realise there was a newer kernel out;
I'll have to update and try again.

I didn't know the watch command - that's cool!

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Jerry Geis


/ uname -a shows x86_64 and Centos 5.1,  2.6.18-53.1.14.el5
/
You can try zttest, although I'd bet it will hang. See what's going  
to the console (or use dmesg.) If it's a lot of rtc errors, then  
you'll likely need to upgrade your kernel to at least 2.6.23.11. That  
worked for me.


  

You are correct zttest hangs.
dmesg doesnt show anything, ztdummy loads fine. lsmod shows it.
I see no rtc errors in dmesg either.

I have tried 2.6.24.4 and same situation. rtc just has 1 in 
/proc/interrupts.


What now?

Jerry
___
-- 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] ztdummy

2008-04-03 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Norman Franke [EMAIL PROTECTED] wrote:
 On Apr 3, 2008, at 10:32 AM, [EMAIL PROTECTED]  
 wrote:
 
  uname -a shows x86_64 and Centos 5.1,  2.6.18-53.1.14.el5
 
 You can try zttest, although I'd bet it will hang. See what's going  
 to the console (or use dmesg.) If it's a lot of rtc errors, then  
 you'll likely need to upgrade your kernel to at least 2.6.23.11. That  
 worked for me.

I'd be surprised if that is the solution - I have been using ztdummy with
the RTC hook since 2.6.9 with no problems, and again on 2.6.18-53.1.6.el5

Unless it's a 64-bit issue - I've only ever used 32-bit.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Jerry Geis [EMAIL PROTECTED] wrote:
  / uname -a shows x86_64 and Centos 5.1,  2.6.18-53.1.14.el5
  /
  You can try zttest, although I'd bet it will hang. See what's going  
  to the console (or use dmesg.) If it's a lot of rtc errors, then  
  you'll likely need to upgrade your kernel to at least 2.6.23.11. That  
  worked for me.
 

 You are correct zttest hangs.
 dmesg doesnt show anything, ztdummy loads fine. lsmod shows it.
 I see no rtc errors in dmesg either.
 
 I have tried 2.6.24.4 and same situation. rtc just has 1 in 
 /proc/interrupts.
 
 What now?

Is this system used for other things, or could you try installing a
32-bit (i386) version of CentOS and trying again?  64-bit vs 32-bit
is the only think I can think of at the moment.

Also, what do you get from: fgrep RTC /var/log/messages

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Tony Mountifield [EMAIL PROTECTED] wrote:
 
 I have just installed ztdummy on a new system running 2.6.18-53.1.6.el5,
 and it is incrementing fine. I didn't realise there was a newer kernel out;
 I'll have to update and try again.

Just updated to 2.6.18-53.1.14.el5 (i386), re-installed zaptel and ztdummy,
and the RTC interrupt counter is incrementing just fine.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Jerry Geis

 Hi Jerry,

 Is that with ztdummy loaded or not? By default, Linux doesn't have 
 anything
 that uses the RTC interrupt, so without ztdummy it will usually stay 
 at 1.

 Once ztdummy and zaptel are loaded, then you should see it incrementing.
 If not, that suggests a problem.

 I have just installed ztdummy on a new system running 2.6.18-53.1.6.el5,
 and it is incrementing fine. I didn't realise there was a newer kernel 
 out;
 I'll have to update and try again.

 I didn't know the watch command - that's cool!

   
Tony,

OK If I modprobe ztdummy then the RTC does start incrementing... to like 
9250. then stops...

What now?

Jerry

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

2008-04-03 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Jerry Geis [EMAIL PROTECTED] wrote:
 
 OK If I modprobe ztdummy then the RTC does start incrementing... to like 
 9250. then stops...
 
 What now?

Sounds like the module got auto-unloaded due to not being in use.

I have found the most reliable way to invoke zaptel/ztdummy is using the
proper init script:

1. In your zaptel source directory, do make config. That will create
/etc/rc.d/init.d/zaptel and the rcX.d links to it.
2. Likeewise, in your asterisk source directory, also do make config
if you haven't already.  That will create /etc/rc.d/init.d/asterisk and
the rcX.d links.
3. Do chkconfig zaptel on and chkconfig asterisk on just to be sure.
4. Do service zaptel start. That will load the modules and do any
configuration necessary. Try that and then watch /proc/interrupts.
5. Also do service asterisk start.
6. When the system is booted up in future, zaptel and asterisk should
automatically start.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

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

2008-04-03 Thread Jerry Geis

 ounds like the module got auto-unloaded due to not being in use.

 I have found the most reliable way to invoke zaptel/ztdummy is using the
 proper init script:

 1. In your zaptel source directory, do make config. That will create
 /etc/rc.d/init.d/zaptel and the rcX.d links to it.
 2. Likeewise, in your asterisk source directory, also do make config
 if you haven't already.  That will create /etc/rc.d/init.d/asterisk and
 the rcX.d links.
 3. Do chkconfig zaptel on and chkconfig asterisk on just to be sure.
 4. Do service zaptel start. That will load the modules and do any
 configuration necessary. Try that and then watch /proc/interrupts.
 5. Also do service asterisk start.
 6. When the system is booted up in future, zaptel and asterisk should
 automatically start.

   
Tony,

This is what  I do. In this case I also editied /etc/sysconfig/zaptel 
and removed (commented) all modules except ztdummy.

Jerry

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

2008-04-03 Thread Tzafrir Cohen
On Thu, Apr 03, 2008 at 04:45:27PM +, Tony Mountifield wrote:
 In article [EMAIL PROTECTED],
 Jerry Geis [EMAIL PROTECTED] wrote:
  
  OK If I modprobe ztdummy then the RTC does start incrementing... to like 
  9250. then stops...
  
  What now?
 
 Sounds like the module got auto-unloaded due to not being in use.
 
 I have found the most reliable way to invoke zaptel/ztdummy is using the
 proper init script:
 
 1. In your zaptel source directory, do make config. That will create
 /etc/rc.d/init.d/zaptel and the rcX.d links to it.
 2. Likeewise, in your asterisk source directory, also do make config
 if you haven't already.  That will create /etc/rc.d/init.d/asterisk and
 the rcX.d links.

All this machineray is not really required. All you need is to modprobe
ztdummy somewhere in the boot pcess . IIRC it can be even after asterisk
starts.

No real need to load any otyher modules. No need to run ztcfg. No need
to run anything else from the zaptel init.d script.

 3. Do chkconfig zaptel on and chkconfig asterisk on just to be sure.
 4. Do service zaptel start. That will load the modules and do any
 configuration necessary. Try that and then watch /proc/interrupts.
 5. Also do service asterisk start.
 6. When the system is booted up in future, zaptel and asterisk should
 automatically start.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy

2008-04-03 Thread Norman Franke
On Apr 3, 2008, at 12:45 PM, [EMAIL PROTECTED]  
wrote:



You can try zttest, although I'd bet it will hang. See what's going
to the console (or use dmesg.) If it's a lot of rtc errors, then
you'll likely need to upgrade your kernel to at least 2.6.23.11. That
worked for me.


I'd be surprised if that is the solution - I have been using  
ztdummy with
the RTC hook since 2.6.9 with no problems, and again on  
2.6.18-53.1.6.el5


Unless it's a 64-bit issue - I've only ever used 32-bit.



I'm using 32-bit as well, but it may depend on the hardware. I'm  
using HP DL-380s and Debian (both etch and sarge had the same problems.)


I did nothing other than upgrade my kernel (and recompile zaptel, of  
course) and it just started to work. I used to get a lot of those  
missing interrupt errors to the console before, not now.


If zttest hangs, I'd suspect the drivers are loaded. Otherwise,  
you'll get an error that it can't find a zap device (and playback  
then works.)


Norman Franke
Answering Service for Directors, Inc.
www.myasd.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

[asterisk-users] ztdummy / RTC error

2008-03-30 Thread Drew Miller
It's taken me about a day just to get ztdummy to compile into a module 
that the amazon ec2 xen kernel will accept (you have to downgrade the 
version of gcc among other things), but now I'm getting the following 
error and I'm stumped:

rtc: IRQ 8 is not free.
WARNING: Error inserting rtc
(/lib/modules/2.6.16.19-xen/kernel/drivers/char/rtc.ko): Input/output error
ztdummy: Unknown symbol rtc_register
ztdummy: Unknown symbol rtc_unregister
ztdummy: Unknown symbol rtc_control
FATAL: Error inserting ztdummy
(/lib/modules/2.6.16.33-xenU/misc/ztdummy.ko): Unknown symbol in module,
or unknown parameter (see dmesg)

Any idea where I can go from here?


-- 
Drew Miller
Iowa Democratic Party
Information Technology Director
Office:  (515) 974-1682
Cell:  (515) 451-4509
AIM:  ItsDrewMiller
MSN:  [EMAIL PROTECTED]


___
-- 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] ztdummy problem causing playback () to fail

2008-03-18 Thread Pete Kay
Hi, I am having problem with my Asterisk installation and find out it
has to do with ztdummy.

if the ztdummy module is loaded, the asterisk playback() command
will not play files. DTMF is still properly received. If the ztdummy
module is unloaded, sound playback works again.

Here is my version
zaptel-1.4.9.2
linux-source-2.6.18
asterisk-1.4.18


Can anyone tell me how to fix it?  Or should I just have ztdummy
removed forever and the system will work?

I saw from manual that ztdummy is required.

Thanks,
Pete
___
-- 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] ztdummy problem causing playback () to fail

2008-03-18 Thread Atis Lezdins
On 3/18/08, Pete Kay [EMAIL PROTECTED] wrote:

 Hi, I am having problem with my Asterisk installation and find out it
 has to do with ztdummy.

 if the ztdummy module is loaded, the asterisk playback() command
 will not play files. DTMF is still properly received. If the ztdummy

 module is unloaded, sound playback works again.

 Here is my version
 zaptel-1.4.9.2
 linux-source-2.6.18
 asterisk-1.4.18


 Can anyone tell me how to fix it? Or should I just have ztdummy removed
 forever and the system will work?


 I saw from manual that ztdummy is required.

ztdummy is required by meetme application. If you have no intention to
use it, you might very well remove.

I've seen this problem once, however recompiling everything and
restarting helped me. I would suggest you just doing make clean on
zaptel and asterisk, then compile first zaptel, then asterisk.

Regards,
Atis

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- 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] ztdummy problem causing playback () to fail

2008-03-18 Thread Doug Lytle
Atis Lezdins wrote:
 ztdummy is required by meetme application. If you have no intention to
 use it, you might very well remove.
   

And music on hold, if you don't have a timing source.



-- 
 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- 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] ztdummy problem causing playback () to fail

2008-03-18 Thread Pete Kay
Hi,
I found another weird problem.  If I don't have ztdummy, then when I connect
using a xlite in another computer within the same lan, I get errored:


00:40:08 Registering user '[EMAIL PROTECTED]'
00:40:08 Failed registration  for '[EMAIL PROTECTED]' with cause 'service
or option not implemented'
00:50:50 Registering user '[EMAIL PROTECTED]'

If I turned ztdummy on, I can connect.

Any idea why?

Pete
On Tue, Mar 18, 2008 at 11:53 PM, Atis Lezdins [EMAIL PROTECTED] wrote:

  On 3/18/08, Pete Kay [EMAIL PROTECTED] wrote:
 
  Hi, I am having problem with my Asterisk installation and find out it
  has to do with ztdummy.
 
  if the ztdummy module is loaded, the asterisk playback() command
  will not play files. DTMF is still properly received. If the ztdummy
 
  module is unloaded, sound playback works again.
 
  Here is my version
  zaptel-1.4.9.2
  linux-source-2.6.18
  asterisk-1.4.18
 
 
  Can anyone tell me how to fix it? Or should I just have ztdummy removed
  forever and the system will work?
 
 
  I saw from manual that ztdummy is required.

 ztdummy is required by meetme application. If you have no intention to
 use it, you might very well remove.

 I've seen this problem once, however recompiling everything and
 restarting helped me. I would suggest you just doing make clean on
 zaptel and asterisk, then compile first zaptel, then asterisk.

 Regards,
 Atis

 --
 Atis Lezdins,
 VoIP Project Manager / Developer,
 [EMAIL PROTECTED]
 Skype: atis.lezdins
 Cell Phone: +371 28806004
 Cell Phone: +1 800 7300689
 Work phone: +1 800 7502835

 ___
 -- 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] ztdummy problem causing playback () to fail

2008-03-18 Thread Tzafrir Cohen
On Tue, Mar 18, 2008 at 11:28:55PM +0800, Pete Kay wrote:
 Hi, I am having problem with my Asterisk installation and find out it
 has to do with ztdummy.
 
 if the ztdummy module is loaded, the asterisk playback() command
 will not play files. DTMF is still properly received. If the ztdummy
 module is unloaded, sound playback works again.
 
 Here is my version
 zaptel-1.4.9.2
 linux-source-2.6.18
 asterisk-1.4.18
 
 
 Can anyone tell me how to fix it?  Or should I just have ztdummy
 removed forever and the system will work?
 
 I saw from manual that ztdummy is required.

What Linux distribution is it?

What is the output of 'zttest -v -c 6' ?

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy problem causing playback () to fail

2008-03-18 Thread RE Kushner List Account
Atis Lezdins wrote:
 On 3/18/08, Pete Kay [EMAIL PROTECTED] wrote:
 ztdummy is required by meetme application. If you have no intention to
 use it, you might very well remove.

 I've seen this problem once, however recompiling everything and
 restarting helped me. I would suggest you just doing make clean on
 zaptel and asterisk, then compile first zaptel, then asterisk.
   

There is something with Playback() where ztdummy helps, I have had 
issues with skipping audio or gsm audio files that won't playback until 
ztdummy is loaded.

I have seen this in 1.4 and in the 1.6 betas. I also think this guy 
needs to recompile zaptel and look for errors in compiling.

-Ron



___
-- 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] ztdummy, zttest

2007-11-13 Thread Tony Plack
Well, I got it working.

Come to find out that it looks like version 2.6.18 of the kernel has issues with the RTC. It has little to do with any of the other things that I tried.

I upgraded the kernel to 2.6.23.1 and on the first try, it comes up and runs with TSC.

ztdummy is working for me now.

I used the oldconfig to update the kernel from the debian 2.6.18-5-686 and compiled. Runs well.

 Hello,

 Today we setted up a server that needs to use MeetMe but doesn't
 have any Zap hardware. So we need to use ztdummy (at least, this
 was our idea).

 Rarely: zttest is not working at all (100% bad, using zttest -v
 doesn't give anything, etc.). Of course, after load ztdummy, there
 isn't any background or anything.

 It is the same kernel (Debian Etch default kernel, 2.6.18) than
 other machine that is working. CPU is a HP, Pentium 4 (same than
 other machine), even I loaded the same bristuff than that machine
 (who doesn't have any specific hardware, now). I couln't make
 zttest (well, ztdummy) to run.

 I tried different versions of bristuff+asterisk, I also tried to
 load and not load zaptel, qozap. Nothing. I got an rtc "Warning"
 message, something like "some interruptions has been lost at
 1024Hz" (aprox.).

 Any clue where to check? USB modules are the same than other
 machine...

 We was completely confused about it (how to fix, I mean).

 Thanks!


___
--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] ztdummy, zttest

2007-11-12 Thread Carles Pina i Estany

Hello,

On Nov/11/2007, Tzafrir Cohen wrote:
 On Sun, Nov 11, 2007 at 08:51:40PM +0100, Carles Pina i Estany wrote:
 
  
  I also tried using bristuff 0.3y, 0.3s, etc. (is it 0.3 bristuff when
  Asterisk is 1.2.X?). Always without any result :-(
 
 Latest bristuff for 1.2 is y-k . See http://bristuff.org/ . 
 However the bristuff Zaptel patch has no effect on ztdummy or Zaptel 
 timing.

I also tried y-k (last week) with no results in that machine. That
computer is a Dell PowerEdge 860. I just checked now in other machine
(standard Pentium 4) and just loading ztdummy and running zttest is
working. In other machine, running ztdummy and zttest too.

I don't know why this PowerEdge 860 is not working in that way :-(

-- 
Carles Pina i EstanyGPG id: 0x8CBDAE64
http://pinux.info   Manresa - Barcelona

___
--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] ztdummy, zttest

2007-11-12 Thread Tony Plack
Debian as well as everyone else 2.6.18-5

Zaptel is branch/1.4 latest.

The issue is not with Zaptel though...IMHO. If you look at /proc/driver/rtc, I find:
rtc_time  : 14:34:27
rtc_date  : 2007-11-12
rtc_epoch  : 1900
alarm: 16:30:31
DST_enable  : no
BCD: yes
24hr: yes
square_wave  : no
alarm_IRQ  : no
update_IRQ  : no
periodic_IRQ  : no
periodic_freq  : 1024
batt_status  : okay

If you notice, there is no periodic_IRQ. That is the issue. To me (and the kernels reported here) it is a Debian kernel problem.

If I turn off ACPI, Zaptel works, but the box performance is awful because other things, which depend on ACPI do not have interrupts.

I have read some places that if you have the Hard Drive Suppend in the BIOS enabled, you will get this situation. However, I would check the /proc/driver/rtc to see that you have periodic_IRQ.
 On Fri, Nov 09, 2007 at 04:59:37PM -0600, Tony Plack wrote:

 The thing is that this works, but

 The performance of the box becomes really bad.

 It seems that the problem, at least in my case is that the HPET
 timer from the cpu does not get an IRQ for the RTC.

 Does anyone else have a solution for this issue where the RTC
 does not get an interrupt when HPET is turned on?

 What kerenl version? What version of Zaptel?


___
--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] ztdummy and BackGround

2007-11-12 Thread Carles Pina i Estany

Hello,

On Nov/02/2007, Atis Lezdins wrote:
 On 11/2/07, Tony Plack [EMAIL PROTECTED] wrote:
 
  We are going to implement MeetMe, but this should still work right?
 
 I had similar issues with 1.4.12 just one time (also topmost zaptel at

are you using Dell PowerEdge servers?

-- 
Carles Pina i EstanyGPG id: 0x8CBDAE64
http://pinux.info   Manresa - Barcelona

___
--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] ztdummy, zttest

2007-11-12 Thread Carles Pina i Estany

Hello,

On Nov/12/2007, Tony Plack wrote:
Debian as well as everyone else  2.6.18-5
 
Zaptel is branch/1.4 latest.
 
The issue is not with Zaptel though...IMHO.  If you look at
/proc/driver/rtc, I find:

periodic_IRQ: no


If you notice, there is no periodic_IRQ.  That is the issue.  To me (and

If I correctly remember, I have this in yes :-|

the kernels reported here) it is a Debian kernel problem.

Here working with Debian, in a Dell server. I have found some references
about Dell and RTC.

If I turn off ACPI, Zaptel works, but the box performance is awful because

Not here :-(

other things, which depend on ACPI do not have interrupts.
 
I have read some places that if you have the Hard Drive Suppend in the
BIOS enabled, you will get this situation.  However, I would check the
/proc/driver/rtc to see that you have periodic_IRQ.

I will change BIOS options and other things on Wednesday, since we don't
have right now physical access to this server.

In other boxes ztdummy worked like a charm...

-- 
Carles Pina i EstanyGPG id: 0x8CBDAE64
http://pinux.info   Manresa - Barcelona

___
--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] ztdummy and BackGround

2007-11-12 Thread Tony Plack
No, but if you have a hint, I would love it. This is still plaguing me.

 Hello,

 On Nov/02/2007, Atis Lezdins wrote:
 On 11/2/07, Tony Plack [EMAIL PROTECTED] wrote:

 We are going to implement MeetMe, but this should still work
 right?

 I had similar issues with 1.4.12 just one time (also topmost
 zaptel at

 are you using Dell PowerEdge servers?


___
--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] ztdummy, zttest

2007-11-11 Thread Carles Pina i Estany

Hi,

On Nov/09/2007, Tony Plack wrote:
 Try setting acpi=off in your boot options for the kernel.

Before read your mail, I did noacpi (I guess that is the same,
/proc/interrupts file changed). But without any luck. I also tried noht
(no hyper threading, I think...)

-- 
Carles Pina i EstanyGPG id: 0x8CBDAE64
http://pinux.info   Manresa - Barcelona

___
--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] ztdummy, zttest

2007-11-11 Thread Carles Pina i Estany

Hello,

On Nov/10/2007, Tzafrir Cohen wrote:
 On Fri, Nov 09, 2007 at 04:59:37PM -0600, Tony Plack wrote:
  The thing is that this works, but
  
  The performance of the box becomes really bad.
  
  It seems that the problem, at least in my case is that the HPET timer from 
  the cpu does not get an IRQ for the RTC.
  
  Does anyone else have a solution for this issue where the RTC does not get 
  an interrupt when HPET is turned on?
 
 What kerenl version? What version of Zaptel?

I know that you asked to Tony Plack, but maybe you can help me (we have
same problem, it seems).

I tried with last Asterisk and Zaptel, kernel version 2.6.18-4 (Debian
Etch default kernel).

I also tried using bristuff 0.3y, 0.3s, etc. (is it 0.3 bristuff when
Asterisk is 1.2.X?). Always without any result :-(

I hope that tomorrow I will have time to reproduce the same scenario
with other computer. I will tell the results.
Sorry to take so long to answer. Thursday and Friday I was not in
office and I didn't have time... (well, I'm not in office now but I'm
interested :-D)

-- 
Carles Pina i EstanyGPG id: 0x8CBDAE64
http://pinux.info   Manresa - Barcelona

___
--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] ztdummy, zttest

2007-11-11 Thread Tzafrir Cohen
On Sun, Nov 11, 2007 at 08:51:40PM +0100, Carles Pina i Estany wrote:

 
 I also tried using bristuff 0.3y, 0.3s, etc. (is it 0.3 bristuff when
 Asterisk is 1.2.X?). Always without any result :-(

Latest bristuff for 1.2 is y-k . See http://bristuff.org/ . 
However the bristuff Zaptel patch has no effect on ztdummy or Zaptel 
timing.

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy, zttest

2007-11-09 Thread Tony Plack
Try setting acpi=off in your boot options for the kernel.


 Hello,

 Today we setted up a server that needs to use MeetMe but doesn't
 have any Zap hardware. So we need to use ztdummy (at least, this
 was our idea).

 Rarely: zttest is not working at all (100% bad, using zttest -v
 doesn't give anything, etc.). Of course, after load ztdummy, there
 isn't any background or anything.

 It is the same kernel (Debian Etch default kernel, 2.6.18) than
 other machine that is working. CPU is a HP, Pentium 4 (same than
 other machine), even I loaded the same bristuff than that machine
 (who doesn't have any specific hardware, now). I couln't make
 zttest (well, ztdummy) to run.

 I tried different versions of bristuff+asterisk, I also tried to
 load and not load zaptel, qozap. Nothing. I got an rtc Warning
 message, something like some interruptions has been lost at
 1024Hz (aprox.).

 Any clue where to check? USB modules are the same than other
 machine...

 We was completely confused about it (how to fix, I mean).

 Thanks!

___
--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] ztdummy, zttest

2007-11-09 Thread Tony Plack
The thing is that this works, but

The performance of the box becomes really bad.

It seems that the problem, at least in my case is that the HPET timer from the 
cpu does not get an IRQ for the RTC.

Does anyone else have a solution for this issue where the RTC does not get an 
interrupt when HPET is turned on?

 Try setting acpi=off in your boot options for the kernel.


 Hello,

 Today we setted up a server that needs to use MeetMe but doesn't
 have any Zap hardware. So we need to use ztdummy (at least, this
 was our idea).

 Rarely: zttest is not working at all (100% bad, using zttest -v
 doesn't give anything, etc.). Of course, after load ztdummy,
 there isn't any background or anything.

 It is the same kernel (Debian Etch default kernel, 2.6.18) than
 other machine that is working. CPU is a HP, Pentium 4 (same than
 other machine), even I loaded the same bristuff than that machine
 (who doesn't have any specific hardware, now). I couln't make
 zttest (well, ztdummy) to run.

 I tried different versions of bristuff+asterisk, I also tried to
 load and not load zaptel, qozap. Nothing. I got an rtc Warning
 message, something like some interruptions has been lost at
 1024Hz (aprox.).

 Any clue where to check? USB modules are the same than other
 machine...

 We was completely confused about it (how to fix, I mean).

 Thanks!

 ___
 --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] ztdummy, zttest

2007-11-09 Thread Tzafrir Cohen
On Fri, Nov 09, 2007 at 04:59:37PM -0600, Tony Plack wrote:
 The thing is that this works, but
 
 The performance of the box becomes really bad.
 
 It seems that the problem, at least in my case is that the HPET timer from 
 the cpu does not get an IRQ for the RTC.
 
 Does anyone else have a solution for this issue where the RTC does not get an 
 interrupt when HPET is turned on?

What kerenl version? What version of Zaptel?

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy, zttest

2007-11-07 Thread Carles Pina i Estany

Hello,

Today we setted up a server that needs to use MeetMe but doesn't have
any Zap hardware. So we need to use ztdummy (at least, this was our
idea).

Rarely: zttest is not working at all (100% bad, using zttest -v doesn't
give anything, etc.). Of course, after load ztdummy, there isn't any
background or anything.

It is the same kernel (Debian Etch default kernel, 2.6.18) than other
machine that is working. CPU is a HP, Pentium 4 (same than other
machine), even I loaded the same bristuff than that machine (who doesn't
have any specific hardware, now). I couln't make zttest (well, ztdummy)
to run.

I tried different versions of bristuff+asterisk, I also tried to load
and not load zaptel, qozap. Nothing. I got an rtc Warning message,
something like some interruptions has been lost at 1024Hz (aprox.).

Any clue where to check? USB modules are the same than other machine...

We was completely confused about it (how to fix, I mean).

Thanks!

-- 
Carles Pina i EstanyGPG id: 0x8CBDAE64
http://pinux.info   Manresa - Barcelona

___
--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] ztdummy and BackGround

2007-11-03 Thread Tzafrir Cohen
On Fri, Nov 02, 2007 at 12:51:04PM -0500, Tony Plack wrote:
 I have an interesting issue.  I am running Asterisk 1.4 (SVN branch latest) 
 and
 same with Zaptel.
  
 If I load ztdummy, my audio in BackGround (or Playback) cannot be heard.  If I
 rmmod ztdummy and restart Asterisk, Background works.  What am I missing?
  
 SIP clients using g729 with g729 prompts
  
 exten = 208,1,Playback(1-for-am-2-for-pm)
  

When you run zttest , do you get anything?

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ztdummy and BackGround

2007-11-02 Thread Tony Plack
I have an interesting issue. I am running Asterisk 1.4 (SVN branch latest) and same with Zaptel.

If I load ztdummy, my audio in BackGround (or Playback) cannot be heard. If I rmmod ztdummy and restart Asterisk, Background works. What am I missing?

SIP clients using g729 with g729 prompts

exten = 208,1,Playback(1-for-am-2-for-pm)



___
--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] ztdummy and BackGround

2007-11-02 Thread Eric ManxPower Wieling
Tony Plack wrote:
 I have an interesting issue.  I am running Asterisk 1.4 (SVN branch latest) 
 and 
 same with Zaptel.
 
  
 
 If I load ztdummy, my audio in BackGround (or Playback) cannot be heard.  If 
 I 
 rmmod ztdummy and restart Asterisk, Background works.  What am I missing?

What things are you using that requires zaptel timing (ztdummy)?

___
--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] ztdummy and BackGround

2007-11-02 Thread Tony Plack
We are going to implement MeetMe, but this should still work right?
 Tony Plack wrote:
 I have an interesting issue. I am running Asterisk 1.4 (SVN
 branch latest) and same with Zaptel.


 If I load ztdummy, my audio in BackGround (or Playback) cannot be
 heard. If I rmmod ztdummy and restart Asterisk, Background
 works. What am I missing?


 What things are you using that requires zaptel timing (ztdummy)?

 ___
 --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] ztdummy and BackGround

2007-11-02 Thread Eric ManxPower Wieling
Yes, but if you didn't need MeetMe it would be silly to try to diagnose it.

I suspect ztdummy is loading correctly, but the system is not generating 
interrupts for ztdummy sync to.  Traditionally ztdummy used a USB 
interface to get timing, but at some point I think it switched to using 
the kernel RTC if available.

I don't use ztdummy -- I'm just recalling what I've seen on the mailing 
lists and IRC over the years.

Tony Plack wrote:
 We are going to implement MeetMe, but this should still work right?
 
   Tony Plack wrote:
 
   I have an interesting issue.  I am running Asterisk 1.4 (SVN
 
   branch latest) and same with Zaptel.
 
  
 
  
 
   If I load ztdummy, my audio in BackGround (or Playback) cannot be
 
   heard.  If I rmmod ztdummy and restart Asterisk, Background
 
   works.  What am I missing?
 
  
 
  
 
   What things are you using that requires zaptel timing (ztdummy)?

___
--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] ztdummy and BackGround

2007-11-02 Thread Jason Parker
I've seen something similar happen before, and it was due to having drivers
for cards loaded that were not in the system.

Try removing all modules (including ztdummy), then loading ztdummy.

Atis Lezdins wrote:
 On 11/2/07, Tony Plack [EMAIL PROTECTED] wrote:
 We are going to implement MeetMe, but this should still work right?
 
 I had similar issues with 1.4.12 just one time (also topmost zaptel at
 that date). We recompiled everything, and it suddenly worked. But we
 had to revert to 1.4.10 because of some crashes - so no more data on
 this.
 
 If you can repeate this, i suggest you registering a bug in
 bugs.digium.com, i could add meetoo there :D
 
 Regards,
 Atis
 
 

 Tony Plack wrote:
 I have an interesting issue.  I am running Asterisk 1.4 (SVN
 branch latest) and same with Zaptel.


 If I load ztdummy, my audio in BackGround (or Playback) cannot be
 heard.  If I rmmod ztdummy and restart Asterisk, Background
 works.  What am I missing?

 What things are you using that requires zaptel timing (ztdummy)?

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

 
 


-- 
Jason Parker
Digium

___
--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] ztdummy and BackGround

2007-11-02 Thread Atis Lezdins
On 11/2/07, Tony Plack [EMAIL PROTECTED] wrote:

 We are going to implement MeetMe, but this should still work right?

I had similar issues with 1.4.12 just one time (also topmost zaptel at
that date). We recompiled everything, and it suddenly worked. But we
had to revert to 1.4.10 because of some crashes - so no more data on
this.

If you can repeate this, i suggest you registering a bug in
bugs.digium.com, i could add meetoo there :D

Regards,
Atis




  Tony Plack wrote:
  I have an interesting issue.  I am running Asterisk 1.4 (SVN
  branch latest) and same with Zaptel.
 
 
  If I load ztdummy, my audio in BackGround (or Playback) cannot be
  heard.  If I rmmod ztdummy and restart Asterisk, Background
  works.  What am I missing?
 
 
  What things are you using that requires zaptel timing (ztdummy)?
 
  ___
  --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



-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

___
--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] ztdummy and BackGround

2007-11-02 Thread Tony Plack
Good try, but no.

All that was loaded was zttranscode and zaptel, but I did unload them.

Here is what is loaded after I rmmod zaptel (and verified with a lsmod)
Module Size Used by
zttranscode   7656 0
ztdummy 5032 0
zaptel183396 1 ztdummy

My revision is 88329

 I've seen something similar happen before, and it was due to having
 drivers for cards loaded that were not in the system.

 Try removing all modules (including ztdummy), then loading ztdummy.

 Atis Lezdins wrote:
 On 11/2/07, Tony Plack [EMAIL PROTECTED] wrote:
 We are going to implement MeetMe, but this should still work
 right?

 I had similar issues with 1.4.12 just one time (also topmost
 zaptel at that date). We recompiled everything, and it suddenly
 worked. But we had to revert to 1.4.10 because of some crashes -
 so no more data on this.

 If you can repeate this, i suggest you registering a bug in
 bugs.digium.com, i could add "meetoo" there :D

 Regards,
 Atis


 Tony Plack wrote:
 I have an interesting issue. I am running Asterisk 1.4
 (SVN branch latest) and same with Zaptel.


 If I load ztdummy, my audio in BackGround (or Playback)
 cannot be heard. If I rmmod ztdummy and restart Asterisk,
 Background works. What am I missing?

 What things are you using that requires zaptel timing
 (ztdummy)?

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


___
--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] ztdummy and BackGround

2007-11-02 Thread Tony Plack
Well I cat /proc/drivers/rtc and get

rtc_time: 15:48:35
rtc_date: 2007-11-02
rtc_epoch: 1900
alarm  : 16:30:31
DST_enable   : no
BCD   : yes
24hr  : yes
square_wave   : no
alarm_IRQ: no
update_IRQ   : no
periodic_IRQ  : no
periodic_freq  : 1024
batt_status   : okay
I am wondering if the periodic_IRQ is needed and a freq of 1000 based on what I read about zaptel. Not sure.

 Yes, but if you didn't need MeetMe it would be silly to try to
 diagnose it.

 I suspect ztdummy is loading correctly, but the system is not
 generating interrupts for ztdummy sync to. Traditionally ztdummy
 used a USB interface to get timing, but at some point I think it
 switched to using the kernel RTC if available.

 I don't use ztdummy -- I'm just recalling what I've seen on the
 mailing lists and IRC over the years.

 Tony Plack wrote:
 We are going to implement MeetMe, but this should still work
 right?

 Tony Plack wrote:

 I have an interesting issue. I am running Asterisk 1.4 (SVN

 branch latest) and same with Zaptel.


 If I load ztdummy, my audio in BackGround (or Playback)
 cannot be

 heard. If I rmmod ztdummy and restart Asterisk, Background

 works. What am I missing?


 What things are you using that requires zaptel timing (ztdummy)?

 ___
 --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] ztdummy kills audio

2007-09-15 Thread Chris Nestrud
On Fri, 14 Sep 2007 20:46:13 -0400, John Albano [EMAIL PROTECTED] wrote:
 I'm seeing the problem on both etch and lenny releases.

 Linux ads04 2.6.18 #2 SMP Wed Sep 12 15:45:10 EDT 2007 i686 GNU/Linux

I have a similar problem and am also using Debian (lenny). I'm using an
SMP kernel. Could that be the issue?

I tested with an AGI script, and the problem is that audio isn't sent.
The script receives DTMF digits and otherwise acts as expected.
-- 
Chris Nestrud
Email: [EMAIL PROTECTED]
http://www.panix.com/~ccn/


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-15 Thread Tzafrir Cohen
On Sat, Sep 15, 2007 at 12:47:59PM +, Chris Nestrud wrote:
 On Fri, 14 Sep 2007 20:46:13 -0400, John Albano [EMAIL PROTECTED] wrote:
  I'm seeing the problem on both etch and lenny releases.
 
  Linux ads04 2.6.18 #2 SMP Wed Sep 12 15:45:10 EDT 2007 i686 GNU/Linux
 
 I have a similar problem and am also using Debian (lenny). I'm using an
 SMP kernel. Could that be the issue?
 
 I tested with an AGI script, and the problem is that audio isn't sent.
 The script receives DTMF digits and otherwise acts as expected.

Which kernel exactly?

A packaged, or self-built?

What is the output of:  uname -a

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-15 Thread Chris Nestrud
On Sat, 15 Sep 2007 16:03:07 +0300, Tzafrir Cohen [EMAIL PROTECTED] wrote:
 On Sat, Sep 15, 2007 at 12:47:59PM +, Chris Nestrud wrote:
 On Fri, 14 Sep 2007 20:46:13 -0400, John Albano [EMAIL PROTECTED] wrote:
  I'm seeing the problem on both etch and lenny releases.
 
  Linux ads04 2.6.18 #2 SMP Wed Sep 12 15:45:10 EDT 2007 i686 GNU/Linux
 
 I have a similar problem and am also using Debian (lenny). I'm using an
 SMP kernel. Could that be the issue?
 
 I tested with an AGI script, and the problem is that audio isn't sent.
 The script receives DTMF digits and otherwise acts as expected.

 Which kernel exactly?
Debian's linux-image-2.6.22-2-686, version 2.6.22-4.

 What is the output of:  uname -a
[EMAIL PROTECTED]:~# uname -a
Linux a1271.userdns.net 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007
i686 GNU/Linux 

I thought this might be due to the fact that this is a Dual Core
Processor, so I tested using maxcpus=1 as a parameter to the kernel. This did 
not
resolve the problem. The CPU is:

model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 
-- 
Chris Nestrud
Email: [EMAIL PROTECTED]
http://www.panix.com/~ccn/


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-15 Thread Tzafrir Cohen
On Sat, Sep 15, 2007 at 01:30:26PM +, Chris Nestrud wrote:
 On Sat, 15 Sep 2007 16:03:07 +0300, Tzafrir Cohen [EMAIL PROTECTED] wrote:
  On Sat, Sep 15, 2007 at 12:47:59PM +, Chris Nestrud wrote:
  On Fri, 14 Sep 2007 20:46:13 -0400, John Albano [EMAIL PROTECTED] wrote:
   I'm seeing the problem on both etch and lenny releases.
  
   Linux ads04 2.6.18 #2 SMP Wed Sep 12 15:45:10 EDT 2007 i686 GNU/Linux
  
  I have a similar problem and am also using Debian (lenny). I'm using an
  SMP kernel. Could that be the issue?
  
  I tested with an AGI script, and the problem is that audio isn't sent.
  The script receives DTMF digits and otherwise acts as expected.
 
  Which kernel exactly?
 Debian's linux-image-2.6.22-2-686, version 2.6.22-4.
 
  What is the output of:  uname -a
 [EMAIL PROTECTED]:~# uname -a
 Linux a1271.userdns.net 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007
 i686 GNU/Linux 
 
 I thought this might be due to the fact that this is a Dual Core
 Processor, so I tested using maxcpus=1 as a parameter to the kernel. This 
 did not
 resolve the problem. The CPU is:
 
 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 

Can you try zaptel from 1.4 SVN, or even ztdummy from 1.4 SVN?

 http://svn.digium.com/svn/zaptel/branches/1.4/ztdummy.c

It should now use high-resolution timers for 2.6.22 users , so this may
work around your problem.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-15 Thread Chris Nestrud
On Sun, 16 Sep 2007 01:29:11 +0300, Tzafrir Cohen [EMAIL PROTECTED] wrote:
 On Sat, Sep 15, 2007 at 01:30:26PM +, Chris Nestrud wrote:
 On Sat, 15 Sep 2007 16:03:07 +0300, Tzafrir Cohen [EMAIL PROTECTED] wrote:
  On Sat, Sep 15, 2007 at 12:47:59PM +, Chris Nestrud wrote:
  On Fri, 14 Sep 2007 20:46:13 -0400, John Albano [EMAIL PROTECTED] wrote:
   I'm seeing the problem on both etch and lenny releases.
  
   Linux ads04 2.6.18 #2 SMP Wed Sep 12 15:45:10 EDT 2007 i686 GNU/Linux
  
  I have a similar problem and am also using Debian (lenny). I'm using an
  SMP kernel. Could that be the issue?
  
  I tested with an AGI script, and the problem is that audio isn't sent.
  The script receives DTMF digits and otherwise acts as expected.
 
  Which kernel exactly?
 Debian's linux-image-2.6.22-2-686, version 2.6.22-4.
 
  What is the output of:  uname -a
 [EMAIL PROTECTED]:~# uname -a
 Linux a1271.userdns.net 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007
 i686 GNU/Linux 
 
 I thought this might be due to the fact that this is a Dual Core
 Processor, so I tested using maxcpus=1 as a parameter to the kernel. This 
 did not
 resolve the problem. The CPU is:
 
 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 

 Can you try zaptel from 1.4 SVN, or even ztdummy from 1.4 SVN?

  http://svn.digium.com/svn/zaptel/branches/1.4/ztdummy.c

 It should now use high-resolution timers for 2.6.22 users , so this may
 work around your problem.

Thank you. I compiled and installed from the 1.4 branch and this has
solved the problem. Audio and conferencing work as expected.

--- Results after 22 passes ---
Best: 99.998 -- Worst: 99.995 -- Average: 99.996866, Difference: 99.996866 
-- 
Chris Nestrud
Email: [EMAIL PROTECTED]
http://www.panix.com/~ccn/


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread John Albano
I'm running asterisk/zaptel 1.4.5. If I load the ztdummy module, the 
dialplan hangs when it tries to play audio (i.e. Playback) -- and I just 
hear static on the line. I'm running this on a debian system. I actually 
have it working on a different debian system but have yet to discover 
the important difference between the two installations.

Any advice on where to look?

Thanks
John


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread Tzafrir Cohen
On Fri, Sep 14, 2007 at 03:05:49PM -0400, John Albano wrote:
 I'm running asterisk/zaptel 1.4.5. If I load the ztdummy module, the 
 dialplan hangs when it tries to play audio (i.e. Playback) -- and I just 
 hear static on the line. I'm running this on a debian system. I actually 
 have it working on a different debian system but have yet to discover 
 the important difference between the two installations.

What is the output from running:

  zttest -v

for about a minute? (press ctrl-C to stop)

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread John Albano
Opened pseudo zap interface, measuring accuracy...
--- Results after 0 passes ---
Best: 0.00 -- Worst: 100.00 -- Average: 100.00

 On Fri, Sep 14, 2007 at 03:05:49PM -0400, John Albano wrote:
   
 I'm running asterisk/zaptel 1.4.5. If I load the ztdummy module, the 
 dialplan hangs when it tries to play audio (i.e. Playback) -- and I just 
 hear static on the line. I'm running this on a debian system. I actually 
 have it working on a different debian system but have yet to discover 
 the important difference between the two installations.
 

 What is the output from running:

   zttest -v

 for about a minute? (press ctrl-C to stop)

   


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread John Albano
Yes, that was after approx a minute. Output from lsmod is...

zaptel182948  4 zttranscode,ztdummy
crc_ccitt   3072  1 zaptel

 On Fri, Sep 14, 2007 at 03:32:00PM -0400, John Albano wrote:
   
 Opened pseudo zap interface, measuring accuracy...
 --- Results after 0 passes ---
 Best: 0.00 -- Worst: 100.00 -- Average: 100.00
 

 Is this after a minute? 

 What is the output of:

   lsmod | grep zaptel

   


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread Tzafrir Cohen
On Fri, Sep 14, 2007 at 03:32:00PM -0400, John Albano wrote:
 Opened pseudo zap interface, measuring accuracy...
 --- Results after 0 passes ---
 Best: 0.00 -- Worst: 100.00 -- Average: 100.00

Is this after a minute? 

What is the output of:

  lsmod | grep zaptel

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread Tzafrir Cohen
On Fri, Sep 14, 2007 at 04:41:22PM -0400, John Albano wrote:
 Yes, that was after approx a minute. Output from lsmod is...
 
 zaptel182948  4 zttranscode,ztdummy
 crc_ccitt   3072  1 zaptel

What release of Debian is it? 

What kernel do you use? Packaged or self-built?

uname -a

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy kills audio

2007-09-14 Thread John Albano
I'm seeing the problem on both etch and lenny releases.

Linux ads04 2.6.18 #2 SMP Wed Sep 12 15:45:10 EDT 2007 i686 GNU/Linux

 What release of Debian is it? 
 What kernel do you use? Packaged or self-built?
 uname -a
   

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy problem in fedora7, kernel 2.6.22.5-76.fc7

2007-09-13 Thread saqib butt
hi there

i am facing problem in installing the ztdummy module in fedora7,
2.6.22.5-76.fc7 is the version of the kernel. here are some logs for your
kind consideration,
i have tried varios solution from voip-info.org and many more, but in vain.


Message from /var/log/messages

Sep 13 14:27:14 localhost kernel: Zapata Telephony Interface Registered on
major
Sep 13 14:27:14 localhost kernel: Zaptel Version: 1.4.5.1
Sep 13 14:27:14 localhost kernel: Zaptel Echo Canceller: MG2
Sep 13 14:27:14 localhost kernel: ztdummy: Unknown symbol rtc_register
Sep 13 14:27:14 localhost kernel: ztdummy: Unknown symbol rtc_unregister
Sep 13 14:27:14 localhost kernel: ztdummy: Unknown symbol rtc_control

Message from modprobe ztdummy at console,

FATAL: Error inserting ztdummy (/lib/modules/2.6.22.5-76.fc7/misc/ztdummy.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

Message from dmesg

Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.5.1
Zaptel Echo Canceller: MG2
ztdummy: Unknown symbol rtc_register
ztdummy: Unknown symbol rtc_unregister
ztdummy: Unknown symbol rtc_control
ztdummy: Unknown symbol rtc_register
ztdummy: Unknown symbol rtc_unregister
ztdummy: Unknown symbol rtc_control
ztdummy: Unknown symbol rtc_register
ztdummy: Unknown symbol rtc_unregister
ztdummy: Unknown symbol rtc_control



-- 
Regards,

Saqib Butt.
Cell: (0092)3024068471.
E-mail: [EMAIL PROTECTED]
___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy problem in fedora7, kernel 2.6.22.5-76.fc7

2007-09-13 Thread Dave Walker
On Thu, 2007-09-13 at 15:03 +0500, saqib butt wrote:
 hi there
 
 i am facing problem in installing the ztdummy module in fedora7,
 2.6.22.5-76.fc7 is the version of the kernel. here are some logs for
 your kind consideration, 
 i have tried varios solution from voip-info.org and many more, but in
 vain.
 Message from /var/log/messages
 
 Sep 13 14:27:14 localhost kernel: Zapata Telephony Interface
 Registered on major
 Sep 13 14:27:14 localhost kernel: Zaptel Version: 1.4.5.1
 Sep 13 14:27:14 localhost kernel: Zaptel Echo Canceller: MG2
 Sep 13 14:27:14 localhost kernel: ztdummy: Unknown symbol rtc_register

SNIP

Hi Saqib

Strangely it would seem that your kernel does not have a Real Time Clock
(RTC) compiled in.  ztdummy can function fine without it, but
automatically assumes all 2.6.* kernel's to have it.

Therefore you can either recompile your kernel adding RTC support, or
modify ztdummy source.

Try commenting out the instances of #define USE_RTC  (add // before
it) in zaptel.c.  Then:
make clean
make
make install

Let me know how you get on.

Kind Regards,
Dave Walker


signature.asc
Description: This is a digitally signed message part
___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy problem in fedora7, kernel 2.6.22.5-76.fc7

2007-09-13 Thread Patrick
On Thu, 2007-09-13 at 15:03 +0500, saqib butt wrote:
 hi there
 
 i am facing problem in installing the ztdummy module in fedora7,
 2.6.22.5-76.fc7 is the version of the kernel. here are some logs for
 your kind consideration, 
 i have tried varios solution from voip-info.org and many more, but in
 vain.
[snip]

You need to apply the patch from:
http://bugs.digium.com/file_download.php?file_id=15160type=bug
to your zaptel source and rebuild zaptel. You can read more here:
http://bugs.digium.com/view.php?id=10314

This should fix your issue and even give you high resolution timers.

Regards,
Patrick


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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] ztdummy

2007-04-23 Thread Don Fletcher
I've compiled ztdummy, following the directions on  
http://www.voip-info.org/wiki-Asterisk+timer+ztdummy, and when I try to 
modprobe zt :


#modprobe ztdummy
FATAL: Error inserting ztdummy 
(/lib/modules/2.6.18-gentoo-r6/misc/ztdummy.ko): Input/output error

FATAL: Error running install command for ztdummy


I haven't been able to find any info on what the I/O error might be or 
how to resolve it.


Any help would be appreciated.

Don Fletcher
[EMAIL PROTECTED]
___
--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] ztdummy

2007-04-23 Thread David Olsen
On 2007-04-23 at 13:40:33, Don Fletcher [EMAIL PROTECTED] wrote:
 #modprobe ztdummy
 FATAL: Error inserting ztdummy 
 (/lib/modules/2.6.18-gentoo-r6/misc/ztdummy.ko): Input/output error
 FATAL: Error running install command for ztdummy
 
 
 I haven't been able to find any info on what the I/O error might be or 
 how to resolve it.

Does dmesg tell you anything useful? Sometimes modules will output errors
there.

-d


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

2007-04-23 Thread Don Fletcher

dmesg just says
   ztdummy: Unable to register zaptel rtc driver


Thanks

Don




David Olsen wrote:

On 2007-04-23 at 13:40:33, Don Fletcher [EMAIL PROTECTED] wrote:
  

#modprobe ztdummy
FATAL: Error inserting ztdummy 
(/lib/modules/2.6.18-gentoo-r6/misc/ztdummy.ko): Input/output error

FATAL: Error running install command for ztdummy


I haven't been able to find any info on what the I/O error might be or 
how to resolve it.



Does dmesg tell you anything useful? Sometimes modules will output errors
there.

-d


___
--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] ztdummy does not load properly at server startup

2007-04-21 Thread Theo Band
Tzafrir Cohen wrote:
 Replying to Theo Band's post. Please don't use HTML mail...
   
Was I sending in HTML? Years ago I was annoying management with replies
that I could not read their Outlook HTML messages with my plain text
mail program running on a SUN workstation. That battle is lost...
I just set my mail client to send plain text mail to this list, although
composed as HTML (my default). Never tried whether that actually works.

Theo
___
--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] ztdummy does not load properly at server startup

2007-04-20 Thread Theo Band




Darryl Dunkin wrote:

  
  
  It's not playing a wav file at all, it
is mixing the live audio from all of the callers in that conference
room and sending it back out to them.
  
  
  

I understand. What I tried to say is that if a wav file can be played
at the correct speed, why would a conference application need a special
driver to achieve the same? I assume it is needed as part of the
hardware driver and that this application happens to use the timing
reference part of it.

Theo


___
--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] ztdummy does not load properly at server startup

2007-04-20 Thread Theo Band




Tzafrir Cohen wrote:

  On Thu, Apr 19, 2007 at 09:23:48PM +0200, Theo Band wrote:
  
  
Eric "ManxPower" Wieling wrote:


  In the zaptel source "make config" will install the zaptel init script
in /etc/rc.d/init.d for many distros.

  

Thanks. This was the missing configuration step. A manual start/stop
seems to work. I will try to reboot the machine tomorrow for the "final"
test but I feel this is going to work.

Stopping the zaptel drivers does not work properly, but I only need this
for rebooting...

  
  
You don't. You don't need to unload the zaptel modules before rebooting.
  

make config installs both a start and stop entry for me.
/etc/init.d/zaptel stop unload the kernel modules. I don't see the
point of trying to do that even if you switch runlevel.
The error just looks ugly when rebooting, but it's not really an issue
of course.

  
  
  
[EMAIL PROTECTED] zaptel-1.4.1]# service zaptel stop
Unloading zaptel hardware drivers: wcusb wctdm wcfxo wctdm24xxp wcte11xp
wct1xxp wct4xxp tor2.
Removing zaptel module:  ERROR: Module zaptel is in use by ztdummy
   [FAILED]

  
  
The unload_module function in the init.d script in the SVN should fix
this and get rid of that error.

  




___
--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] ztdummy does not load properly at server startup

2007-04-20 Thread Matthew J. Roth

Theo,

I'm glad my reply was helpful to you.  The responses pointed out that 
it's time for me to update my procedures and documentation, so I'm 
benefiting as well.  My thanks go out to everyone who participated in 
this thread.


Thank you,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer

___
--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] ztdummy does not load properly at server startup

2007-04-20 Thread Tzafrir Cohen
Replying to Theo Band's post. Please don't use HTML mail...

Matthew J. Roth wrote:
 Theo,

 Unless things have changed significantly in the newer releases, you
 must load zaptel prior to loading ztdummy.  Additionally, the zaptel
 devices are not created instantly, so after you load zaptel you must
 wait a few seconds before loading ztdummy.  You can perform some sort
 of polling if you want to script this, but a less sophisticated method
 is just to sleep for 10 or 15 seconds between the calls to modprobe.

 If your goal is to start Asterisk automatically at boot, some init
 scripts for different distributions are available at
 http://svn.digium.com/view/asterisk/branches/1.4/contrib/init.d/. 
 I'm using Fedora, so I installed 'rc.redhat.asterisk' with chkconfig
 as follows:

 # install -m 755 ./rc.redhat.asterisk /etc/rc.d/init.d/asterisk
 # chkconfig --add asterisk
 # chkconfig --list asterisk
 asterisk0:off   1:off   2:on3:on4:on5:on6:off
The make install already did that for me .


 Note that I made the following customizations to the script prior to
 installing it:

 * I don't want to run safe_asterisk, so I comment out all of the lines
 that reference the SAFE_ASTERISK variable.

Not using safe_asterisk is a good idea.

 * I want to load ztdummy and raise the open file limit, so I add the
 following lines to the start() function immediately prior to the
 'daemon' statement:
 modprobe zaptel  /dev/null 2 /dev/null
 sleep 15
 modprobe ztdummy  /dev/null 2 /dev/null
 ztcfg  /dev/null 2 /dev/null

As you don't need ztcfg for ztdummy, the only line you need from the
above four lines is:

  modprobe ztdummy

Or use the zaptel init script. If it finds no zaptel timing source it
modprobes ztdummy.

  ulimit -n 65536  /dev/null 2 /dev/null
  * And add the following lines to the stop() function, immediately
  after the 'RETVAL=$?' line:
  rmmod ztdummy  /dev/null 2 /dev/null
  rmmod zaptel  /dev/null 2 /dev/null

With the latest zaptel init script, you can simply use it (once the
modules unloading fixes are in place). But then aghain, there is no harm
whatsoever from not unloading ztdummy at system shutdown.

 Yes it works indeed thanks. It turns out that (for me) the modprobe
 ztdummy alone works as well. I do get an error message as shown before,

That's because of the bogus setting in /etc/modprobe.conf that runs
ztcfg needlessly on the time of the load of ztdummy, and because uev is
slightly slow in creating the zaptel devices (the init.d script only
runs ztcfg after wait_fot_zapctl).

 but both ztummy and zaptel get loaded and Meetme() works. The 15 seconds
 delay would add to the boot time

You can avoid all of that sleep (or at least most of it) easily.

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


  1   2   3   4   >