Skip to content

Commit

Permalink
Update config_SAMPLE.py
Browse files Browse the repository at this point in the history
Add configuration exclude OPB links from lastheard (option)
  • Loading branch information
sp2ong authored Feb 21, 2020
1 parent d68a53f commit afef6ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config_SAMPLE.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
HBLINK_PORT = 4321 # HBlink's TCP reporting socket
FREQUENCY = 10 # Frequency to push updates to web clients
WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not running as root
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable

# Put list of NET_ID from OPB links to don't show in lastheard, for example: "260210,260211,260212"
OPB_FILTER = ""

# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/'
Expand All @@ -16,7 +19,7 @@
TGID_FILE = 'talkgroup_ids.json' # User provided, should be in "integer TGID, TGID name" format
LOCAL_SUB_FILE = 'local_subscriber_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
LOCAL_PEER_FILE = 'local_peer_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
FILE_RELOAD = 7 # Number of days before we reload DMR-MARC database files
FILE_RELOAD = 30 # Number of days before we reload DMR-MARC database files
PEER_URL = 'https://www.radioid.net/static/rptrs.json'
SUBSCRIBER_URL = 'https://www.radioid.net/static/users.json'

Expand Down

0 comments on commit afef6ea

Please sign in to comment.