-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
voter.html does not colorize the "voted" client #230
Comments
This seems to imply that your voter system is not actually marking the node entry in Asterisk as "voted". @tsawyer are you seeing a problem with any of your voter systems not displaying a green bar for the voted-in feed? I don't have a voter system to test with. |
So there appears to be a bug in Here's a working example. Note "Voted: PLEASANTS":
Here's an example where EOC_VHF, which is marked as the master, the Voted: attribute is not present:
The only real possibility without changes to `chan_voter' is to assume that the highest RSSI in any situation where there's a non-zero RSSI is the "voter". I'm not sure if that's a reasonable assumption though. @tsawyer may have an idea? |
@jxmx I'm not so sure about your data captures. I did some captures and the only time I don't see the "voted" status is when the receivers are unkeyed. I do see some with "voted" where RSSI is 0, but that seems to always be the last packet before unkeying. The log below shows "voted" status for both the Pleasants and EOC receivers. I'll do a longer test with a few more keyups, but I want to wait until late night hours so I'm not kerchunking on any listeners. |
where are you capturing that output? That is different output then I see on the AMI connection. |
I created a DotNet util that talks to AMI. It's formatted from my util. |
Are you adding the commas? |
yes, I'm just doing a replace on the embeded \r\n. |
I wonder if there's some interesting difference in how python is unpacking the bytes |
@jxmx Attached is a log capture from our net tonight. This looks to include the voted parameter for all the key ups. I can even see where the voted value switched between receivers during the same transmission (which is normal, especially when someone is moving). Note that this log is in my CSV format. If needed, I can do another log in the raw format., I'm thinking this issue lies in the python side of things. |
@Mason10198 This problem seems to only affect the master/activemaster voters due to a mismatch between what is reported as the client name and the voted name. In your case, client = "Client1 Master ActiveMaster" and voted = "Client1". If you want to do a test if this resolves the issue on your system, you can do a quick edit to the file /usr/lib/python3/dist-packages/asl_allmon/ami_parser/init.py Remove the semi-colon from line 219. You'll need to restart Allmon3 with: sudo systemctl restart allmon3 |
Hopefully a small and easy-to-fix issue - the
voter.html
does not correctly change the color of the currently "voted" (selected) RX source client. The HTML element that should be green looks like:Screenshot:
Version: Allmon v3 (1.2.1)
The text was updated successfully, but these errors were encountered: