Commit Graph

608 Commits

Author SHA1 Message Date
Cort Buffington
2524822e80 added null reporting loop
this makes importing consistent for applications in case there is no
reporting configured.
2015-07-27 20:10:35 -05:00
Cort Buffington
2635046aad logging bug: Unknown IPSC Type
The packet type’s numeric value was reported wrong in log messages for
unknown types.
2015-07-27 17:13:41 -05:00
Cort Buffington
7850ec8f85 Additional IPSC Message Types
Thanks Mark M for the additional IPSC message types discovered!
2015-07-27 17:12:34 -05:00
Cort Buffington
52a2b26c0a Bug in Call Contention Error
saved the original packet destination TGID for checking on the target
IPSC, not the target (translated) TGID.
2015-07-27 16:34:46 -05:00
Cort Buffington
231c37f744 See Last Push 2015-07-27 16:29:23 -05:00
Cort Buffington
c73483a4fd Additional Logging for Call Contention
more descriptive logging when a call is not bridged due to group
hangtime
2015-07-27 16:27:45 -05:00
Cort Buffington
f0cc0e097b Call Contention Debugging Added
Added more information to info level log when a call is not bridged
because the destination is in Group Hangtime.
2015-07-27 16:26:02 -05:00
Cort Buffington
e89f6e877b Add Trunk Type for IPSC 2015-07-22 15:02:36 -05:00
Cort Buffington
e3051fec85 Update README.md 2015-07-19 07:55:19 -05:00
Cort Buffington
4e3cd140dd Update README.md 2015-07-06 10:22:49 -05:00
Cort Buffington
9204a90cfb Update README.md 2015-07-06 10:22:32 -05:00
Cort Buffington
5c2ef72028 Improve Display Format 2015-07-01 07:53:11 -05:00
Cort Buffington
474e73dd23 add timestamp 2015-06-30 20:59:13 -05:00
Cort Buffington
96d0f11615 add configurable frequency 2015-06-30 20:56:00 -05:00
Cort Buffington
9ac48cac3f formatting update 2015-06-30 20:54:15 -05:00
Cort Buffington
113ebc8bf3 formatting update 2015-06-30 20:53:28 -05:00
Cort Buffington
02439f6ec4 formatting update 2015-06-30 20:49:02 -05:00
Cort Buffington
b77e2a9809 fix self-master reporting 2015-06-30 20:47:22 -05:00
Cort Buffington
bd251461f4 debugging 2015-06-30 20:38:04 -05:00
Cort Buffington
ae29844809 fix bridge.py reporting 2015-06-30 20:36:14 -05:00
Cort Buffington
97fa6bfe92 debug reporting 2015-06-30 19:32:40 -05:00
Cort Buffington
354fa34e8a add reporting loop to bridge.py 2015-06-30 19:29:59 -05:00
Cort Buffington
1285ddedff Application to Print IPSC Stats 2015-06-30 12:43:30 -05:00
Cort Buffington
d7f11d955c Initial File Upload 2015-06-30 11:51:04 -05:00
Cort Buffington
8e85b71e27 Add Pickle Dump to Reporting 2015-06-30 11:50:51 -05:00
Cort Buffington
ecd2648372 remove commented code 2015-06-29 14:58:39 -05:00
Cort Buffington
5b4520318f Fix Typo "_host, _port" was missing ", " 2015-06-29 14:48:58 -05:00
Cort Buffington
574a89e7f9 Remove JSON Reporting
It has a major problem with byte strings in the dictionaries… this may
never work
2015-06-20 19:57:07 -05:00
Cort Buffington
31223a846d Work on reporting options 2015-06-12 08:28:48 -05:00
Cort Buffington
b8bd3da8db Add IPSC Trunk Flag
Trunk flag will (not yet) byass IPSC TS loading checks so that 2 or
more DMRlinks may join an IPSC that moves streams between them. It will
be possible to bridge an arbitrary number of streams since there’s no 2
TS restriction on a DMRlink to DMRlink IPSC
2015-06-07 21:06:30 -05:00
Cort Buffington
10a21ed118 Word on data reporting options
in the process of adding several ways to dump the data structure from
each IPSC for processing by some external program.
2015-06-07 20:54:21 -05:00
Cort Buffington
ec9c20d5ee *NOT_BACKWARD_COMPATIBLE* changes
Changes to the REPORTS section of the config and dmrlink.py to pave the
way for more flexible reporting types.
2015-06-07 15:46:29 -05:00
Cort Buffington
d2a73a044e log "ID, IP:PORT" instead of just "ID" 2015-06-07 13:19:32 -05:00
Cort Buffington
ea0188002a Add IP:Port to logging for some messages 2015-06-07 11:47:07 -05:00
Cort Buffington
9265ebaa9b Update 2015-06-03 14:38:58 -05:00
Cort Buffington
29789acfd9 Internal Diagnostics (Timing)
Added some stuff for measuring timing. Must be uncommented to work.
2015-05-28 09:58:06 -05:00
Cort Buffington
707d9cc1f6 Internal Diagnostics
Added pieces for timing run times. No functional change unless you go
uncomment stuff to turn it on.
2015-05-28 09:42:58 -05:00
Cort Buffington
bacb063121 Work on Data Packet Types 2015-05-28 09:42:14 -05:00
Cort Buffington
38b6e955a7 TXT Messages WORK! 2015-05-23 09:03:06 -05:00
Cort Buffington
ea5141684b Work on TXT Messaging 2015-05-23 08:54:46 -05:00
Cort Buffington
e2f596f311 DNS resolution
use gethostbyname when we parse the config, once, rather than leave it
to twisted to do when we send packets.
2015-05-21 09:45:24 -05:00
Cort Buffington
679038face Prepare for Data 2015-05-21 09:39:43 -05:00
Cort Buffington
dd4dee21c4 Move gethostbyname
don’t rely on Twisted to do this on packet write, just translate once
when we read the config.
2015-05-21 09:39:42 -05:00
Cort Buffington
d4b51fd08f Prepare for Dynamic Rule Changes
Change the name of the rules read from the file, then copy it to
“RULES” after processing. This will allow us to modify RULES on the
fly, while keeping the “original” - This is a hook to add dynamic rule
changes.
2015-05-17 11:19:19 -05:00
Cort Buffington
b7f6b62993 bridge_rules.py and dmrlink.cfg checking
exit if the IPSCs in dmrlink.cfg (or specified file) don’t match the
IPSCs specified in bridge_rules.py
2015-05-17 08:14:29 -05:00
Cort Buffington
6612ba70ef Group hangtime added
new value, per IPSC, added for call contention handling.
2015-05-14 23:00:47 -05:00
Cort Buffington
e2c47ed6ca Call contention handler reliable
MANY changes to make the call contention handler reliable. I’m ready to
say this works pretty well.
2015-05-14 23:00:19 -05:00
Cort Buffington
3cfc058468 CALL CONTENTION WORKING!
minor cleanup
2015-05-14 09:31:33 -05:00
Cort Buffington
66ae5fa873 Call Contention WORKING!
Not saying we won’t find a problem, but it looks pretty solid right
now!!!
2015-05-13 20:35:18 -05:00
Cort Buffington
ffe5a61463 Call Contention Handling
NOT THOROUGHLY TESTED: Code added to avoid bridging when a valid rule
exists, but the target IPSC/TS appears to be busy, either in group
hang-time, or already in a call on the same TGID (not likely).
2015-05-13 12:33:47 -05:00