Commit Graph

342 Commits

Author SHA1 Message Date
Simon
e0463ef0c4 Ignore non-ascii chars in options
(Damn you smart-quotes)
2021-06-30 00:55:21 +01:00
Simon
aa319c6ae4 Debug options 2021-06-30 00:37:43 +01:00
Simon
00e1d2109a Debug LC exception 2021-06-15 21:02:24 +01:00
Simon
fa20a25852 Add traffic source validation:
Change behaviour of NETWORK_ID in OPENBRIDGE config:

This should be the ID of remote system. If traffic received on this bridge is not shown as
from this ID, it will be disgarded.

Fix reporting of PEER so it actually takes the peer from the incoming connection, not NETWORK_ID:

So, in short:

SERVER_ID in [GLOBAL] - the ID you send to other servers via OBP
NETWORK_ID in OPENBRIDGE - the expected ** remote ** ID for the bridge.
2021-06-15 00:24:49 +01:00
Simon
b7c91e75ee Fix install script - NOW WORKS! 2021-05-31 17:27:44 +01:00
Simon
5904d471b7 Experimental passing of data sent as a group call 2021-05-29 19:00:54 +01:00
Simon
b29fdd0fce Fix re.sub() to work properly on line 710 2021-05-29 18:48:34 +01:00
Simon
8c165b9122 Don't reset timers when calling info seervices 2021-05-24 23:12:02 +01:00
Simon
c20c0f4aec Send contents of numbered AMBE files in language directory.
So, for example, for lang en_GB:

When you manual dial 9991, file en_GB_2/9991.ambe is played
2021-05-24 22:32:54 +01:00
Simon
edeaf2fbe7 Allow ANNOUNCEMENT_LANGUAGE in MySQL DB:
To update DB:

alter table repeaters add column ANNOUNCEMENT_LANGUAGE VARCHAR(8);

update repeaters set announcement_language='en_GB_2';
2021-05-22 22:56:20 +01:00
Simon
aaf8580d3d Fix error in LANG when using peers and xlxpeers 2021-05-14 22:36:36 +01:00
Simon
a3c01e393e Working 2021-05-14 22:26:50 +01:00
Simon
25bd7db348 Allow loading if multiple languages and selection both via
default in config file and OPTIONS.

Remove ANNOUNCEMENT_LANGUAGE from [GLOBAL]
Replace with ANNOUNCEMENT_LANGUAGES - Comma Separated list

Current list:

ANNOUNCEMENT_LANGUAGES: en_GB,en_GB_2,en_US,es_ES,es_ES_2,fr_FR,de_DE,dk_DK,it_IT,no_NO,pl_PL,se_SE

Add:

ANNOUNCEMENT_LANGUAGE to MASTER definition. If using GENERATOR, this becomes
the template default.

To change via OPTIONS add LANG=<language code>

take codes from list above
2021-05-14 00:07:11 +01:00
Simon
15d2986492 This is .... 2021-05-09 16:53:38 +01:00
Simon
4f8f3e5a33 argg 2021-05-09 16:11:55 +01:00
Simon
4d6961ec07 Fix freedmr ambe file
Add FreeDMR identifier to ident
2021-05-09 16:08:54 +01:00
Simon
034b6405a1 Enable sierra in en_GB_2 2021-05-09 14:42:42 +01:00
Simon
6ba08711e2 Alternative voice files for en_GB_2
Also, added abilty to read from separate ambe files in a dir
as well as the G4KLX style indexed files
2021-05-09 14:36:02 +01:00
Simon
b3388da319 Trying to get logger exception logging working properly 2021-05-06 21:33:33 +01:00
Simon
22326f6319 If ENHANCED_OBP, don't start sending to system until at least one BCKA seen from system 2021-05-04 01:41:35 +01:00
Simon
0f546e9636 Make KA report correct time 2021-05-02 21:04:25 +01:00
Simon
502adddf8c Revert "Revert "Try allowing XLX again""
This reverts commit 45b70cf604.
2021-05-02 19:24:47 +01:00
Simon
45b70cf604 Revert "Try allowing XLX again"
This reverts commit d6b67f8004.
2021-05-02 19:08:46 +01:00
Simon
d6b67f8004 Try allowing XLX again 2021-05-02 19:06:33 +01:00
Simon
190e17b50e CONFIG not config 2021-05-02 17:11:50 +01:00
Simon
45e10a9472 Error ia kaReporting 2021-05-02 01:44:16 +01:00
Simon
014edd8893 Report actual exception when we capture an exception in options 2021-05-01 23:36:35 +01:00
Simon
6c8ba4c442 Default statics for generator 2021-04-30 02:10:45 +01:00
Simon
e68b5c06fc Exception logging 2021-04-30 00:04:10 +01:00
Simon
99f8889f2b bad indent 2021-04-29 16:30:45 +01:00
Simon
f2c10e0b8a Catch all exceptions in options code 2021-04-29 16:28:57 +01:00
Simon
634bcb95d6 Revert "Re-enable XLXPEER"
This reverts commit b4b8cdcb68.
2021-04-27 19:50:47 +01:00
Simon
d04b0c9259 Revert "Tidy up some logging"
This reverts commit 2cda6b39a5.
2021-04-27 19:45:39 +01:00
Simon
faf4fa9fe3 Revert "More tidying"
This reverts commit 8295bf25ba.
2021-04-27 19:45:38 +01:00
Simon
510df11d33 Revert "and for obp"
This reverts commit 9035b62091.
2021-04-27 19:45:38 +01:00
Simon
9e0ec940b9 Revert "typo"
This reverts commit a725576b0b.
2021-04-27 19:45:37 +01:00
Simon
a725576b0b typo 2021-04-26 23:39:54 +01:00
Simon
9035b62091 and for obp 2021-04-26 23:35:58 +01:00
Simon
8295bf25ba More tidying 2021-04-26 23:34:01 +01:00
Simon
2cda6b39a5 Tidy up some logging 2021-04-26 23:32:16 +01:00
Simon
b4b8cdcb68 Re-enable XLXPEER 2021-04-21 21:48:05 +01:00
Simon
e258baf591 Handle keyerror when options calling reset tg 2021-04-21 19:13:28 +01:00
Simon
d08943490c CONFIG not config 2021-04-21 01:38:24 +01:00
Simon
d87f881c7c Keepalive reporting loop 2021-04-21 01:37:07 +01:00
Simon
e4525cd2f2 agian 2021-04-21 01:14:16 +01:00
Simon
3e27dddace pkt_time 2021-04-21 01:12:11 +01:00
Simon
31452345cb Test BCKA timers 2021-04-21 01:10:03 +01:00
Simon
19db6308b4 Merge branch 'master' into ka 2021-04-21 01:02:46 +01:00
Simon
e9c0fc4298 Change local TG limit from < 89 to < 79 2021-04-20 15:55:02 +01:00
Simon
d0df2469d6 Stop people creating TG bridges for TG 4000 and 5000 2021-04-17 17:59:46 +01:00