Re: [App_rpt-users] DIAL with Broadcastify etc via ezstream
Mark, That's great. I'm glad the newer version of ezstream available to DIAL via ap-get work well. I have not touched Linux streaming since I stopped hosting a icecast server for a radio station on C Band subcarrier. I'll edit this into a test file and make sure it can be found for someone in the future. 73, Steve N4IRS On 10/08/2015 01:42 PM, Mark Johnston wrote:
Not sure if you saw my post about that a while back, using ACID it was just much easier to install now, had to use a really old version of ezstream before with the acid setup. Now it works from the normal install that is available.
apt-get install ezstream lame
I enabled this: load => app_chanspy.so ; Listen to the audio of an active channel not sure if that mattered though, seemed like it would be important...
add this below the first section of the rpt.conf for the node you want to broadcast.
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream1001.xml
;ezstream1001.xml
<ezstream>
<url>http://audio3.broadcastify.com:80/mountpoint-provided-by-broadcastify</url>
<sourcepassword>feed-specific-password-not-same-as-website-login</sourcepassword>
<format>MP3</format>
<filename>stdin</filename>
<stream_once>1</stream_once>
<reconnect_tries>0</reconnect_tries>
<svrinfoname>Description</svrinfoname>
<svrinfourl>http://www.radioreference.com/</svrinfourl>
<svrinfogenre>Amateur Radio</svrinfogenre>
<svrinfodescription>Description</svrinfodescription>
<svrinfobitrate>16</svrinfobitrate>
<svrinfochannels>1</svrinfochannels>
<svrinfosamplerate>22050</svrinfosamplerate>
<svrinfopublic>1</svrinfopublic>
</ezstream>
"Got Root?"
How many software engineers does it take to change a light bulb? *None. It's a hardware problem.*
Unix is user friendly. It's just very particular about who it's friends are. WINDOWS: Will Install Needless Data On Whole System MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers.
A ntennas P oorly P laced L acks E ngineering
The best way to accelerate a computer running Windows is at 9.81 m/s².
/*_/"I get paid to support Windows, I use Linux to get work done."/_*/
On Thu, Oct 8, 2015 at 10:33 AM, Steve Zingman <szingman@msgstor.com <mailto:szingman@msgstor.com>> wrote:
Good to hear. It might be worth documenting what needs to be installed and any tweaks that need to be done.
73, Steve N4IRS
On 10/08/2015 01:30 PM, Mark Johnston wrote:
it's streaming, I even did a reboot and it's live now - not sure what the problem was, maybe something on their end...
http://www.broadcastify.com/listen/feed/21348/web
"Got Root?"
How many software engineers does it take to change a light bulb? *None. It's a hardware problem.*
Unix is user friendly. It's just very particular about who it's friends are. WINDOWS: Will Install Needless Data On Whole System MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers.
A ntennas P oorly P laced L acks E ngineering
The best way to accelerate a computer running Windows is at 9.81 m/s².
/*_/"I get paid to support Windows, I use Linux to get work done."/_*/
On Thu, Oct 8, 2015 at 10:20 AM, Steve Zingman <szingman@msgstor.com <mailto:szingman@msgstor.com>> wrote:
Working as in streaming from the node or sending a audio file?
On 10/08/2015 01:19 PM, Mark Johnston wrote:
it gave me a login error
ezstream: Connection to http://audio3.broadcastify.com:80/wcms5pn74trz failed: Login failed
ezstream: Exiting ...
suddenly started working - not sure how/why though -
"Got Root?"
How many software engineers does it take to change a light bulb? *None. It's a hardware problem.*
Unix is user friendly. It's just very particular about who it's friends are. WINDOWS: Will Install Needless Data On Whole System MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers.
A ntennas P oorly P laced L acks E ngineering
The best way to accelerate a computer running Windows is at 9.81 m/s².
/*_/"I get paid to support Windows, I use Linux to get work done."/_*/
On Thu, Oct 8, 2015 at 10:06 AM, Steve Zingman <szingman@msgstor.com <mailto:szingman@msgstor.com>> wrote:
can you send a audio file to broadcastify with the command line below?
On 10/08/2015 01:00 PM, Mark Johnston wrote:
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream1001.xml
This just started appearing
[Oct 8 09:35:48] ERROR[695] app_rpt.c: pipe() failed!
[Oct 8 09:35:50] ERROR[695] app_rpt.c: pipe() failed!
[Oct 8 09:35:52] ERROR[695] app_rpt.c: pipe() failed!
[Oct 8 09:35:54] ERROR[695] app_rpt.c: pipe() failed!
[Oct 8 09:35:56] ERROR[695] app_rpt.c: pipe() failed!
[Oct 8 09:35:58] ERROR[695] app_rpt.c: pipe() failed!
"Got Root?"
How many software engineers does it take to change a light bulb? *None. It's a hardware problem.*
Unix is user friendly. It's just very particular about who it's friends are. WINDOWS: Will Install Needless Data On Whole System MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers.
A ntennas P oorly P laced L acks E ngineering
The best way to accelerate a computer running Windows is at 9.81 m/s².
/*_/"I get paid to support Windows, I use Linux to get work done."/_*/
On Thu, Oct 8, 2015 at 9:55 AM, Steve Zingman <szingman@msgstor.com <mailto:szingman@msgstor.com>> wrote:
Mark, Your log is showing problems with sip and possibly a sound fob. I don't think you need app_ices
Please post you outstreamcmd in rpt.conf
you may want to disable the sip changes while troubleshooting streaming.
73, Steve N4IRS
On 10/08/2015 12:13 PM, Mark Johnston wrote:
Anyone try setting this up yet? Used to use this with ACID just fine Installed ezstream, and Lame -
shows it's running
1124 ? S 0:00 /bin/sh -c /usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream1001.xml
I enabled this module, thinking thats what it needed
load => app_ices.so ; Encode and Stream via icecast and ices
;modules.conf
autoload=no
; Applications
noload => app_adsiprog.so ;Asterisk ADSI Programming Application
noload => app_alarmreceiver.so ;Alarm Receiver for Asterisk
noload => app_amd.so ;Answering Machine Detection Application
load => app_authenticate.so ; Authentication Application
noload => app_cdr.so ;Tell Asterisk to not maintain a CDR for
noload => app_chanisavail.so ;Check channel availability
noload => app_channelredirect.so ;Channel Redirect
load => app_chanspy.so ;Listen to the audio of an active channel
noload => app_controlplayback.so ;Control Playback Application
noload => app_dahdibarge.so ;Barge in on channel application
noload => app_dahdiras.so ;DAHDI RAS Application
noload => app_dahdiscan.so ;Scan Zap channels application
noload => app_db.so ;Database Access Functions
load => app_dial.so ;Dialing Application
noload => app_dictate.so ;Virtual Dictation Machine
noload => app_directed_pickup.so ;Directed Call Pickup Application
noload => app_directory.so ;Extension Directory
noload => app_disa.so ;DISA (Direct Inward System Access) Appli
noload => app_dumpchan.so ;Dump Info About The Calling Channel
noload => app_echo.so ;Simple Echo Application
load => app_exec.so ;Executes dialplan applications
noload => app_externalivr.so ;External IVR Interface Application
noload => app_festival.so ;Simple Festival Interface
noload => app_flash.so ;Flash channel application
noload => app_followme.so ;Find-Me/Follow-Me Application
noload => app_forkcdr.so ;Fork The CDR into 2 separate entities
noload => app_getcpeid.so ;Get ADSI CPE ID
noload => app_gps.so ;GPS interface module
noload => app_hasnewvoicemail.so ;Indicator for whether a voice mailbox ha
load => app_ices.so ;Encode and Stream via icecast and ices
noload => app_image.so ;Image Transmission Application
noload => app_lookupblacklist.so ;Look up Caller*ID name/number from black
noload => app_lookupcidname.so ;Look up CallerID Name from local databas
load => app_macro.so ;Extension Macros
noload => app_meetme.so ;MeetMe conference bridge
noload => app_milliwatt.so ;Digital Milliwatt (mu-law) Test Applicat
noload => app_mixmonitor.so ;Mixed Audio Monitoring Application
noload => app_morsecode.so ;Morse code
noload => app_mp3.so ;Silly MP3 Application
noload => app_nbscat.so ;Silly NBS Stream Application
noload => app_page.so ;Page Multiple Phones
noload => app_parkandannounce.so ;Call Parking and Announce Application
load => app_playback.so ;Sound File Playback Application
noload => app_privacy.so ;Require phone number to be entered, if n
noload => app_queue.so ;True Call Queueing
noload => app_radbridge.so ;Radio Bridging interface module
noload => app_random.so ;Random goto
noload => app_readfile.so ;Stores output of file into a variable
noload => app_read.so ;Read Variable Application
noload => app_realtime.so ;Realtime Data Lookup/Rewrite
noload => app_record.so ;Trivial Record Application
load => app_rpt.so ;Radio Repeater/Remote Base Application
noload => app_sayunixtime.so ;Say time
load => app_senddtmf.so ;Send DTMF digits Application
noload => app_sendtext.so ;Send Text Applications
noload => app_setcallerid.so ;Set CallerID Application
noload => app_setcdruserfield.so ;CDR user field apps
noload => app_settransfercapability.so ;Set ISDN Transfer Capability
noload => app_sms.so ;SMS/PSTN handler
noload => app_softhangup.so ;Hangs up the requested channel
noload => app_speech_utils.so ;Dialplan Speech Applications
noload => app_stack.so ;Stack Routines
load => app_system.so ;Generic System() application
noload => app_talkdetect.so ;Playback with Talk Detection
noload => app_test.so ;Interface Test Application
load => app_transfer.so ;Transfer
noload => app_url.so ;Send URL Applications
noload => app_userevent.so ;Custom User Event Application
noload => app_verbose.so ;Send verbose output
noload => app_voicemail.so ;Comedian Mail (Voicemail System)
noload => app_waitforring.so ;Waits until first ring after time
noload => app_waitforsilence.so ;Wait For Silence
noload => app_while.so ;While Loops and Conditional Execution
noload => app_zapateller.so ;Block Telemarketers with Special Informa
; CDR
noload => cdr_csv.so ;Comma Separated Values CDR Backend
noload => cdr_custom.so ;Customizable Comma Separated Values CDR
noload => cdr_manager.so ;Asterisk Manager Interface CDR Backend
; Channels
noload => chan_agent.so ;Agent Proxy Channel
noload => chan_alsa.so ;ALSA Console Channel Driver
noload => chan_beagle.so ;Beagleboard Radio Interface Channel Driver
load => chan_dahdi.so ;DAHDI Telephony
noload => chan_echolink.so ;echolink channel driver
noload => chan_features.so ;Feature Proxy Channel
noload => chan_gtalk.so ;Gtalk Channel Driver
load => chan_iax2.so ;Inter Asterisk eXchange (Ver 2)
load => chan_local.so ;Local Proxy Channel (Note: used internal
noload => chan_oss.so ;
noload => chan_phone.so ;
load => chan_simpleusb.so ;Simple USB Radio Interface Channel Drive
load => chan_sip.so ;Session Initiation Protocol (SIP)
noload => chan_tlb.so ;TheLinkBox channel driver
load => chan_usbradio.so ;USB Console Channel Driver
noload => chan_usrp.so ;USRP Channel Module
noload => chan_voter.so ;radio Voter channel driver
; Codecs
; CODEC AUDIO QUALITY BANDWIDTH (including IP and Ethernet headers)
; ULAW best 87 kilobits per second (kbps)
; ADPCM good 55 kbps
; GSM mediocre 36 kbps
; g726aal2
; ilbc
load => codec_adpcm.so ;Adaptive Differential PCM Coder/Decoder
load => codec_alaw.so ;A-law Coder/Decoder
load => codec_a_mu.so ;A-law and Mulaw direct Coder/Decoder
noload => codec_dahdi.so ;Generic DAHDI Transcoder Codec Translato
load => codec_g726.so ;ITU G.726-32kbps G726 Transcoder
load => codec_gsm.so ;GSM Coder/Decoder
load => codec_ulaw.so ;mu-Law Coder/Decoder
noload => codec_ilbc.so ;http://en.wikipedia.org/wiki/Internet_Low_Bitrate_Codec
; Formats
load => format_g723.so ;G.723.1 Simple Timestamp File Format
load => format_g726.so ;Raw G.726 (16/24/32/40kbps) data
load => format_g729.so ;Raw G729 data
load => format_gsm.so ;Raw GSM data
load => format_h263.so ;Raw H.263 data
load => format_h264.so ;Raw H.264 data
load => format_ilbc.so ;Raw iLBC data
noload => format_jpeg.so ;JPEG (Joint Picture Experts Group) Image
load => format_pcm.so ;Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.
load => format_sln.so ;Raw Signed Linear Audio support (SLN)
load => format_vox.so ;Dialogic VOX (ADPCM) File Format
load => format_wav_gsm.so ;Microsoft WAV format (Proprietary GSM)
load => format_wav.so ;Microsoft WAV format (8000Hz Signed Line
; Functions
load => func_base64.so ;base64 encode/decode dialplan functions
load => func_callerid.so ;Caller ID related dialplan function
load => func_cdr.so ;CDR dialplan function
load => func_channel.so ;Channel information dialplan function
load => func_curl.so ;Load external URL
load => func_cut.so ;Cut out information from a string
load => func_db.so ;Database (astdb) related dialplan functi
load => func_enum.so ;ENUM related dialplan functions
load => func_env.so ;Environment/filesystem dialplan function
load => func_global.so ;Global variable dialplan functions
load => func_groupcount.so ;Channel group dialplan functions
load => func_language.so ;Channel language dialplan function
load => func_logic.so ;Logical dialplan functions
load => func_math.so ;Mathematical dialplan function
load => func_md5.so ;MD5 digest dialplan functions
load => func_moh.so ;Music-on-hold dialplan function
load => func_rand.so ;Random number dialplan function
load => func_realtime.so ;Read/Write values from a RealTime reposi
noload => func_sha1.so ;SHA-1 computation dialplan function
noload => func_strings.so ;String handling dialplan functions
noload => func_timeout.so ;Channel timeout dialplan functions
noload => func_uri.so ;URI encode/decode dialplan functions
; PBX
noload => pbx_ael.so ;Asterisk Extension Language Compiler
load => pbx_config.so ;Text Extension Configuration
noload => pbx_dundi.so ;Distributed Universal Number Discovery (
noload => pbx_loopback.so ;Loopback Switch
noload => pbx_realtime.so ;Realtime Switch
noload => pbx_spool.so ;Outgoing Spool Support
; Resources
load => res_adsi.so ;ADSI Resource
noload => res_agi.so ;Asterisk Gateway Interface (AGI)
noload => res_clioriginate.so ;Call origination from the CLI
noload => res_convert.so ;File format conversion CLI command
noload => res_crypto.so ;Cryptographic Digital Signatures
load => res_features.so ;Call Features Resource
load => res_indications.so ;Indications Resource
noload => res_jabber.so ;AJI - Asterisk Jabber Interface
noload => res_monitor.so ;Call Monitoring Resource
noload => res_musiconhold.so ;Music On Hold Resource
noload => res_smdi.so ;Simplified Message Desk Interface (SMDI)
noload => res_snmp.so ;SNMP [Sub]Agent for Asterisk
noload => res_speech.so ;Generic Speech Recognition API
[global]
/var/log/asterisk/messages;
[Oct 8 08:44:24] NOTICE[1278] cdr.c: CDR simple logging enabled.
[Oct 8 08:44:24] NOTICE[1278] indications.c: Removed default indication country 'us'
[Oct 8 08:44:24] WARNING[1278] chan_dahdi.c: Ignoring switchtype
[Oct 8 08:44:24] WARNING[1278] chan_dahdi.c: Ignoring signalling
[Oct 8 08:44:24] WARNING[1278] chan_dahdi.c: Ignoring rxwink
[Oct 8 08:44:24] NOTICE[1278] chan_iax2.c: Ignoring bindport on reload
[Oct 8 08:44:24] NOTICE[1278] chan_iax2.c: Ignoring bindaddr on reload
[Oct 8 08:44:25] WARNING[1278] acl.c: is not a valid IP
[Oct 8 08:44:25] WARNING[714] chan_sip.c: insecure=very at line 31 is deprecated; use insecure=port,invite instead
[Oct 8 08:47:46] NOTICE[683] cdr.c: CDR simple logging enabled.
[Oct 8 08:47:46] NOTICE[683] loader.c: 56 modules will be loaded.
[Oct 8 08:47:46] WARNING[683] acl.c: is not a valid IP
[Oct 8 08:47:46] WARNING[683] acl.c: Unable to lookup 'callcentric.com <http://callcentric.com>'
[Oct 8 08:47:46] WARNING[714] chan_sip.c: No such host: callcentric.com <http://callcentric.com>
[Oct 8 08:47:46] WARNING[714] chan_sip.c: Probably a DNS error for registration to 17772150287101@callcentric.com <mailto:17772150287101@callcentric.com>, trying REGISTER again (after 20 seconds)
[Oct 8 08:47:46] NOTICE[699] app_rpt.c: Normal Repeater Init 29626
[Oct 8 08:47:46] NOTICE[699] app_rpt.c: Normal Repeater Init 29627
[Oct 8 08:47:46] NOTICE[699] app_rpt.c: Normal Repeater Init 1001
[Oct 8 08:47:47] WARNING[722] chan_usbradio.c: Loaded parameters from usbradio_tune_usb1001.conf for device usb1001 .
[Oct 8 08:47:47] WARNING[720] chan_usbradio.c: Possibly stuck USB read channel. [usb1001]
[Oct 8 08:47:47] WARNING[720] chan_usbradio.c: Nope, USB read channel [usb1001] wasn't stuck after all.
[Oct 8 08:47:47] NOTICE[719] chan_simpleusb.c: Assigned USB device 5-2:1.0 to simpleusb channel usb29626
[Oct 8 08:47:47] WARNING[719] chan_simpleusb.c: Loaded parameters from simpleusb_tune_usb29626.conf for device usb29626 .
[Oct 8 08:47:47] NOTICE[721] chan_usbradio.c: Assigned USB device 5-2:1.0 to usbradio channel usb29627
[Oct 8 08:47:47] WARNING[721] chan_usbradio.c: Loaded parameters from usbradio_tune_usb29627.conf for device usb29627 .
[Oct 8 08:47:47] WARNING[721] chan_usbradio.c: Unable to re-open DSP device 2 (usb29627): Device or resource busy
[Oct 8 08:48:06] NOTICE[714] chan_sip.c: -- Registration for '17772150287101@callcentric.com <mailto:17772150287101@callcentric.com>' timed out, trying again (Attempt #1)
[Oct 8 08:59:15] NOTICE[673] cdr.c: CDR simple logging enabled.
[Oct 8 08:59:15] NOTICE[673] loader.c: 57 modules will be loaded.
[Oct 8 08:59:15] WARNING[673] acl.c: is not a valid IP
[Oct 8 08:59:15] WARNING[673] acl.c: Unable to lookup 'callcentric.com <http://callcentric.com>'
[Oct 8 08:59:15] WARNING[711] chan_sip.c: No such host: callcentric.com <http://callcentric.com>
[Oct 8 08:59:15] WARNING[711] chan_sip.c: Probably a DNS error for registration to 17772150287101@callcentric.com <mailto:17772150287101@callcentric.com>, trying REGISTER again (after 20 seconds)
[Oct 8 08:59:15] NOTICE[695] app_rpt.c: Normal Repeater Init 29626
[Oct 8 08:59:15] NOTICE[695] app_rpt.c: Normal Repeater Init 29627
[Oct 8 08:59:15] NOTICE[695] app_rpt.c: Normal Repeater Init 1001
[Oct 8 08:59:15] WARNING[718] chan_usbradio.c: Loaded parameters from usbradio_tune_usb29627.conf for device usb29627 .
[Oct 8 08:59:15] WARNING[715] chan_usbradio.c: Possibly stuck USB read channel. [usb29627]
[Oct 8 08:59:16] WARNING[715] chan_usbradio.c: Nope, USB read channel [usb29627] wasn't stuck after all.
[Oct 8 08:59:16] NOTICE[719] chan_usbradio.c: Assigned USB device 5-2:1.0 to usbradio channel usb1001
[Oct 8 08:59:16] NOTICE[716] chan_simpleusb.c: Assigned USB device 5-2:1.0 to simpleusb channel usb29626
[Oct 8 08:59:16] WARNING[716] chan_simpleusb.c: Loaded parameters from simpleusb_tune_usb29626.conf for device usb29626 .
[Oct 8 08:59:16] WARNING[719] chan_usbradio.c: Loaded parameters from usbradio_tune_usb1001.conf for device usb1001 .
[Oct 8 08:59:16] WARNING[719] chan_usbradio.c: Unable to re-open DSP device 2 (usb1001): Device or resource busy
[Oct 8 08:59:35] NOTICE[711] chan_sip.c: -- Registration for '17772150287101@callcentric.com <mailto:17772150287101@callcentric.com>' timed out, trying again (Attempt #1)
- Is there something else to enable or a better app to use, for feeding to broadcastify?
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org <mailto:App_rpt-users@ohnosec.org> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visithttp://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- "Anything is possible if you don't know what you are talking about." 1st Law of Logic
-- "Anything is possible if you don't know what you are talking about." 1st Law of Logic
-- "Anything is possible if you don't know what you are talking about." 1st Law of Logic
-- "Anything is possible if you don't know what you are talking about." 1st Law of Logic
-- "Anything is possible if you don't know what you are talking about." 1st Law of Logic
participants (1)
-
Steve Zingman