Frank Hoonhout
2003-Mar-22  12:15 UTC
[Asterisk-Users] Sound card and other warning messages
Greetings Asterisk users.
When I launch Asterisk, I get the following
Asterisk CVS-03/20/03-16:56:24, Copyright (C) 1999-2001 Linux Support
Services, Inc.
Written by Mark Spencer <markster@linux-support.net>
========================================================================[
Booting..........    -- Registered indication country 'us'
    -- Registered indication country 'au'
    -- Registered indication country 'fr'
    -- Registered indication country 'de'
    -- Registered indication country 'nl'
    -- Registered indication country 'uk'
    -- Setting default indication country to 'us'
...WARNING[16384]: File chan_oss.c, Line 342 (setformat): Requested 8000 Hz,
got 8018 Hz -- sound may be choppy
....WARNING[98311]: File chan_oss.c, Line 228 (sound_thread): Read error on
sound device: Resource temporarily unavailable
.WARNING[16384]: File chan_iax2.c, Line 4927 (set_config): Ignoring port for
now
..../var/spool/asterisk/outgoing
.....................................................WARNING[16384]: File
chan_zap.c, Line 6416 (load_module): Ignoring rxwink
.... ]
Asterisk Ready.
*CLI> 
1. The warning messages listed above, should I be concerned?
I tested the sound card, by entering the command "dial", it plays the
Asterisk greeting message on the speakers.
2. Should I replace the sound card with a different one.  Currently, it's a
ES1370. (Ensoniq AudioPCI) 
3. After reading multiple docs, FAQ and mailing list archives, I am unable
to find out purpose of the sound card?  Is it used to play music, while on
hold?  Telephony PBX's usually don't have a sound card in them.
4. The WARNING - chan_iax2.c, I think, this is a configuration problem
(IAX), from the default files. That I have not gotten to yet.
My current test configuration:
Asterisk Server:
Pentium II 300 mhz
512 meg
Audio PCI
X100P - wcfxo
Intel Ethernet 10/100
Redhat 8.0
Clients:
(1) PSTN
(2) 7960
(1) ATA -186
(1) Messenger 4.7 (Soft phone)
As a NEWBIE in telephony services, I'll keep hacking away at this!!
Interesting stuff!!  Data person by trade.
Most of the topics in mailing-list are still way up my head, but I find them
very interesting.
BTW, Excellent start on "The Asterisk Handbook" version 2!  Helped me
with a
lot of other questions.
Thanks to all for the help.
Frank...
> Greetings Asterisk users. > > When I launch Asterisk, I get the following > > Asterisk CVS-03/20/03-16:56:24, Copyright (C) 1999-2001 Linux Support > Services, Inc. > Written by Mark Spencer <markster@linux-support.net> > ========================================================================> [ Booting.......... -- Registered indication country 'us' > -- Registered indication country 'au' > -- Registered indication country 'fr' > -- Registered indication country 'de' > -- Registered indication country 'nl' > -- Registered indication country 'uk' > -- Setting default indication country to 'us' > ...WARNING[16384]: File chan_oss.c, Line 342 (setformat): Requested 8000 Hz, > got 8018 Hz -- sound may be choppyIt means only that you have some cheap sound card. If it works for you that's fine.> ....WARNING[98311]: File chan_oss.c, Line 228 (sound_thread): Read error on > sound device: Resource temporarily unavailableIf you don't want this messages put noload => chan_oss.so in /etc/asterisk/modules.conf> .WARNING[16384]: File chan_iax2.c, Line 4927 (set_config): Ignoring port for > nowThis channel driver is under developement. Also it reads the config files of chan_zap.c so you shouldn't bother about that.> ..../var/spool/asterisk/outgoing > .....................................................WARNING[16384]: File > chan_zap.c, Line 6416 (load_module): Ignoring rxwinkIt's connected with Atlas ... just comment out in zapata.conf> .... ] > Asterisk Ready. > *CLI> > > 1. The warning messages listed above, should I be concerned? > I tested the sound card, by entering the command "dial", it plays the > Asterisk greeting message on the speakers.I woudln't worry about yours.> > 2. Should I replace the sound card with a different one. Currently, it's a > ES1370. (Ensoniq AudioPCI)If it works for you => you don't have to.> > 3. After reading multiple docs, FAQ and mailing list archives, I am unable > to find out purpose of the sound card? Is it used to play music, while on > hold? Telephony PBX's usually don't have a sound card in them.You don't need sound card in your PBX. It may be used as another extension (read: another "phone")> > 4. The WARNING - chan_iax2.c, I think, this is a configuration problem > (IAX), from the default files. That I have not gotten to yet.THis channel driver does not use "port" keyword. regards Martin