Chris, <br><br>This is exactly what I found. The script does pipe the sound OK, but it's obviously in a format that Asterisk doesn't like. Arecord can turn that audio into just about anything, so if there's someone on the list here that could tell us format Asterisk is expecting, we can probably figure this out.
<br><br>Alex<br><br><div><span class="gmail_quote">On 7/19/06, <b class="gmail_sendername">Christopher Snell</b> <<a href="mailto:chris.snell@gmail.com">chris.snell@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I've followed the instructions on the Wiki for pulling music-on-hold<br>from my sound card's line input. It doesn't work, however. MoH<br>starts and immediately stops. Apparently, I'm not the only person<br>
having this problem. I'm thinking that maybe arecord(1) is not<br>sending the right kind of audio to Asterisk. To test things, I took<br>my ast-playlinein script (mentioned in the wiki) and piped it to<br>aplay(1). By doing this, I was able to hear the line input over my
<br>speakers, so the sound card and ALSA *are* working properly.<br><br>Ideas, anyone?<br><br>thanks,<br><br>Chris<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alex Robar<br><a href="mailto:alex.robar@gmail.com">alex.robar@gmail.com</a>