Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

Kazoo PropEr#

PropEr quickcheck models for various parts of Kazoo.

Crossbar#

I like to set console level to critical (chatty otherwise): kazoo_maintenance:console_level(critical).

After each quickcheck, I like to clean soft-deleted account docs from the accounts database: kt_cleanup:cleanup_soft_deletes(<<"accounts">>).

Also, clearing the data traces is good to do: kz_data_tracing:clear_all_traces().

Skeleton#

pqc_cb_skels contains a basic module for testing the CRUD-iness of an API endpoint. Copy the source to a new file for named for the API endpoint, change references to "skels" and "skel" to match the endpoint (say "devices" and "device") and modify the "new_{entity}" function to create a bare-minimum version of the entity for creation.

Phone Numbers#

Tests the phone_numbers API

Sequential tests: proper:quickcheck(pqc_cb_phone_numbers:correct()). Parallel tests: proper:quickcheck(pqc_cb_phone_numbers:correct_parallel()).

Cleanup deleted account docs: kt_cleanup:cleanup_soft_deletes(<<"accounts">>).

Ratedecks#

Tests the ratedeck upload task and rating a DID against account-vs-system ratedecks.

Run a quick sequential test: pqc_cb_rates:seq()

IPs#

Tests the dedicated IPs endpoint.

Recordings#

Tests fetching recordings