Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Samples #320

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions configs/samples/beagle.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[general]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are no general settings, there should be a comment saying there are none but this section name is reserved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know the beagle board. Someone other than me will have to resolve this.


[1]
carrierfrom = hwinvert
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these settings need to be documented as to what all the possible options are and what they mean.
Same for all files.
Section names also need to be explained.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know the beagle board. Someone other than me will have to resolve this.

ctcssfrom = hwinvert
invertptt = 0
duplex = 1
rxondelay = 0
eeprom = 0

[2]
carrierfrom = hwinvert
ctcssfrom = hwinvert
invertptt = 0
duplex = 1
rxondelay = 0
eeprom = 0
42 changes: 42 additions & 0 deletions configs/samples/echolink.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[el0]
call = Your Echolink callsign ; Change this!
pwd = Your Echolink password ; Change this!
name = Yout name ; Change this!
qth = Your Location ; Change this!
email = Your email address ; Change this!
node = Your Allstar node number ; Change this!
; Data for EchoLink Status Page
lat = 0.0 ; Latitude in decimal degrees
lon = 0.0 ; Longitude in decimal degrees
freq = 0.0 ; not mandatory Frequency in MHz
tone = 0.0 ; not mandatory CTCSS Tone (0 for none)
power = 0 ; 0=0W, 1=1W, 2=4W, 3=9W, 4=16W, 5=25W, 6=36W, 7=49W, 8=64W, 9=81W (Power in Watts)
height = 0 ; 0=10 1=20 2=40 3=80 4=160 5=320 6=640 7=1280 8=2560 9=5120 (AMSL in Feet)
gain = 0 ; Gain in db (0-9)
dir = 0 ; 0=omni 1=45deg 2=90deg 3=135deg 4=180deg 5=225deg 6=270deg 7=315deg 8=360deg (Direction)

maxstns = 20 ; Max Stations

rtcptimeout = 10 ; Max number of missed heartbeats from EL
recfile = /tmp/echolink_recorded.gsm ;
astnode = 1999 ; Change this!
context = radio-secure ; Default in code is echolink-in

; Max 4 servers
server1 = nasouth.echolink.org
server2 = naeast.echolink.org
server3 = servers.echolink.org
server4 = backup.echolink.org

; To deny w6xxx you would add the statement: deny = w6xxx
; To prohibit computer-based connections you would write: permit = *-*
; To allow access to only a select group of callsigns: permit = w6abc,w6def,...

; permit ; comma delimited list of callsign, type (-r)
; deny


; Remote text commands thru netcat:
; o.conip <IPaddress> (request a connect)
; o.dconip <IPaddress> (request a disconnect)
; o.rec (turn on/off recording)
31 changes: 31 additions & 0 deletions configs/samples/gps.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
; Configuration for app_gps
;
[general]
call = W1AW-1 ; callsign (including SSID) for APRS purposes
password = 12345 ; Password for APRS-IS server for above callsign
comment = AllStar Node 1999 ; Text to be displayed associated with this station
server = rotate.aprs2.net ; APRS-IS server to report information to
port = 14580 ; port on server to send data
interval = 600 ; Beacon interval in seconds
icon = r ; A CAR (default) Icon to be displayed for station on APRS display
comport = /dev/ttyS0 ; Serial port for GPS receiver (specify this only if using GPS receiver)
baudrate = 4800 ; Baud rate for GPS receiver (specify this only if using GPS receiver)
debug = n ; set this for debug output
freq = 145.000 ; Display Frequency of station
tone = 100.0 ; CTCSS tone of station (0.0 for none)
lat = 12.3456 ; Fixed (default) latitude in decimal degrees
lon = -123.4567 ; Fixed (default) longitude in decimal degrees
elev = 123.4 ; Elevation of Antenna in Meters (*NOT* HAAT)
power = 1 ; Power level
height = 2 ; Antenna Height in HAAT
gain = 3 ; Antenna Gain
dir = 0 ; Antenna Direction

; ehlert =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These settings are missing documentation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with this module. Need input from others.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KB4MDD Any ideas?

; interval =
; ttcomment =
; ttlat =
; ttlist =
; ttlon =
; ttoffset =
; ttsplit =
57 changes: 57 additions & 0 deletions configs/samples/voter.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[general]
;bindaddr = 10.10.10.1 ; specify a particular IP address to bind to (not generally used, defaults to bind to all interfaces)
port = 667 ; specifies the UDP port to use for incoming connections
buflen = 480 ; specifies the receive buffer length in milliseconds.
; This parameter should be set to the maximum expected network latency,
; plus a little padding (100 milliseconds of padding is a good amount).
; The default is 480 milliseconds, the minimum is 320 milliseconds.
; Buffer length may be specified on a per-stanza and per-client basis, see below.

password = secret_password ; password common to all clients (Main Menu Item 6 - Host Password, on RTCM/VOTER)
utos = y ; Turn on IP TOS for Ubiquiti (ToS is enable by default on the RTCM/VOTER) from the host TO the clients

;sanity = 0 ; disable sanity checking of clients (debug use only) defaults to 1 if not specifically set to 0
;puckit = 1 ; KLUDGE to try and fix random Garmin LVC-18 pucks that may or may not be 1 second off (defaults to 0 if not specified or set to 1)

[1999] ; define the 1999 instance stanza
Main = secret,transmit,master ; master,transmit,adpcm,nulaw,nodeemp,noplfilter,buflen=value,gpsid[=value],prio=value
;
; master - this client is the Master Timing source (the RTCM client that is on the same LAN as the Asterisk server.)
; There can only be 1 Master Timing source per ENTIRE Asterisk server.
;
; secret - password unique to this client
; transmit - this client is intended to have transmit audio sent to it and will have a transmitter connected to it.
; adpcm - this client is to be sent audio in 8000 samples/sec, 4-bit, IMA ADPCM format, rather than default G.711 Mulaw (aka ulaw).
; nulaw - this client is to be sent audio in 4000 samples/second Mulaw (Nulaw, as we call it), rather than the standard 8000 samples/second.
; nodeemp - this client is not to perform de-emphasis of the receiver audio (This is only to be used with non-voting clients). Switches
; the hardware de-emphasis filter OUT on the client
; noplfilter - this client is to not to perform hardware pl filtering of the audio. Switches the hardware PL filter OUT on the client.
; buflen=value - receive buffer length override for this client only.
; gpsid[=value] - This specifies a gps identity to associate with the specified client (as referred in the /etc/asterisk/gps.conf file).
; prio=value - define a specific priority for this client when voting. Lower numbers are higher priority. Default is 0 if nothing specified.

plfilter = y ; use DSP IIR 6 pole High pass filter, 300 Hz corner with 0.5 db ripple (note clients filter PL by default already)
txctcss = 100.0 ; Transmit CTCSS frequency
txctcsslevel = 62 ; Transmit CTCSS level (default of 62 if txctcss is supplied, but txctcsslevel is not set)
txtoctype = phase ; Transmit tone control type: none,phase,notone
; none - CTCSS tone encoding with no hang time (default)
; phase - encode CTCSS and reverse phase (AKA "reverse burst") before unkeying TX
; notone - encode CTCSS and stop sending tone before unkeying TX (AKA "chicken burst")

;gtxgain = 3.0 ; adjust the audio gain to all transmitters (in db voltage gain)
;hostdeemp = 1 ; force the use of the DSP FIR Integrator providing de-emphasis at 8000 samples/sec. Used with Duplex Mode 3 setting in RTCM/VOTER

thresholds = 255,110=5 ;
; linger=6 ; linger default is 6 if no other value specified
; streams = 67.215.233.178:1667 ; location to send voter data stream for this instance (used only with votemond Java program, which is deprecated)

; isprimary = y ; used in redundant server applications only. must be set on the primary server only
; primary = 10.20.20.1:667,mypaswd ; used in redundant server applications only. must be ONLY set on the secondary server to point to the primary

[1998] ; define another voting instance on this server (for another node). Three simulcast transmitters and four receivers.
; NOTE: there is NO "master" in this instance, since we already have a master timing source on this server defined above

NORTH = password_1,transmit ; transmit/receive site
SOUTH = Password_2,transmit ; transmit/receive site
EAST = password_3,nodeemp ; receive-only site, bypass de-emphasis filter in RTCM
WEST = Password_4,transmit,noplfilter ; transmit/receive site, bypass CTCSS filter in RTCM
Loading