Am 09.08.2013 um 19:47 schrieb Lonnie Abelbeck <li...@lonnie.abelbeck.com>:

> Hi Dan,
> 
> I have never done this, but I'll guess...
> 
> On my Jetway NF99FL-525, I did a "lspci -v" to find the audio driver...
> 
> 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
> Controller (rev 02)
>       Subsystem: Jetway Information Co., Ltd. Device 1705
>       Kernel modules: snd-hda-intel
> 
> $ modprobe snd-hda-intel
> 
> Then load PCM OSS emulation for ALSA
> 
> $ modprobe snd-pcm-oss
> 
> (add snd-hda-intel and snd-pcm-oss to /etc/rc.modules to make it persistent 
> if it works)
> 
> pbx ~ # lsmod | grep snd
> snd_pcm_oss            25129  0 
> snd_mixer_oss           8785  1 snd_pcm_oss
> snd_hda_codec_via      35196  1 
> snd_hda_intel          14748  0 
> snd_hda_codec          42110  2 snd_hda_codec_via,snd_hda_intel
> snd_pcm                42169  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
> snd_timer              11110  1 snd_pcm
> snd                    30407  7 
> snd_pcm_oss,snd_mixer_oss,snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
> soundcore               3396  1 snd
> snd_page_alloc          4717  2 snd_hda_intel,snd_pcm
> 
> pbx ~ # ls -l /dev/dsp 
> crw-rw----    1 root     audio      14,   3 Aug  9 12:33 /dev/dsp
> 
> Then check "/etc/asterisk/modules.conf" to see of chan_oss.so is not 
> noload'ed (ie. is loaded).
> 
> Hope that helps a little.
> 
> Lonnie
> 
> 
> On Aug 9, 2013, at 11:59 AM, Dan Ryson wrote:
> 
>> All,
>> 
>> We're trying to enable live music-on-hold from an AstLinux sound card 
>> line-input.  I spent the morning researching how to do this, found many 
>> suggested approaches, but have yet to get this working in a standard 
>> AstLinux environment.
>> 
>> This is for a radio station client that pays royalty fees for music and 
>> programming and prefers to use that for MoH in lieu of the default, 
>> royalty-free music files.
>> 
>> Most approaches I've seen depend on sox or arecord.  Sox is present in 
>> the standard build, supports ossdsp, but requires a /dev/dsp device that 
>> I don't see.  Arecord doesn't appear to be included and apparently 
>> requires use of the alsamixer utility to select "line in" as the 
>> appropriate source.  Also, while /stat/dev/audio exists, I don't see 
>> such a device in /dev.
>> 
>> As always, any clues would be greatly appreciated.
>> 
>> Dan


Here is a nice tutorial, but we are missing the "alsamixer" command:

http://community.spiceworks.com/how_to/show/19088-use-soundcard-line-in-for-asterisk-music-on-hold

Michael

http://www.mksolutions.info




Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to