[asterisk-users] Asterisk stopping for no reason

Alexandre Vézina avezina at vencomm.ca
Fri Apr 30 09:54:22 CDT 2010


2010/4/30 Motiejus Jakštys <desired.mta at 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 with random MP3s.
>
> My Dialplan:
> exten => _X.,n,Answer()
> exten => _X.,n,MP3Player(http://stream.m-1.fm/m1/mp3)
>
> $ cat /usr/bin/mpg123
>
> #!/bin/bash
> /usr/bin/wget -q -O - $1 | /usr/bin/madplay -Q -z -o raw:- --mono -R
> 8000 -a -6 -
>
> You should change the WGET part to something that better suits your needs.
>
> Tested on asterisk 1.4.27
>

Good.
Is there a way to set random in "files" mode?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100430/a8f49202/attachment.htm 


More information about the asterisk-users mailing list