[Asterisk-Users] Read error on sound device

Sathya Weerasooriya sathyaw at sbcglobal.net
Sun Nov 2 18:11:01 MST 2003


Hello,

I am posting this after spending hours digging through the list archives.

Problem : When asteirsk plays a voice prompt, the voice clip is really
choppy.

I figure that this is something to with the sound card, the timing of
playback etc.
But cannot seems to find an answer.

Here is the Notice which appear when voice prompt is played.

NOTICE[1217602880]: File sched.c, Line 209 (sched_settime): Request to
schedule
in the past?!?!
NOTICE[1217602880]: File sched.c, Line 209 (sched_settime): Request to
schedule
in the past?!?!
NOTICE[1217602880]: File sched.c, Line 209 (sched_settime): Request to
schedule
in the past?!?!
NOTICE[1217602880]: File sched.c, Line 209 (sched_settime): Request to
schedule
in the past?!?!
NOTICE[1217602880]: File sched.c, Line 209 (sched_settime): Request to
schedule
in the past?!?!
NOTICE[1217602880]: File sched.c, Line 209 (sched_settime): Request to
schedule
in the past?!?!


When I start asterisk (./asterisk -vvvvc ) I can see following warning.

[chan_oss.so] => (OSS Console Channel Driver)
  == Console is full duplex
  == Registered channel type 'Console' (OSS Console Channel Driver)
  == Parsing '/etc/asterisk/oss.conf': Found
WARNING[1167272000]: File chan_oss.c, Line 238 (sound_thread): Read error on
sou
nd device: Resource temporarily unavailable

I was wondering that asteirsk couldn't find the sound card, because of this.

However, I can use command 'dial' from CLI to dial out an extension and have
a
conversation using a headphone/mic.

Also, I learned from various posts in the mailing list and found that I have
to
modprobe ztdummy, so I installed the Zaptel and ran modprobe before
executing ./
asterisk. Even then the problem still exists.

I really appreciate any help in fixing this problem.






More information about the asterisk-users mailing list