List Info

Thread: SHOUTcast MOH Problems




SHOUTcast MOH Problems
user name
2006-10-08 08:31:27
On Sat, Oct 07, 2006, at 20:51:59 -0700, Richard E. Neese
wrote:
> Drop mpg123 andinstall madplayer...

Do you know how to use madplay to play streams with
Asterisk? madplay
doesn't support streams directly as far as I can tell, so I
tried like
this but it doesn't work in Asterisk (even though it works
fine on the
command line): 

------------------------------------------------------------
------
application=/usr/local/bin/curl http://shoutcast.se
rver.com:8000/
| /usr/local/bin/madplay --mono -R 8000 --output=snd:- -
------------------------------------------------------------
------

I tried "moh reload" as well as restarting *
itself. I tried with just
curl grabbing the stream without the pipe and that worked
(only static
of course since it's not in the right format), so am I doing
something
wrong in musiconhold.conf when trying to make the pipe?
There are no
errors on the Asterisk console.

I also tried the same command in a shell script and set
"application="
in musiconhold.conf to that shell script which did not work
either. By
not working, I mean no curl or madplay processes running and
no sound
outputted to the caller.

Thanks again.

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
SHOUTcast MOH Problems
user name
2006-10-08 15:18:36
Read the madplay website it tells you how to stream with it
. And yes it can
stream shoutcast and icecast. 

-----Original Message-----
From: asterisk-bsd-bounceslists.digium.com
[mailto:asterisk-bsd-bounceslists.digium.com] On Behalf
Of Mark Kane
Sent: Sunday, October 08, 2006 1:31 AM
To: asterisk-bsdlists.digium.com
Subject: Re: [Asterisk-bsd] SHOUTcast MOH Problems

On Sat, Oct 07, 2006, at 20:51:59 -0700, Richard E. Neese
wrote:
> Drop mpg123 andinstall madplayer...

Do you know how to use madplay to play streams with
Asterisk? madplay
doesn't support streams directly as far as I can tell, so I
tried like
this but it doesn't work in Asterisk (even though it works
fine on the
command line): 

------------------------------------------------------------
------
application=/usr/local/bin/curl http://shoutcast.se
rver.com:8000/
| /usr/local/bin/madplay --mono -R 8000 --output=snd:- -
------------------------------------------------------------
------

I tried "moh reload" as well as restarting *
itself. I tried with just
curl grabbing the stream without the pipe and that worked
(only static
of course since it's not in the right format), so am I doing
something
wrong in musiconhold.conf when trying to make the pipe?
There are no
errors on the Asterisk console.

I also tried the same command in a shell script and set
"application="
in musiconhold.conf to that shell script which did not work
either. By
not working, I mean no curl or madplay processes running and
no sound
outputted to the caller.

Thanks again.

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )