Commit Graph

225 Commits

Author SHA1 Message Date
Simon d209f5b368 Move voice logging into INFO logs 2021-01-25 13:21:02 +00:00
Simon 4e64e5f740 a 2021-01-25 00:48:37 +00:00
Simon 8116fe38e1 Add handling of occasional exception in dmrbits.tobytes() in HBP class 2021-01-24 18:56:33 +00:00
Simon 95037683b7 Exclude decimal point from options TG string 2021-01-23 12:01:35 +00:00
Simon ca054d5cd6 Add ability to specify table to SQL config 2021-01-22 13:09:28 +00:00
Simon e7dca90355 Loads of threads! 2021-01-19 23:54:09 +00:00
Simon e7b1c24ed9 Send announcements from ID 5000 2021-01-19 19:42:46 +00:00
Simon 586a9246b7 Fix possible semaphore bug in bridge table 2021-01-18 21:11:40 +00:00
Simon f52e63cb77 More stream logging 2021-01-18 17:04:29 +00:00
Simon 4fa05fb503 tidy up stream trimmer logging 2021-01-18 17:02:09 +00:00
Simon f87534f69c Streamy 2021-01-18 16:50:27 +00:00
Simon 77bfacf2e5 Bug in stream trimmer 2021-01-18 15:04:00 +00:00
Simon 76927ebf95 Proper debug for streamtrimmer problem 2021-01-18 12:31:56 +00:00
Simon e6edd4c16b Debugging for stream problems 2021-01-18 11:09:05 +00:00
Simon 8f5bdceec8 Except 2021-01-17 22:54:44 +00:00
Simon f05d192a1b Handle keyerror in stream trimmer 2021-01-17 22:45:45 +00:00
Simon 4626917326 It doesn't make sense to be able to link #9 to TG9 ! 2021-01-17 12:59:40 +00:00
Simon 3889eabda7 Another indent problem 2021-01-16 16:19:12 +00:00
Simon 8010a7aad3 Fix indent 2021-01-16 16:16:05 +00:00
Simon 9a719489c5 Target active 2021-01-16 16:14:51 +00:00
Simon f83d092b1c Reinstate old TG9 code for HBP only 2021-01-16 15:54:52 +00:00
Simon 31e9432063 Set stat trimmer back to once an hour 2021-01-16 13:05:53 +00:00
Simon d9e42685cc Make stat trimmer handle active and inactive correctly 2021-01-16 13:03:20 +00:00
Simon 6064be77d7 Run stat trimmer every hour 2021-01-16 12:13:47 +00:00
Simon 117ab55358 Fix statTrimmer 2021-01-16 12:05:09 +00:00
Simon a355f5bf3b Revert "Single mode changes"
This reverts commit 585e50ad9e.
2021-01-10 21:08:20 +00:00
Simon 585e50ad9e Single mode changes 2021-01-10 21:06:48 +00:00
Simon ac0de92e5a Revert "Revert "Revert "Revert "Try another method to match all for dial bridges""""
This reverts commit f28ef3eb16.
2021-01-10 20:48:45 +00:00
Simon f28ef3eb16 Revert "Revert "Revert "Try another method to match all for dial bridges"""
This reverts commit 2f38da5ba8.
2021-01-10 20:46:53 +00:00
Simon 71f1f5e83d Revert "Revert "Revert "Try another method to match all for dial bridges"""
This reverts commit 2f38da5ba8.
2021-01-10 20:44:26 +00:00
Simon 2f38da5ba8 Revert "Revert "Try another method to match all for dial bridges""
This reverts commit 2ce31622be.
2021-01-10 20:41:17 +00:00
Simon 2ce31622be Revert "Try another method to match all for dial bridges"
This reverts commit 7272289a23.
2021-01-10 20:12:35 +00:00
Simon 7272289a23 Try another method to match all for dial bridges 2021-01-10 20:10:17 +00:00
Simon e2b137d6aa This reverts commit 176009a323. 2021-01-10 19:56:59 +00:00
Simon 176009a323 Change bridge selection logic in HBP class to match via bridge number 2021-01-10 19:54:40 +00:00
Simon 71d35eb26d Locking in bridge table when trimming STAT bridges 2021-01-10 14:03:45 +00:00
Simon 4682ad2228 On-the-fly generation of static bridges 2021-01-10 13:50:37 +00:00
Simon 79a2dd1099 Fix missing master maintainance loop bug (peers not timing out) 2021-01-06 01:38:09 +00:00
Simon d7e9ae9a4a OPtions - preserve peers 2021-01-05 17:18:02 +00:00
Simon e4f1a932c0 Add some locking around peers 2021-01-04 23:09:48 +00:00
Simon 287ebc49cb needs int() if default reflector 2020-12-28 00:07:28 +00:00
Simon 11df210f8a there is a better way 2020-12-27 21:03:41 +00:00
Simon 6155507644 Quote removal from options 2020-12-27 21:01:37 +00:00
Simon 023d2f98af Wrong var 2020-12-27 18:55:22 +00:00
Simon c49a7cb279 fix vauleerror 2020-12-27 17:44:10 +00:00
Simon 0e5e91850c Add support for HBP options line 2020-12-27 17:32:38 +00:00
Simon 28e4800283 Add HBP Options (RPTO) handling 2020-12-23 00:31:27 +00:00
Simon b782748944 fix seq rollover 2020-12-21 17:16:50 +00:00
Simon 5e24fea463 Seq > 1 2020-12-21 17:07:05 +00:00
Simon 6f1254ac9a Add handling of:
Duplicate packet
missing packet(s)
out-of-order packets

