[asterisk-users] Music On Hold (from a Sound card) Help

Timothy Smith timotsmith at gmail.com
Thu Oct 30 13:41:42 CDT 2008


Hi,

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
http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf but no
success. i have

[mycustom]
mode=custom
directory=/var/lib/asterisk/mohmp3
application=/usr/sbin/ast-playlinein

and =/usr/sbin/ast-playlinein contains

#!/bin/bash
/usr/bin/arecord -q -c 1 -r 8000 --buffer-size=2048 -f S16_LE -t raw

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?

Any help of pointers will be appreciated.

Regards,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081030/7c4bab90/attachment.htm 


More information about the asterisk-users mailing list