is the following a bash script? I am unable to tell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello guys I was wondering if the following is a bash script
I can't tell what the heck the following code a friend sent this to me off of the asterisk users list if this is a script I don't know what the heck to do with this. the code is below
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@xxxxxxxxxxxxxxxx
[mailto:asterisk-users-bounces@xxxxxxxxxxxxxxxx] 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@xxxxxxxxxxxxx>
 
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<
asterisk-users@xxxxxxxxxxxxxxxx>
 
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@xxxxxxxxxx>
 
> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
> <
asterisk-users@xxxxxxxxxxxxxxxx>
 
> 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@xxxxxxxxxxxxxxxx
 
>>
[mailto:asterisk-users-bounces@xxxxxxxxxxxxxxxx] 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@xxxxxxxxxxxxxxxxx>
 
>> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>> <
asterisk-users@xxxxxxxxxxxxxxxx>
 
>> 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@xxxxxxxxxxxxxxxx
>>>
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@xxxxxxxxxxxxxxxx
>>
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@xxxxxxxxxxxxxxxx
>>
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@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]