by using the Seqeunce number the the OBP packet
2020-12-21 15:19:41 +00:00
Simon 11cc0f59f3 remove dedup logging 2020-12-20 23:28:13 +00:00
Simon 32c25e306c Revert "Back off logging for dedup code"
This reverts commit 4a2bdaf80f.
2020-12-20 21:48:48 +00:00
Simon 4a2bdaf80f Back off logging for dedup code 2020-12-20 21:25:34 +00:00
Simon b56b73f763 Show source in debug log 2020-12-20 18:23:19 +00:00
Simon f4c17e9540 Only ignore openbridge (again) 2020-12-20 18:05:19 +00:00
Simon 7ed54e09ae ia 2020-12-20 17:17:07 +00:00
Simon 7086174e34 Only avoid openbridge for dups 2020-12-20 17:10:13 +00:00
Simon 90409a5e25 Allow relfectors over openbridge 2020-12-19 19:04:07 +00:00
Simon afbf8c4239 Does refl work without dupes this time
Reworked it

Added some logging
2020-12-19 18:51:52 +00:00
Simon 26eeb9fbba Another try at reflectors 2020-12-13 18:35:23 +00:00
Simon 9fb429c2e3 try again 2020-12-13 15:53:37 +00:00
Simon a3c1f1182f Fix for packet dupes (currently debugging enabled) 2020-12-13 15:17:35 +00:00
Simon 7b4795e560 still 2020-12-09 17:20:28 +00:00
Simon 39009a37b6 got last change slightly wrong 2020-12-09 16:55:32 +00:00
Simon 83cb446835 Create bridges for TGs 5 and over 2020-12-09 16:30:20 +00:00
Simon 9750df7beb Disable reflectors 2020-12-06 13:34:27 +00:00
Simon 79e75ccd79 Revert "Revert the ability to activate the same TG on two slots (why would you want to?)"
This reverts commit b19a5be6b0.
2020-12-06 13:18:10 +00:00
Simon b19a5be6b0 Revert the ability to activate the same TG on two slots (why would you want to?) 2020-12-06 12:27:44 +00:00
Simon 6b76c0cea6 same as before but on obp 2020-12-05 21:47:51 +00:00
Simon 6982978651 Move ignore to outside for 2020-12-05 21:46:48 +00:00
Simon 634e9fdd67 Typos - getting code blind now! 2020-12-05 21:22:47 +00:00
Simon f02f7f3069 it's append not push in python! 2020-12-05 21:12:13 +00:00
Simon 0eb6876f0b helps if I make change to both obp and hbp 2020-12-05 21:03:44 +00:00
Simon c810bd4339 indent issue - damn python ;-) 2020-12-05 20:58:40 +00:00
Simon 01917ff5da bridge2 2020-12-05 20:49:35 +00:00
Simon 6130170f36 Does it really work now? 2020-12-05 20:27:54 +00:00
Simon d474ab1023 I hope this fixes the openspot issue! 2020-12-05 20:06:38 +00:00
Simon bd6715566b Fix multiple packets being sent on OBP connections 2020-12-03 20:28:23 +00:00
Simon b251cee899 Add new TO_TYPE - STAT 2020-11-30 22:09:51 +00:00
Simon d8c1f40bc3 Add support for multiple upstream bridges 2020-11-28 15:56:02 +00:00
Simon 806e8566de Fix bug where you can't use the same TG on both slots simultaneously
Well, I thought this might well be a feature, but it was an easy fix so...
2020-11-24 11:33:11 +00:00
Simon 0aa3f57a08 Preserve peers in config dict 2020-11-16 20:45:02 +00:00
Simon 057318ef44 bracketing 2020-11-14 16:40:04 +00:00
Simon 4aae0302e0 Fix timer on reflectors 2020-11-14 10:45:45 +00:00
Simon d076096faa Route between TGs / |Reflectors on HBP systems 2020-11-13 22:24:31 +00:00
Simon 18ae439125 Don't try and kill master maintenance loop if it isn't actually running! 2020-11-08 20:12:53 +00:00
Simon e7b13ef19a Fix error in re-activation of default reflector because reflector brdige was being incorrectly deleted 2020-11-08 14:52:16 +00:00
Simon bb449d2436 timer on reflectors now fixed 2020-11-07 17:36:15 +00:00
Simon c521e4d513 try again 2020-11-07 17:20:03 +00:00
Simon 4261604981 fix timer for single reflector 2020-11-07 17:14:49 +00:00
Simon f5f87d540b Add more silence padding to voice 2020-11-07 17:03:40 +00:00
Simon bdad00ffdc Check master maintenance loop is running before we try and stop it to avoid exception 2020-11-07 16:01:41 +00:00
Simon a1bf50e698 remove some unneeded debugging 2020-11-07 14:59:53 +00:00
Simon f0d1e8ed8a Fix error in reset_default_reflector 2020-11-07 14:58:46 +00:00
Simon 851b7c1d12 Fix timer error 2020-11-07 14:57:32 +00:00
Simon d9bf484bc0 Delete unused bridges now works 2020-10-25 23:40:54 +00:00
Simon 052f3d58d0 more work in unused bridge logic 2020-10-24 23:50:31 +01:00
Simon ac157b0f86 bridge used logic 2020-10-24 23:43:08 +01:00
Simon 09737dd2d8 Exclude OBP link to master 2020-10-24 23:38:42 +01:00
Simon 694c38d1be automatically remove unused bridges 2020-10-24 23:35:54 +01:00