Re: [asterisk-users] Asterisk stopping for no reason

2010-05-03 Thread Motiejus Jakštys
Suggestion for you: exten = _X.,n,MP3Player(/dir/to/your/mp3/directory/) You could try changing /usr/bin/wget -q -O - $1 | /usr/bin/madplay -Q -z -o raw:- --mono -R to something like /bin/cat $1/`ls $1 | shuf | head -1` | /usr/bin/madplay -Q -z -o raw:- --mono -R Sorry, didn't notice the version

Re: [asterisk-users] Asterisk stopping for no reason

2010-04-30 Thread Motiejus Jakštys
Hi, please always add asterisk version to your query. I managed to run internet radio (that streams MP3) within asterisk. Minor change is nescesarry to make it work with random MP3s. My Dialplan: exten = _X.,n,Answer() exten = _X.,n,MP3Player(http://stream.m-1.fm/m1/mp3) $ cat /usr/bin/mpg123

Re: [asterisk-users] Asterisk stopping for no reason

2010-04-30 Thread Alexandre Vézina
2010/4/30 Motiejus Jakštys desired@gmail.com Hi, please always add asterisk version to your query. I am using Asterisk 1.4.17~dfsg-2ubuntu1.1 on an Ubuntu 8.04.4 server. I managed to run internet radio (that streams MP3) within asterisk. Minor change is nescesarry to make it work

[asterisk-users] Asterisk stopping for no reason

2010-04-29 Thread Alexandre Vézina
Hi, Few days ago, my asterisk began to stop unexpectedly What I did: - Added a mp3 to the musiconhold directory - Adjusted the permissions (chown asterisk:asterisk + chmod 755) - Reconfigured the musiconhold.conf to the deprecated format (found the example on the internet)