Commit Graph

67 Commits

Author SHA1 Message Date
Cort Buffington b068f3b090 Improve Documenation
With TGID-based in-band signaling added, the code needed cleaned up and
better documented for folks to follow/modify it.
2016-05-01 10:49:30 -05:00
Cort Buffington 200a7a45b2 Multiple triggers allows per rule 2016-05-01 07:53:09 -05:00
Cort Buffington ecd9941588 Allow multiple triggers per group 2016-05-01 07:47:47 -05:00
Cort Buffington 475dc9d766 Housekeeping Updates 2016-04-28 14:28:32 -05:00
Cort Buffington 251cc206ff TGID-Based Bridge Rule Triggering Added!
That’s PTT or UA to you c-Bridge dorks. It works now. Note you MUST
update your bridge rules file for this.
2016-04-27 16:27:23 -05:00
Cort Buffington 5010d9a5b7 User triggering of rules on/off being added
This would be PTT or UA for you c-Bridge dorks. It’s not done yet, but
it’s close. YOU MUST UPDATE YOUR BRIDGE RULES FILE IF YOU USE THIS
VERSION!!!
2016-04-26 18:56:45 -05:00
Mike Zingman 4f7fc558cc Bridge auth to unuath (or visa versa) networks was not using the correct function. Force to use auth when needed. 2015-12-11 10:44:27 -05:00
Cort Buffington f5f9e14349 simplified a few items. No functional change 2015-08-14 08:36:29 -05:00
Cort Buffington 95a03fc28a Bridge contention bug
Fixed a problem where I used return instead of continue in contention
handling. ONE rule problem threw the packet away for ALL subsequent
rules!!!
2015-08-06 22:51: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 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 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 679038face Prepare for Data 2015-05-21 09:39:43 -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 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
Cort Buffington 4047e08a7e Call Contention Feature
Working to add a call contention feature that does not bridge into an
IPSC with an active call
2015-05-13 09:40:57 -05:00
Cort Buffington 16e7d2aaeb send_to_ipsc moved into IPSC class
send_to_ipsc moved into the IPSC class, as well as a new class function
for the single line to write the socket. This allows for inserting a
debug logger line to dump EVERY packet transmitted on a per-IPSC basis.
2014-12-20 09:14:54 -06:00
Cort Buffington 5a5ecb322b IP Interface may be specified now
This is useful when using multiple interfaces and bridge.py is employed
as an application gateway between multiple un-connected networks (like
VPNs to the real world).
2014-10-31 10:30:18 -05:00
Cort Buffington 648569eb91 TIMESLOT TRANSLATION WORKS! 2014-09-18 20:08:54 -05:00
Cort Buffington 1457d34e21 improve debugging 2014-09-05 16:02:30 -05:00
Cort Buffington 140818bcb2 add debugging 2014-09-05 15:59:55 -05:00
Cort Buffington 4781321c2c Restore from a test 2014-08-31 18:33:45 -05:00
Cort Buffington 7c99a1933a Experimental: Don't Rewrite Peer ID 2014-08-31 18:17:34 -05:00
Cort Buffington f0d50c8211 Update Versions/Documentation 2014-08-31 13:18:35 -05:00
Cort Buffington 59224df788 MANY CHANGES
Bridging works well. Backup and standard are consolidated to one
application, better documentation, bridging rules file greatly
simplified.
2014-08-31 11:27:00 -05:00
Cort Buffington 4cbabc48aa Trim Superfluous Code 2014-04-29 22:00:38 -05:00
Cort Buffington 80114833b1 Update Copyright 2014-04-28 22:07:34 -05:00
Cort Buffington 8cad9ee839 Update Copyright 2014-04-28 22:05:31 -05:00
Cort Buffington 6ab3fa7bc3 Cleaned superfluous "stuff"
Significantly simplified this file.
2014-04-28 22:01:33 -05:00
Cort Buffington 43e11ea19a Removed Class & Inheritance for Unauth IPSCs
Previously, an unauthenticated network used a different class that
subclassed IPSC and overrode the the three functions that affect
authentication. Now, during class instantiation ( with __init__ ), the
set of functions are “aliased” depending on whether or not the IPSC’s
auth flag is set in dmrlink.cfg
2014-04-28 21:42:48 -05:00
Cort Buffington 874b11db7b Daemon Support
Shebangs added to all files expected to be executed, command line
argument for configuration file added (otherwise, it looks for
dmrlink.cfg in the same directory as dmrlink.py) - this divorces it
from the last ties to a shell environment… or at least I think.
2014-01-03 15:01:43 -06:00
Cort Buffington 878fec4a3e Begin Adding Features to Bridging 2013-12-12 19:59:04 -06:00
Cort Buffington 0291bbbd9d minor formatting updates 2013-12-06 06:52:43 -06:00
Cort Buffington e3c330dee0 General Clean-Up 2013-12-03 10:48:08 -06:00
Cort Buffington b74b46e3bd Shebang and app notes added... 2013-11-24 22:01:20 -06:00
Cort Buffington 8e78d70f0e THREE PACKET TYPES FIGURED OUT!
0x61, 0x62 and 0x63 have been mostly decoded. Still don’t know what all
of the pieces do, but know what they’re for finally!

This will mean big things for log.py as I figure out the details.
2013-11-23 17:30:12 -06:00
Cort Buffington 45da762a38 Work on NAT 2013-11-22 09:23:55 -06:00
Cort Buffington 056e55823e Nat work 2013-11-21 18:50:01 -06:00