-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Calls are out of Order #564
Comments
Yeah can confirm same issues since going from v3 to 4, specially the crosstalk where you hear both FD and PD on a single audio file. I'll try to get examples, the weird thing I have two systems in two different locations, both P25 II only difference is HackRF vs Airspy, HackRF one is the one with issues but I don't believe that's the issue. I provided something on #535 but will try to get some more. |
I experienced the same issue when testing an upgrade to 4.x. Here's some relevant messages from Gitter (thread from 8/13/21):
(Note: I have since tested 4.x using the same LimeSDR Mini and still encountered this issue so I don't believe it to be an issue with the SDR itself)
|
The inner workings are way over my head, but when looking through commits I found this one referencing the ability to ignore post-voice data; I wonder if that might be related somehow? |
Just to check a couple things - What type of system is it? If it is P25, is it a mix of TDMA and FDMA? |
Good spot @sally-yachts !!! that was actually a bad change. I backed it out a while ago though: trunk-recorder/trunk-recorder/call.cc Lines 344 to 352 in e1048cd
There could be some other bug lurking... or there could be a case were I am not covering an error condition, like some control channel messages being missed. |
I'm looking at a similar-ish issue with disjointed recordings in Conventional P25. Is anyone else watching the trace logs when recordings start acting up? One thing I'm seeing is that calls can end with a ton of data still in the assembler output queue, which then gets pushed off to the next call. Here's an example from this morning:
And the following call starts off with nearly ten seconds of audio already in the assembler queue:
Audio from one call can end up spread across two or three others until the frame assembler has a chance to work that output queue back down to zero. |
Good catch @taclane I just added a change which should fix the samples backing up in the queue. OP25 had removed a forecast function - this helps make sure the processing keeps up by letting it know how often it will need to run. I made the change on |
I am running it on my 3 instances, seems ok so far. |
It's looking good so far! I've watched about a dozen calls in the logs and Prior to the the forecast function being reintroduced, even calls starting with an empty queue could be anywhere between 5000-25000, with no guarantees that it could work through all the data before the call was terminated. I'll check back in on the logs in the morning, but it does look like things are back to normal for me. Hopefully it was the root cause of audio crosstalk and related observations in this issue. |
Checking back in after letting it run overnight. The recent commit seems to have eliminated time shifting and |
I am seeing the same. I am going to close this now I think it can be reopened if it returns. |
Great to hear! I just made another change... instead of using a buffer and outputting at a constant rate, I change it to just output everything it has decoded directly to the wav file as it gets decoded. This should make it even tougher for something to get stuck in the buffer. |
This is the same thing I posted on Gitter, there are multiple people in the thread reporting the same. This has only started say in the last 2-3 days and only seems to impact digital calls. Analog I have not heard the issue on yet.
I'm not sure if this makes sense and if some patch to linux did it or something else. I am getting calls out of order, a lot of them I hear a call, then hear the dispatcher calling for the unit and then the call continues which of course isn't the right order for a call.
I've increased my timeout from 4 to 5 seconds but I was wondering if anyone has any suggestions.
The text was updated successfully, but these errors were encountered: