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

Update XML CDR Extension Summary Queries #5979 #6365

Merged
merged 3 commits into from May 5, 2022

Conversation

emaktech
Copy link
Contributor

@emaktech emaktech commented May 5, 2022

Rebased version of #5979

The queries in the Extension Summary have not been updated for a long time. Many changes have been made to the CDR import script that has changed how calls are counted. As a result, the data population in the extension summary has been wildly inaccurate.

The queries have now been copied from the $sql query output of the xml_cdr page. As such, they are updated to match what a user would see if they were to use basic filters on xml_cdr.

Additionally, the following logic now applies:

Inbound Calls = Answered + Missed
CC Missed = Call Center Agent Summary Missed Calls

We have tested these queries quite extensively for a few months and compared to many different call flow configurations of live data and everything now continues to match quite well.

@markjcrane markjcrane merged commit 2050d98 into fusionpbx:master May 5, 2022
MarvinSk pushed a commit to MarvinSk/fusionpbx that referenced this pull request May 13, 2022
)

* Change labels to reflect new CC missed field

* Update extension summary queries

* Hide number alias field
@emaktech emaktech deleted the extension-summary-fixes branch August 19, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants