Im trying to activate the ICES icecast output module as a always on link to my freestar node. I'm a asterisk newb, so i need a little help.
I believe I need to add
exten => 28525,n,Ices(/etc/asterisk/asterisk-ices.conf)
to my extensions.conf. Is this correct? I tried putting it under [radio] [radio-secure] and its own separate [stream] section but i never see the ices application execute. Do i need to add a separate extension and make a call between them? How would i debug this?
thanks
confused dave
BUMP to this
i am tring to stream the audio from my node to a icecast server via the ICES module packaged with asterisk. This is all I got to go on.
http://www.voip-info.org/wiki/index.php?page_id=991&comments_page=1
The example shows how its done with a confrence call.
; Stream
exten => 10
2,1,Answer
exten => 102,n,Wait(1)
exten => 102,n,Ices(/some/where/asterisk-ices.xml)
exten => 102,n,HangUp
i assumed that I could replace 102 with my node number - but it does not work. I have the icecast server running and waiting for a connection from ices. but it never 'picks up' . Also create the stream.call file - seems to not work either. I gotta get some rest and will take alook at it again tomorrow - but if anyone has something working or knows a better way to approach this i would like to hear from you
dave
···
--- On Thu, 5/10/12, dave k <dave_k_420@yahoo.com> wrote:
From: dave k <dave_k_420@yahoo.com>
Subject: ices plugin
To: App_rpt-users@ohnosec.org
Date: Thursday, May 10, 2012, 2:24 AM
Im trying to activate the ICES
icecast output module as a always on link to my freestar
node. I'm a asterisk newb, so i need a little help.
I believe I need to add
exten => 28525,n,Ices(/etc/asterisk/asterisk-ices.conf)
to my extensions.conf. Is this correct? I tried putting it
under [radio] [radio-secure] and its own separate [stream]
section but i never see the ices application execute. Do i
need to add a separate extension and make a call between
them? How would i debug this?
thanks
confused dave
not even close…
There is a way to do it, it does work, it is documented somewhere, I dont remember a thing about it (intentionally ).
If someone who is into this stuff happens to remember where it’s documented, please help this dude.
Thanks
JIM WB6NIL
···
Date: Fri, 11 May 2012 18:22:29 -0700
From: dave_k_420@yahoo.com
To: App_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] ices pluginBUMP to this
i am tring to stream the audio from my node to a icecast server via the ICES module packaged with asterisk. This is all I got to go on.
Asterisk cmd Ices - VoIP-Info
http://www.voip-info.org/wiki/index.php?page_id=991&comments_page=1The example shows how its done with a confrence call.
; Stream
exten => 10
2,1,Answer
exten => 102,n,Wait(1)
exten => 102,n,Ices(/some/where/asterisk-ices.xml)
exten => 102,n,HangUpi assumed that I could replace 102 with my node number - but it does not work. I have the icecast server running and waiting for a connection from ices. but it never ‘picks up’ . Also create the stream.call file - seems to not work either. I gotta get some rest and will take alook at it again tomorrow - but if anyone has something working or knows a better way to approach this i would like to hear from you
dave— On Thu, 5/10/12, dave k dave_k_420@yahoo.com wrote:
From: dave k dave_k_420@yahoo.com
Subject: ices plugin
To: App_rpt-users@ohnosec.org
Date: Thursday, May 10, 2012, 2:24 AM
Im trying to activate the ICES
icecast output module as a always on link to my freestar
node. I’m a asterisk newb, so i need a little help.
I believe I need to add
exten => 28525,n,Ices(/etc/asterisk/asterisk-ices.conf)
to my extensions.conf. Is this correct? I tried putting it
under [radio] [radio-secure] and its own separate [stream]
section but i never see the ices application execute. Do i
need to add a separate extension and make a call between
them? How would i debug this?
thanks
confused dave
App_rpt-users mailing list
App_rpt-users@ohnosec.org
ohnosec.org
Jim – you helped me set up streaming on my server. It uses the (undocumented?) “outstreamcmd“ command
In my case, using the ezstream program and SHOUTCAST rather than ICECAST (but must be similar)
In rpt.conf
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8.0 --bitwidth 16 - - | /usr/bin/ezstream -c /etc/ezstream.xml
The xml file looks like this (minus the actual IP and password of course)
http://IP.IP.IP.IP:PORT/Node27021.mp3
XXXXXXXX
MP3
stdin
<stream_once>1</stream_once>
W4BRM/R, Allstar Link Node 27021
Amateur Radio – Allstar Link Network
Live Monitor of Allstar Link Network Node 27021 (W4BRM)
16
1
8000
1
···
============================================================
73
Ken
From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Jim Duuuude
Sent: Friday, May 11, 2012 9:35 PM
To: dave_k_420@yahoo.com; app_rpt mailing list
Subject: Re: [App_rpt-users] ices plugin
not even close…
There is a way to do it, it does work, it is documented somewhere, I dont remember a thing about it (intentionally ).
If someone who is into this stuff happens to remember where it’s documented, please help this dude.
Thanks
JIM WB6NIL
Date: Fri, 11 May 2012 18:22:29 -0700
From: dave_k_420@yahoo.com
To: App_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] ices pluginBUMP to this
i am tring to stream the audio from my node to a icecast server via the ICES module packaged with asterisk. This is all I got to go on.
http://www.voip-info.org/wiki/view/Asterisk+cmd+Ices
http://www.voip-info.org/wiki/index.php?page_id=991&comments_page=1The example shows how its done with a confrence call.
; Stream
exten => 10
2,1,Answer
exten => 102,n,Wait(1)
exten => 102,n,Ices(/some/where/asterisk-ices.xml)
exten => 102,n,HangUpi assumed that I could replace 102 with my node number - but it does not work. I have the icecast server running and waiting for a connection from ices. but it never ‘picks up’ . Also create the stream.call file - seems to not work either. I gotta get some rest and will take alook at it again tomorrow - but if anyone has something working or knows a better way to approach this i would like to hear from you
dave— On Thu, 5/10/12, dave k dave_k_420@yahoo.com wrote:
From: dave k dave_k_420@yahoo.com
Subject: ices plugin
To: App_rpt-users@ohnosec.org
Date: Thursday, May 10, 2012, 2:24 AM
Im trying to activate the ICES
icecast output module as a always on link to my freestar
node. I’m a asterisk newb, so i need a little help.
I believe I need to add
exten => 28525,n,Ices(/etc/asterisk/asterisk-ices.conf)
to my extensions.conf. Is this correct? I tried putting it
under [radio] [radio-secure] and its own separate [stream]
section but i never see the ices application execute. Do i
need to add a separate extension and make a call between
them? How would i debug this?
thanks
confused dave
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
oh yeah… right… and it also seems to me there was a source tarball of the lame
and ezstream stuff that works with ACID somewhere if I remember…
Jim
···
From: ke2n@cs.com
To: telesistant@hotmail.com; dave_k_420@yahoo.com; app_rpt-users@ohnosec.org
Subject: RE: [App_rpt-users] ices plugin
Date: Sat, 12 May 2012 07:56:35 -0400
Jim – you helped me set up streaming on my server. It uses the (undocumented?) “outstreamcmd“ command
In my case, using the ezstream program and SHOUTCAST rather than ICECAST (but must be similar)
In rpt.conf
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8.0 --bitwidth 16 - - | /usr/bin/ezstream -c /etc/ezstream.xml
The xml file looks like this (minus the actual IP and password of course)
<url>http://IP.IP.IP.IP:PORT/Node27021.mp3</url>
<sourcepassword>XXXXXXXX</sourcepassword>
<!--
Since the reencoding feature is enabled below, <format /> sets the
output format of the stream.
-->
<format>MP3</format>
<filename>stdin</filename>
<stream_once>1</stream_once>
<!--
The following settings are used to describe your stream to the server.
It's up to you to make sure that the bitrate/samplerate/channels
information matches up with your lame encoder settings below.
-->
<svrinfoname>W4BRM/R, Allstar Link Node 27021</svrinfoname>
<svrinfourl>http://allstarlink.org</svrinfourl>
<svrinfogenre>Amateur Radio -- Allstar Link Network</svrinfogenre>
<svrinfodescription>Live Monitor of Allstar Link Network Node 27021 (W4BRM)</svrinfodescription>
<svrinfobitrate>16</svrinfobitrate>
<svrinfochannels>1</svrinfochannels>
<svrinfosamplerate>8000</svrinfosamplerate>
<!--
Prohibit the server to advertise the stream on a public YP directory:
-->
<svrinfopublic>1</svrinfopublic>
============================================================
73
Ken
From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Jim Duuuude
Sent: Friday, May 11, 2012 9:35 PM
To: dave_k_420@yahoo.com; app_rpt mailing list
Subject: Re: [App_rpt-users] ices plugin
not even close…
There is a way to do it, it does work, it is documented somewhere, I dont remember a thing about it (intentionally ).
If someone who is into this stuff happens to remember where it’s documented, please help this dude.
Thanks
JIM WB6NIL
Date: Fri, 11 May 2012 18:22:29 -0700
From: dave_k_420@yahoo.com
To: App_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] ices pluginBUMP to this
i am tring to stream the audio from my node to a icecast server via the ICES module packaged with asterisk. This is all I got to go on.
http://www.voip-info.org/wiki/view/Asterisk+cmd+Ices
http://www.voip-info.org/wiki/index.php?page_id=991&comments_page=1The example shows how its done with a confrence call.
; Stream
exten => 10
2,1,Answer
exten => 102,n,Wait(1)
exten => 102,n,Ices(/some/where/asterisk-ices.xml)
exten => 102,n,HangUpi assumed that I could replace 102 with my node number - but it does not work. I have the icecast server running and waiting for a connection from ices. but it never ‘picks up’ . Also create the stream.call file - seems to not work either. I gotta get some rest and will take alook at it again tomorrow - but if anyone has something working or knows a better way to approach this i would like to hear from you
dave— On Thu, 5/10/12, dave k dave_k_420@yahoo.com wrote:
From: dave k dave_k_420@yahoo.com
Subject: ices plugin
To: App_rpt-users@ohnosec.org
Date: Thursday, May 10, 2012, 2:24 AM
Im trying to activate the ICES
icecast output module as a always on link to my freestar
node. I’m a asterisk newb, so i need a little help.
I believe I need to add
exten => 28525,n,Ices(/etc/asterisk/asterisk-ices.conf)
to my extensions.conf. Is this correct? I tried putting it
under [radio] [radio-secure] and its own separate [stream]
section but i never see the ices application execute. Do i
need to add a separate extension and make a call between
them? How would i debug this?
thanks
confused dave
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
That did the trick however astdn and astres will not take ezstream down,
and asterisk will fail to come back up until its killed. no biggie. Im
glad its working. Thanks!
···
On 5/12/2012 10:19 AM, Jim Duuuude wrote:
oh yeah.. right... and it also seems to me there was a source tarball of
the lame
and ezstream stuff that works with ACID somewhere if I remember...Jim
------------------------------------------------------------------------
From: ke2n@cs.com
To: telesistant@hotmail.com; dave_k_420@yahoo.com; app_rpt-users@ohnosec.org
Subject: RE: [App_rpt-users] ices plugin
Date: Sat, 12 May 2012 07:56:35 -0400Jim � you helped me set up streaming on my server. It uses the
(undocumented?) �outstreamcmd� commandIn my case, using the ezstream program and SHOUTCAST rather than ICECAST
(but must be similar)In rpt.conf
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8.0
--bitwidth 16 - - | /usr/bin/ezstream -c /etc/ezstream.xmlThe xml file looks like this (minus the actual IP and password of course)
<ezstream>
<url>http://IP.IP.IP.IP:PORT/Node27021.mp3</url>
<sourcepassword>XXXXXXXX</sourcepassword>
<!--
Since the reencoding feature is enabled below, <format /> sets the
output format of the stream.
-->
<format>MP3</format>
<filename>stdin</filename>
<stream_once>1</stream_once>
<!--
The following settings are used to describe your stream to the server.
It's up to you to make sure that the bitrate/samplerate/channels
information matches up with your lame encoder settings below.
-->
<svrinfoname>W4BRM/R, Allstar Link Node 27021</svrinfoname>
<svrinfourl>http://allstarlink.org</svrinfourl>
<svrinfogenre>Amateur Radio -- Allstar Link Network</svrinfogenre>
<svrinfodescription>Live Monitor of Allstar Link Network Node 27021
(W4BRM)</svrinfodescription><svrinfobitrate>16</svrinfobitrate>
<svrinfochannels>1</svrinfochannels>
<svrinfosamplerate>8000</svrinfosamplerate>
<!--
Prohibit the server to advertise the stream on a public YP directory:
-->
<svrinfopublic>1</svrinfopublic>
</ezstream>
============================================================
73
Ken
*From:*app_rpt-users-bounces@ohnosec.org
[mailto:app_rpt-users-bounces@ohnosec.org] *On Behalf Of *Jim Duuuude
*Sent:* Friday, May 11, 2012 9:35 PM
*To:* dave_k_420@yahoo.com; app_rpt mailing list
*Subject:* Re: [App_rpt-users] ices pluginnot even close..
There is a way to do it, it does work, it *is* documented somewhere, I
dont remember a thing about it (intentionally ).
If someone who is into this stuff happens to remember where it's
documented, please help this dude.Thanks
JIM WB6NIL
Date: Fri, 11 May 2012 18:22:29 -0700
From: dave_k_420@yahoo.com <mailto:dave_k_420@yahoo.com>
To: App_rpt-users@ohnosec.org <mailto:App_rpt-users@ohnosec.org>
Subject: Re: [App_rpt-users] ices pluginBUMP to this
i am tring to stream the audio from my node to a icecast server via the
ICES module packaged with asterisk. This is all I got to go on.
Asterisk cmd Ices - VoIP-Info
http://www.voip-info.org/wiki/index.php?page_id=991&comments_page=1<http://www.voip-info.org/wiki/index.php?page_id=991&comments_page=1>
The example shows how its done with a confrence call.
; Stream
exten => 10
2,1,Answer
exten => 102,n,Wait(1)
exten => 102,n,Ices(/some/where/asterisk-ices.xml)
exten => 102,n,HangUpi assumed that I could replace 102 with my node number - but it does
not work. I have the icecast server running and waiting for a connection
from ices. but it never 'picks up' . Also create the stream.call file -
seems to not work either. I gotta get some rest and will take alook at
it again tomorrow - but if anyone has something working or knows a
better way to approach this i would like to hear from youdave
--- On Thu, 5/10/12, dave k <dave_k_420@yahoo.com > <mailto:dave_k_420@yahoo.com>> wrote:
> From: dave k <dave_k_420@yahoo.com <mailto:dave_k_420@yahoo.com>>
> Subject: ices plugin
> To: App_rpt-users@ohnosec.org <mailto:App_rpt-users@ohnosec.org>
> Date: Thursday, May 10, 2012, 2:24 AM
> Im trying to activate the ICES
> icecast output module as a always on link to my freestar
> node. I'm a asterisk newb, so i need a little help.
> I believe I need to add
> exten => 28525,n,Ices(/etc/asterisk/asterisk-ices.conf)
> to my extensions.conf. Is this correct? I tried putting it
> under [radio] [radio-secure] and its own separate [stream]
> section but i never see the ices application execute. Do i
> need to add a separate extension and make a call between
> them? How would i debug this?
> thanks
> confused dave
>
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org <mailto:App_rpt-users@ohnosec.org>
ohnosec.org