Re: [asterisk-users] Streaming Hold Music

2011-03-27 Thread Alexander Lopez
In musiconhold.conf
[default]
mode=custom
directory=/var/lib/asterisk/mohmp3-empty
application=/etc/asterisk/bin/mohstream.sh


/etc/asterisk/bin/mohstream.sh
--
#   BigR Radio Warm Hits
/usr/bin/wget -q -O - http://66.90.121.9:10005 | /usr/local/bin/madplay
-Q -z -o raw:- --mono -R 8000 -a -20 -


= -Original Message-
= From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
= boun...@lists.digium.com] On Behalf Of Tzafrir Cohen
= Sent: Saturday, March 26, 2011 8:54 AM
= To: asterisk-users@lists.digium.com
= Subject: Re: [asterisk-users] Streaming Hold Music
= 
= On Thu, Mar 24, 2011 at 03:08:11PM -0700, Chris Davis wrote:
=  Does anyone have a good solution to stream hold music to the
=  Asterisk/FreePBX server? I currently have setup WinAMP using
=  ShoutCast but it appears to a very touch and go stream, being that
=  it seems to periodically drop the connection.
= 
= Stream from where? Why would you need WinAMP in the mix?
= 
= --
=Tzafrir Cohen
= icq#16849755  jabber:tzafrir.co...@xorcom.com
= +972-50-7952406   mailto:tzafrir.co...@xorcom.com
= http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir
= 
= --
= _
= -- Bandwidth and Colocation Provided by http://www.api-digital.com --
= New to Asterisk? Join us for a live introductory webinar every Thurs:
=http://www.asterisk.org/hello
= 
= asterisk-users mailing list
= To UNSUBSCRIBE or update options visit:
=http://lists.digium.com/mailman/listinfo/asterisk-users
= 
= --
= This message was scanned by Connected.Net and is believed to be
clean.
= Click here to report this message as spam.
= http://sef002.sc.connected.net/cgi-bin/learn-
= msg.cgi?id=1B96029071.279AC
= 


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Streaming Hold Music

2011-03-27 Thread Tzafrir Cohen
One minor comment:

On Sun, Mar 27, 2011 at 02:41:11AM -0400, Alexander Lopez wrote:
 In musiconhold.conf
 [default]
 mode=custom
 directory=/var/lib/asterisk/mohmp3-empty

If you don't use 'mode=files', there's no need to set 'directory'.

 application=/etc/asterisk/bin/mohstream.sh

[snip]

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Streaming Hold Music

2011-03-26 Thread Tzafrir Cohen
On Thu, Mar 24, 2011 at 03:08:11PM -0700, Chris Davis wrote:
 Does anyone have a good solution to stream hold music to the
 Asterisk/FreePBX server? I currently have setup WinAMP using
 ShoutCast but it appears to a very touch and go stream, being that
 it seems to periodically drop the connection.

Stream from where? Why would you need WinAMP in the mix?

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Streaming Hold Music

2003-12-12 Thread asterisk
I've tried getting this running but mpg123 won't spawn. It spawns fine for
the files but if I try streaming she doesn't work.

I've tried with just about every stream at somafm.com w/o success. I can
play them locally though.

When I try to play them from the server from the command line I get:

# mpg123 -s --mono -r 8000 -b 2048 http://160.79.128.40:8052 High
Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
HTTP request failed: 404 Resource Not Found

Though I can play the same stream from my windows machine fine. Anyone see
this before?

-Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tilghman Lesher
Sent: Thursday, December 11, 2003 5:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Streaming Hold Music

On Thursday 11 December 2003 15:58, Jonathan Tew wrote:
 Is it possible to play live streams of audio for the hold music
 instead of just MP3 files?  Like some online radio stations or
 something?

http://bugs.digium.com/bug_view_page.php?bug_id=413

-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Streaming Hold Music

2003-12-11 Thread Jonathan Tew
Is it possible to play live streams of audio for the hold music instead 
of just MP3 files?  Like some online radio stations or something?

Jonathan

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Streaming Hold Music

2003-12-11 Thread Tilghman Lesher
On Thursday 11 December 2003 15:58, Jonathan Tew wrote:
 Is it possible to play live streams of audio for the hold music
 instead of just MP3 files?  Like some online radio stations or
 something?

http://bugs.digium.com/bug_view_page.php?bug_id=413

-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users