forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Background task to export CDRs to CSV (2600hz#5883)
Large CDR exports via API frequently run afoul of timeout limits, pagination key issues, etc. Instead, create a task and let it run in the background while the API returns quickly. Then the task ID can be polled for task completion and fetching of the CSV.
- Loading branch information
1 parent
68d2c04
commit d168b49
Showing
28 changed files
with
763 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# CDR Task | ||
|
||
Accounts with large volumes of CDRs find the API insufficient for downloading a month's worth of CDRs for billing purposes. This task aims to allow folks to have their CDR CSV created in the background and retrievable once finished as a task versus having to hope their dataset can be processed before the API timeout occurs. | ||
|
||
## Available Tasks | ||
|
||
### Dump | ||
|
||
Dumps the current month's CDRs to a CSV file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.