[asterisk-users] ztdummy kills audio

Chris Nestrud ccn at panix.com
Sat Sep 15 20:50:44 CDT 2007


On Sun, 16 Sep 2007 01:29:11 +0300, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Sat, Sep 15, 2007 at 01:30:26PM +0000, Chris Nestrud wrote:
>> On Sat, 15 Sep 2007 16:03:07 +0300, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
>> > On Sat, Sep 15, 2007 at 12:47:59PM +0000, Chris Nestrud wrote:
>> >> On Fri, 14 Sep 2007 20:46:13 -0400, John Albano <jalbano at voodoovox.com> 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
>> root at a1271:~# 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: ccn at panix.com
http://www.panix.com/~ccn/




More information about the asterisk-users mailing list