Hi i was installing an elastix system in one of my clients and he told me the he wanted to hear a radio station and put some mp3 cds for his music on hold, in the pbx i made a little research and i got it right now working, i hope those configs can be usefull for the community to use it. 1.Add the following to /etc/asterisk/musiconhold_custom.conf [Radio] mode=custom directory=/var/lib/asterisk/mohmp3/radio application=/var/lib/ece-playlinein 2.In SSH, type: mkdir /var/lib/asterisk/mohmp3/radio With that step we create a folder in that directory because in that way it will show us that category in the gui in music on hold and you can select it whenever you want. vim /var/lib/ece-playlinein and place the following two lines in the file: #!/bin/bash /usr/bin/arecord -q -c 1 -r 8000 --buffer-size=2048 -f S16_LE -t raw 3.Type the following to set ownership: cd /var/lib chown asterisk:asterisk ece-playlinein chmod 777 ece-playlinein 4.Type the following in SSH: groupadd -g 525 audio usermod -G audio root usermod -G audio asterisk 5.vim /usr/sbin/amportal and add the following lines at the bottom: chown asterisk /dev/tty9 chown -R root:audio /dev/snd chmod -R a+rwX /dev/snd 7.Reboot the system: shutdown -r 0 8.Upon system startup, type in SSH: alsamixer. Go to each channel and push the M button to unmute it. Also, hit the arrow up to get some volume in. In the console you can use "alsamixer -V capture" and go to the Line IN channel and hit the spacebar to unmute. 1.Hit the escape button to exit. Note: i recomended that you upload a last one mp3 file to the created folder. Go in to the GUI and select the radio class music as your default music on hold. Now make a test call and put yourself on hold and you should hear the music that you plugged in to Line IN on your sound card. I tested it an it is in production in two system right now.