Hi,<br><br>I would like to get musiconhold from a sound card. This is because I want to kind of be a DJ and easily change the music playing, etc. However, I followed the instructions at <a href="http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf">http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf</a> but no success. i have<br>
<br>[mycustom]<br>mode=custom<br>directory=/var/lib/asterisk/mohmp3<br>application=/usr/sbin/ast-playlinein<br><br>and =/usr/sbin/ast-playlinein contains<br><br>#!/bin/bash<br>/usr/bin/arecord -q -c 1 -r 8000 --buffer-size=2048 -f S16_LE -t raw<br>
<br>Am running asterisk as root. When i'm playing a music file (using amarok), my music onhold is silent. Is there anything I can do?<br><br>Any help of pointers will be appreciated.<br><br>Regards,<br>Tim<br>