Call logs allow users to see the history of the calls placed and received by Wazo.
The oldest call logs are periodically removed. See wazo-purge-db for more details.
Call logs can also be generated manually. To do so, log on to the target Wazo server and run:
To avoid running for too long in one time, the call logs generation is limited to the N last
unprocessed CEL entries (default 20,000). This means that successive calls to
will process N more CELs, making about N/10 more calls available in call logs, going further back in
history, while processing new calls as well.
You can specify the number of CEL entries to consider. For example, to generate calls using the 100,000 last unprocessed CEL entries:
wazo-call-logs -c 100000
Regeneration of call logs¶
Since call logs are based on CEL, they can be deleted and generated without problems. To regenerate the last month of call logs:
wazo-call-logs delete -d 30 wazo-call-logs generate -d 30 // the default behavior of wazo-call-logs command is `generate`
Call logs are pre-generated from CEL entries. The generation is done automatically by wazo-call-logd. wazo-call-logs is also run nightly to generate call logs from CEL that were missed by wazo-call-logd.