This repository has been archived by the owner on Feb 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults
150 lines (140 loc) · 9.37 KB
/
defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#
# Copyright (c) 2019-2020 by Thomas A. Early N7TAE
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#########################################################################################################################
# #
# QnetGateway Default Parameter Values #
# #
#########################################################################################################################
# What follows need to also be valid bash shell variable definitions, therefore:
# No white space on either side of the equal sign (=)
# String values should be quoted if they contain any special chars, including white space
# If a string value is a simple word, it doesn't need to be quoted
# Use the single quote (') for quoting strings, not the double quote(")
# Comments can come after a key=value definition, introduced by a pound-sign (#)
#
# if a definition is commented out, it means that key has no default value. And it is
# include here just as a reference.
##########################################################################################################################
#
# IRCDDB - You MUST use a legal callsign for logging into any IRC network
#
#ircddb_login_d='' # login callsign for the ircDDB network
ircddb_host_d='rr.openquad.net' # other irc networks include group1-irc.ircddb.net
ircddb_port_d=9007 # not a good idea to change!
ircddb_password_d='1111111111111' # not needed for rr.openquad.net
##########################################################################################################################
#
# GATEWAY
#
gateway_header_regen_d=true # regenerate headers from incoming data
gateway_send_qrgs_maps_d=true # send frequency, offset, coordinates and url to irc-server
gateway_local_irc_ip_d='0.0.0.0' # the local port on the gateway for the IRC TCP socket
gateway_ip_d='127.0.0.1' # the g2 address for qnlink (will use the external port #)
gateway_external_ip_d='0.0.0.0' # external ip
gateway_external_port_d=40000 # don't change
gateway_internal_ip_d='172.16.0.20' # internal ip address of the gateway
gateway_internal_port_d=20000 # internal ip port number (for all modules!)
gateway_latitude_d=0 # you can leave this unspecified for a mobile rig
gateway_longitude_d=0 # like the latitude
gateway_desc1_d='' # maximum of 20 characters, most special symbols are not allowed
gateway_desc2_d='' # just like desc1
gateway_url_d='github.com/n7tae/QnetGateway' # 80 characters max
gateway_healing_d=false # Gateway healing performs two task on incoming voice streams:
# 1) Up to 5 consecutive missing voice packets will be replaced by silent voice packets
# 2) Voice packets that arrive late will be ignored (they have already been replaced by silent packets)
##########################################################################################################################
#
# ICOM MODULE - These will be defined for any and all defined modules
#
module_x_ip='172.16.0.1' # internal ip address of all Icom Stack modules
module_x_port=20000 # internal port for all Icom Stack modules
module_x_link_at_start='' # For example, set to 'REF001 C' to link module to 1-charlie when the module starts.
module_x_auto_link=true # Automatic re-link on loss of link.
module_x_inactivity=0 # if no activity for this many minutes unlink reflector. Zero means no timer.
module_x_callsign='' # if you operate in a 'restriction mode', use your personal callsign. Usually leave this empty.
module_x_acknowledge=false # Do you want an ACK back?
module_x_ack_delay=250 # millisecond delay before acknowledgment
module_x_frequency=0 # if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage
module_x_offset=0 # the duplex tx-rx offset
module_x_range=0 # the range of this repeater, in meters 1609.344 meters is 1.0 miles
module_x_agl=0 # the height above ground level for this repeater's antenna
##########################################################################################################################
#
# APRS - for tracking users and also this repeater.
#
aprs_enable_d=true # send info to APRS
aprs_host_d='rotate.aprs.net' # the APRS network server
aprs_port_d=14580 # and port
aprs_interval_d=40 # keep-alive in minutes
aprs_filter_d='' # advanced feature
##########################################################################################################################
#
# LINK - controls the behavior of QnetLink (qnlink)
#
#link_admin_d='' # these comma-separated list of users can execute scripts, block dongles, reload the gwys.txt
#link_link_unlink_d='' # if defined, comma-separated list of users that can link and unlink a repeater
#link_no_link_unlink_d='' # if defined, comma-separated list of users that cannot link or unlink, it's a blacklist
# if the blacklist is defined (even if it's empty), the link_unlink will not be read
link_incoming_ip_d='0.0.0.0' # incoming ip address of qnlink, '0.0.0.0' means accepts any connection.
link_port_d=18997 # UDP incoming port traffic, from gateway
link_ip_d='127.0.0.1' # UDP incoming ip traffic, from gateway
link_ref_port_d=20001 # port for REF linking, don't change
link_xrf_port_d=30001 # port for XRF linking, don't change
link_dcs_port_d=30051 # port for DCS linking, don't change
link_announce_d=true # do link, unlink, etc. announcements
link_acknowledge_d=true # send text acknowledgment on key-up
link_max_dongles_d=5 # maximum number of linked hot-spots
##########################################################################################################################
#
# LOGGING - Control extra logging - useful for debugging
#
log_qso_d=false # QSO info goes into the log
log_irc_d=false # IRC debug info
log_dtmf_d=false # DTMF debug info
log_debug_d=false # Debug info (will produce a lot of output)
##########################################################################################################################
#
# DPLUS - Control of dplus (trust system) linking to repeaters and REF reflectors
#
# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors!
# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail,
# even if QnetLink reports a successful authorization.
dplus_authorize_d=false # set to true if you want to use the closed-source DPlus reflectors and/or repeaters
dplus_ref_login_d='' # for logging into REF reflectors, if empty, ircddb_login will be used
dplus_use_reflectors_d=true # set to false if you are not going to link to DPlus reflectors
dplus_use_repeaters_d=true # set to false if you are not going to link to DPlus repeaters
dplus_priority_d=true # set to true if you want DPlus reflector read after gwys.txt
##########################################################################################################################
#
# FILE - where important QnetGateway files and directories are found.
#
file_status_d='/usr/local/etc/rptr_status' # where repeater status info is passed between services
file_dtmf_d='/tmp' # where DTMF is decoded
file_echotest_d='/tmp' # echo dat files will end up here
file_qnvoicefile_d='/tmp/qnvoice.txt' # where qnvoice will create the play command
file_gwys_d='/usr/local/etc/gwys.txt' # where the list of gateways and reflectors (with ports) is.
file_announce_dir_d='/usr/local/etc' # where the *.dat files are for the verbal link, unlink, etc. announcements
##########################################################################################################################
#
# TIMINGS - for controlling how to deal with timing issues
#
# most users will not have to override any of these default values
timing_timeout_echotest_d=1 # seconds before we assume echo has timed out
timing_timeout_voicemail_d=1 # seconds before we assume voicemail has timed out
timing_timeout_remote_g2_d=2 # after this many seconds with no packets, we assume the tx is closed
timing_timeout_local_rptr_d=1 # local repeater timeout, in seconds
timing_play_wait_d=1 # seconds before echo or voicemail playback occurs, between 1 and 10
timing_play_delay_d=19 # microseconds between frames playback, if echo sounds bad, adjust this up or down 1 or 2 ms