Skip to content
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

Fix fake call and discrepancy from cdr and queue_log on duration of answered calls #199

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

andrea-marchionni
Copy link
Collaborator

  • in the query that inserts data into report_queue_agents table, the correct row with the answered call data (dst_cnam, billsec, dstchannel, linkedid) was not returned because the result is not ordered, we need the first row, adding sorting by calldate solves the problem.

  • rows with event (RINGNOASNWER) and data1 (0 or 1000) are fake calls caused by incorrect queue configuration (these are calls that theoretically rang 0 or 1000 milliseconds), we need to eliminate this data before doing the reporting calculations

@Stell0 Stell0 merged commit 4e540c2 into nethesis:master Jun 27, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants