[asterisk-users] DAHDI Question/Choppy Sound

Andrei Verovski (aka MacGuru) andreil1 at starlett.lv
Mon Sep 28 12:57:43 CDT 2009


Hi, Tzafrir!

I have installed DAHDI kernel modules and dahdi-tools
/etc/init.d./dahdi running

$ ls /usr/lib/asterisk/modules/res_timing_*
results ==>
/usr/lib/asterisk/modules/res_timing_dahdi.so
/usr/lib/asterisk/modules/res_timing_pthread.so

$ dahdi_test
results ==>
99.999% 99.990% 99.994% 99.994% 99.998% 99.997% 99.998% 99.998%
Looks good

Pings accross local network are stable 0.19xx ms

dahdi_tool shows DAHDI_DUMMY/1 (source: HRtimer) ==> Alarm (UNCONFIGURED)

Internal_timing switched back to NO
high_priority = yes

Sound still choppy. Probably I'm missing something very very simple. There are 
2 Ethernet interfaces on the server, ,I do not have any actual Zaptel 
devices, but as I understood, dahdi is still need for timing.

What else is missing in my config?

Thanks in advance.


> DAHDI uses DAHDI devices, not Zaptel devices. While both have major
> number 196, Zaptel devices reside under /dev/zap and dahdi devices
> reside under /dev/dahdi . They use different ioctl numbers. But that's
> just a technicality.
>
> As of Asterisk 1.6.1 Asterisk can use alternative timing sources.
>
> $ ls /usr/lib/asterisk/modules/res_timing_*
> /usr/lib/asterisk/modules/res_timing_dahdi.so
> /usr/lib/asterisk/modules/res_timing_pthread.so
>
> 'dahdi' is the traditional DAHDI timing source. 'pthread' is a new one,
> not as good as dahdi, but much more portable. Asterisk 1.6.2 also
> provides res_timing_timerfd that uses a newer Linux API (included as of
> Linux 2.6.27, which is why my my system does not support it: 2.6.26).
>
> Apart from timing, DAHDI is also used for mixing the conferencing in
> app_meetme.
>
> > Is there any guide for configuring "dummy" DAHDI for Asterisk 1.6?
>
> 1.6.0: yes.
>
> 1.6.1: If dahdi_dummy runs well on the system it will perform better
> than res_timing_pthread.
>
> 1.6.2-trunk: Unless you can use the timerfd interface (a relatively new
> Linux distribution: kernel >= 2.6.27), same answer as for 1.6.1 .
>
> 1.6.2 also provides an initial rpelacement for app_meetme
> (app_conceference)

> On Mon, Sep 28, 2009 at 01:38:02AM +0300, Andrei Verovski (aka MacGuru) 
wrote:
> > Hi!
> >
> > I have Asterisk 1.6.1 installed on OpenSuSE 11.0 running with choppy
> > sound. One specialist on the forums asked me if I have DAHDI configured,
> > he assumed that this could be cause of choppy sound problem.
> >
> > > dahdi_test
> >
> > Unable to open dahdi interface: No such file or directory
> >
> > Do I need to configure DAHDI even if I do not have any Zaptel devices?
>



More information about the asterisk-users mailing list