Actions

Difference between revisions of "Broadcastify-Calls"

From The RadioReference Wiki

Line 54: Line 54:
 
You will need an '''API Key''' and '''System ID''' assigned by the administrator before you can get started.   
 
You will need an '''API Key''' and '''System ID''' assigned by the administrator before you can get started.   
  
1)  Download the [https://s.broadcastify.com/bcfy_tr_v1.tar.gz Broadcastify Trunked Recorder Scripts] to your  
+
# Download the [https://s.broadcastify.com/bcfy_tr_v1.tar.gz Broadcastify Trunked Recorder Scripts] to your Trunk Recorder folder and untar: <br><pre>tar zxvf bcfy_tr_v1.tar.gz</pre>
Trunk Recorder folder and untar
+
# This will create a directory called "bcfy" in your trunk recorder directory
+
# Change into that directory and edit the bcfy-config.json file and specify the location of your ffmpeg binaries.  If you compiled ffmpeg using above instructions, then this should already be correct.  Enter your assigned API key in the apiKey section.  The deleteFiles option deletes files after they are uploaded to Broadcastify (1 for yes, 0 for no)
    tar zxvf bcfy_tr_v1.tar.gz
+
# Run the prereg.sh script with your assigned system IDs as the parameter to check and make all your prerequisites are met. (sh prereg.sh ##)
+
# If all looks good - add the uploadScript entry in your trunked recorder config system section with your assigned System ID as a parameter (##)<br><pre>"uploadScript": "bcfy/bcfy-upload.sh ##",</pre>
2)  This will create a directory called "bcfy" in your trunk recorder directory
+
# Set "hideUnknownTalkgroups": "false" to send the whole system up if you want
+
# Run trunked recorder and you should start seeing files being uploaded and success codes back  from the API server.
3)  Change into that directory and edit the bcfy-config.json file and specify the location of your  
+
# The check the status at https://www.broadcastify.com/calls/status/
ffmpeg binaries.  If you compiled ffmpeg using above instructions, then this should already  
 
be correct.  Enter your assigned API key in the apiKey section.  The deleteFiles option deletes
 
files after they are uploaded to Broadcastify (1 for yes, 0 for no)
 
 
4)  Run the prereg.sh script with your assigned system IDs as the parameter to check and make all  
 
your prerequisites are met.
 
 
    sh prereg.sh ##
 
 
5) If all looks good - add the uploadScript entry in your trunked recorder config system section  
 
with your assigned System ID as a parameter (##)
 
 
    "uploadScript": "bcfy/bcfy-upload.sh ##",  
 
 
6) Set "hideUnknownTalkgroups": "false" to send the whole system up if you want
 
 
7) Run trunked recorder and you should start seeing files being uploaded and success codes back  
 
  from the API server.
 
 
The check the status at https://www.broadcastify.com/calls/status/
 

Revision as of 15:08, 7 February 2020

Broadcastify Calls is a high capacity service that ingests radio system calls currently in alpha infrastructure testing

Features includes

  • 90 day retention
  • duplicate call handling
  • tight integration with the RadioReference database
  • call and source detailed statistics
  • alerts and notifications when calls/events occur

Supported Sources

  • Trunk Recorder (Trunked P25, Conventional P25, Conventional FM Analog)

Source System Prerequisites

The following packages must be installed on the source system

  • ntp
  • ntpstat
  • jq
sudo apt-get install ntp ntpstat jq

The following prerequisites must be met:

  • FFMpeg installed and configured for AAC-HE (See Below)
  • NTP must be installed and synced to a reference time source
  • JQ utility for JSON processing

Compile and Install FFMpeg with AAC-HE Support

To install on Ubuntu 18.04 add bionic universe and multiverse package repos then follow the instructions for Ubuntu 16.04

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic universe"
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic multiverse"
sudo apt-get update
sudo apt-get upgrade

Install for Ubuntu 16.04. This is a minimal install, check out the FFMPEG docs if you want more libraries enabled.

sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
  libtool pkg-config texinfo zlib1g-dev yasm libfdk-aac-dev
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
./configure \
  --pkg-config-flags="--static" \
  --bindir="$HOME/bin" \
  --enable-gpl \
  --enable-libass \
  --enable-libfdk-aac \
  --enable-nonfree
make
sudo make install

Source System Setup Instructions

You will need an API Key and System ID assigned by the administrator before you can get started.

  1. Download the Broadcastify Trunked Recorder Scripts to your Trunk Recorder folder and untar:
    tar zxvf bcfy_tr_v1.tar.gz
  2. This will create a directory called "bcfy" in your trunk recorder directory
  3. Change into that directory and edit the bcfy-config.json file and specify the location of your ffmpeg binaries. If you compiled ffmpeg using above instructions, then this should already be correct. Enter your assigned API key in the apiKey section. The deleteFiles option deletes files after they are uploaded to Broadcastify (1 for yes, 0 for no)
  4. Run the prereg.sh script with your assigned system IDs as the parameter to check and make all your prerequisites are met. (sh prereg.sh ##)
  5. If all looks good - add the uploadScript entry in your trunked recorder config system section with your assigned System ID as a parameter (##)
    "uploadScript": "bcfy/bcfy-upload.sh ##",
  6. Set "hideUnknownTalkgroups": "false" to send the whole system up if you want
  7. Run trunked recorder and you should start seeing files being uploaded and success codes back from the API server.
  8. The check the status at https://www.broadcastify.com/calls/status/