I can’t see your picture, but I’ll assume it says the same thing you keep saying. I’ve already explained this twice, so it’s probably still the same problem.
The “duplicate” calls aren’t duplicates. They are the calls that are ringing your extensions. The call to the extension is what you are seeing. Each one of the ringing extensions is a new call from the queue to the extension.
Part of what might be confusing here is that you think it’s just one call. It’s not. It’s an incoming call that was answered by the queue module. The queue module then places a bunch of new calls, outbound calls to your extensions. When one of those calls picks up, it is connected to the inbound call to the queue.
Asterisk is a Back to Back User Agent. It doesn’t route calls from a caller to an extension. It answers the call from the caller and is the terminus of the inbound call. It then places a different call to the receiver. These two calls are then bridged together when the recipient picks up the phone.
So, now that we’ve got that explained, it should be clear why there are so many CDR records. Each of the calls to your agents is a new, distinct, separate phone call from the server to your reps. Each of these calls gets its own CDR, since they are all distinct, separate calls. When one of them picks up, the call from the originator gets bridged to the rep that picked up the call, and the rest are terminated.
IMPORTANT NOTE At some point between Asterisk 1.6 and Asterisk 13, the base CDR handling for these calls from the queue to the extensions was changed. The reason for the change was that there was no way of knowing if the extensions had actually been ringing in the queue. Without that visibility, there was no way to know of if the reps were leaving their phones off the hook or set to local Do Not Disturb. Since the data wasn’t captured, there was no way to review it. Now, the data is captured so that queue performance can be more correctly tracked.
As I said before, you can always delete the data you don’t want, but there’s no way to go back and get data if it wasn’t captured. That’s why you are seeing all of these records - they calls were placed and their actual disposition is documented in those records.