Difference between revisions of "Voter.conf"

From AllStarLink Wiki
Jump to navigation Jump to search
Line 1: Line 1:
=voter.conf =
+
= Introduction =
 +
 
 +
This file sets up the <code>chan_voter</code> channel driver to interface with <code>app_rpt</code>.
 +
 
 +
The VOTER/RTCM may be used in any of 3 modes:
 +
*non-voting client mode
 +
*voting mode
 +
*voting and simulcast mode
 +
 
 +
 
 +
See the [[VOTER]] page for additional information.
 +
 
 +
 
 +
= voter.conf =
 +
 
 +
The <code>voter.conf</code> file is generally going to be located with the rest of the Asterisk configuration files, in <code>/etc/asterisk</code>.
 +
 
 +
<pre>
 +
[general]
 +
port = 667 ;
 +
buflen = 220 ; specifies the receiver 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 500 milliseconds, the minimum is 120 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)
 +
 
 +
[1999]
 +
Main = secret,transmit ; master,transmit,adpcm,nulaw,nodeemp,buflen=value,gpsid[=value]
 +
; master - this client is the Master Timing source
 +
; secret - password unique to this client
 +
; (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.
 +
; 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 ADPCM format, rather than Mulaw.
 +
; 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.)
 +
; buflen=value - buffer length 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).
 +
plfilter = y ; DSP high pass filter
 +
txctcss = 100.0 ; Transmit CTCSS frequency
 +
txctcsslevel = 20 ; 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")
 +
thresholds = 255,110=5 ;
 +
; linger=6 ;
 +
; streams = 67.215.233.178:1667 ;
 +
 
 +
 
 +
; NORTH = password_1,transmit
 +
; SOUTH = Password_2,master,transmit
 +
; EAST = password_3,nodeemp                  ; bypass filter in RTCM
 +
; WEST = Password_4,transmit,noplfilter      ; bypass filter in RTCM
 +
 
 +
; streams = 67.215.233.178:1667
 +
</pre>
 +
 
 +
 
 +
 
  
This file sets up the app_rpt interface to an RTCM. The RTCM may be used in any of 3 modes; non-voting client mode, voting mode or voting and simulcast mode. More information is available on the Allstar Projects page. The RTCM user manual available from the Micro-Node site has additional information.
 
  
 
<pre>
 
<pre>

Revision as of 23:30, 1 February 2022

Introduction

This file sets up the chan_voter channel driver to interface with app_rpt.

The VOTER/RTCM may be used in any of 3 modes:

  • non-voting client mode
  • voting mode
  • voting and simulcast mode


See the VOTER page for additional information.


voter.conf

The voter.conf file is generally going to be located with the rest of the Asterisk configuration files, in /etc/asterisk.

[general]
port = 667			;
buflen = 220			; specifies the receiver 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 500 milliseconds, the minimum is 120 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)

[1999]
Main = secret,transmit		; master,transmit,adpcm,nulaw,nodeemp,buflen=value,gpsid[=value]
				; master - this client is the Master Timing source
				; secret - password unique to this client
				; (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.
				; 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 ADPCM format, rather than Mulaw.
				; 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.)
				; buflen=value - buffer length 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).
plfilter = y			; DSP high pass filter
txctcss = 100.0			; Transmit CTCSS frequency
txctcsslevel = 20		; 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")
thresholds = 255,110=5		;
; linger=6			;
; streams = 67.215.233.178:1667 ;


; NORTH = password_1,transmit
; SOUTH = Password_2,master,transmit
; EAST = password_3,nodeemp                   ; bypass filter in RTCM
; WEST = Password_4,transmit,noplfilter       ; bypass filter in RTCM

; streams = 67.215.233.178:1667



[general]
port = 667
buflen = 180                 ; 120 min value that works at all
password = secret            ; RTCM menu 6 (Host password)

[1234]
NORTH = secret1,transmit                 ; secret1 set in RTCM menu 5 (Client password)
SOUTH = secret2,master,transmit
WEST = secret3,nodeemp                   ; bypass deemphasis filter in RTCM  
EAST = secret4,transmit,noplfilter       ; bypass CTCSS filter in RTCM
; streams = 67.215.233.178:1667
; plfilter = y                            ; DSP high pass filter
; txctcss = 107.2                         ; This and next needed for app_rpt generated tone
; txctcsslevel = 20                       ; Transmit CTCSS level. Set to zero for off
; txtoctype = notone                      ; chicken burst 
thresholds = 255,110=5
linger=10