hello I followed the info given and I can't seem to get this to work has any one sucessfully done this? if so can you help me out? I am trying to use a 128 kbps mp3 feed to stream to people while there on hold the info I am using is below. Shoutcast Music On Hold You can have asterisk use a streaming source for on-hold music. Make a directory and put a 0 size file ending in .mp3. I called my directory: /var/lib/asterisk/mohmp3-empty in musiconhold.conf, add a line such as: default => mp3:/var/lib/asterisk/mohmp3-empty,http://www.waixwave.com:8000/ thanks hank -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050628/50da58a8/attachment.htm
On Mon, 2005-06-27 at 22:51 -0700, hank wrote:> mp3:/var/lib/asterisk/mohmp3-empty,http://www.waixwave.com:8000/I haven't tried this myself but if I put www.waixwave.com:8000 in Firefox I get "connection refused". Try another site that actually streams music. Shoutcast.org should have a nice list. Regards, Patrick
Huddleston, Robert
2005-Jun-28 11:52 UTC
[Asterisk-Users] Shoutcast Music On Hold problems?
Worked for me with a different stream... I ran into this same problem before - but it was my own fault for not RTM... Both the manual and ast install advised of verifying correct version of mpg123... I had wrong version and thus got no noise... If you follow the directions explicitly laid out on the wiki you should have no problems. I use christianrock.net's shoutcast stream Like this in musiconhold.conf default => quietmp3:/var/lib/asterisk/mohmp3-empty,http://209.51.128.160:5112/ -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of hank Sent: Tuesday, June 28, 2005 1:41 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Shoutcast Music On Hold problems? I tried that the stream i tried to use orriginally was http://209.97.198.50:30518 all I get is silence when I put the person on hold thanks hank ----- Original Message ----- From: "Patrick" <asterisk@puzzled.xs4all.nl> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, June 28, 2005 2:50 AM Subject: Re: [Asterisk-Users] Shoutcast Music On Hold problems?> On Mon, 2005-06-27 at 22:51 -0700, hank wrote: >> mp3:/var/lib/asterisk/mohmp3-empty,http://www.waixwave.com:8000/ > > I haven't tried this myself but if I put www.waixwave.com:8000 in > Firefox I get "connection refused". Try another site that actually > streams music. Shoutcast.org should have a nice list. > > Regards, > Patrick > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Huddleston, Robert
2005-Jun-29 05:55 UTC
[Asterisk-Users] Shoutcast Music On Hold problems?
bash-3.00# cat musiconhold.conf | more ; ; Music on hold class definitions ; [classes] ; Christian Rock.NET ;default => quietmp3:/var/lib/asterisk/mohmp3-empty,http://209.51.128.160:5112/ ;loud => mp3:/var/lib/asterisk/mohmp3-empty,http://209.51.128.160:5112/ ; Cleft in the Rock Radio (TESTING) default => quietmp3:/var/lib/asterisk/mohmp3-empty,http://209.97.198.50:30518/ loud => mp3:/var/lib/asterisk/mohmp3-empty,http://209.97.198.50:30518/ bash-3.00# pwd /var/lib/asterisk/mohmp3-empty bash-3.00# ls -la total 8 drwxr-xr-x 2 root root 4096 Jun 15 15:21 . drwxr-xr-x 9 root root 4096 Jun 15 15:18 .. -rw-r--r-- 1 root root 0 Jun 15 15:21 empty.mp3 -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of hank Sent: Wednesday, June 29, 2005 1:56 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Fw: [Asterisk-Users] Shoutcast Music On Hold problems? ----- Original Message ----- From: "hank" <hanksmith4@earthlink.net> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, June 28, 2005 10:52 PM Subject: Re: [Asterisk-Users] Shoutcast Music On Hold problems?>I am using asterisk@home 1.0 > my mp3 is called > mp3 > it has nothing before it > it is 0 bytes > does my mp3 of 0 bytes need to have a .mp3 or does it need to be called > anything? > thanks > hank > > ----- Original Message ----- > From: "Huddleston, Robert" <RHuddleston@cavtel.com> > To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" > <asterisk-users@lists.digium.com> > Sent: Tuesday, June 28, 2005 11:52 AM > Subject: RE: [Asterisk-Users] Shoutcast Music On Hold problems? > > >> Worked for me with a different stream... I ran into this same problem >> before - but it was my own fault for not RTM... Both the manual and ast >> install advised of verifying correct version of mpg123... I had wrong >> version and thus got no noise... >> If you follow the directions explicitly laid out on the wiki you should >> have no problems. >> I use christianrock.net's shoutcast stream >> Like this in musiconhold.conf >> default => >> quietmp3:/var/lib/asterisk/mohmp3-empty,http://209.51.128.160:5112/ >> >> >> >> -----Original Message----- >> From: asterisk-users-bounces@lists.digium.com >> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of hank >> Sent: Tuesday, June 28, 2005 1:41 PM >> To: Asterisk Users Mailing List - Non-Commercial Discussion >> Subject: Re: [Asterisk-Users] Shoutcast Music On Hold problems? >> >> I tried that the stream i tried to use orriginally was >> http://209.97.198.50:30518 >> all I get is silence when I put the person on hold thanks hank >> ----- Original Message ----- >> From: "Patrick" <asterisk@puzzled.xs4all.nl> >> To: "Asterisk Users Mailing List - Non-Commercial Discussion" >> <asterisk-users@lists.digium.com> >> Sent: Tuesday, June 28, 2005 2:50 AM >> Subject: Re: [Asterisk-Users] Shoutcast Music On Hold problems? >> >> >>> On Mon, 2005-06-27 at 22:51 -0700, hank wrote: >>>> mp3:/var/lib/asterisk/mohmp3-empty,http://www.waixwave.com:8000/ >>> >>> I haven't tried this myself but if I put www.waixwave.com:8000 in >>> Firefox I get "connection refused". Try another site that actually >>> streams music. Shoutcast.org should have a nice list. >>> >>> Regards, >>> Patrick >>> >>> _______________________________________________ >>> Asterisk-Users mailing list >>> Asterisk-Users@lists.digium.com >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> http://lists.digium.com/mailman/listinfo/asterisk-users >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> http://lists.digium.com/mailman/listinfo/asterisk-users >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users