cdr_audit
Scan the acc table for gaps, duplicates, and duration anomalies within a 31-day window. Flag suspicious silences and potential stuck dialogs using customizable thresholds.
Instructions
Scan the acc table for gaps, duplicates, and duration anomalies.
Parameters
date_from, date_to: ISO timestamps bounding the audit window. Window is capped at 31 days; longer ranges should go through a warehouse / BI tool. max_gap_sec: Gap between consecutive CDRs that counts as a suspicious silence. Default 300s (5 min). long_call_threshold_sec: Duration above which a call is flagged as a potential stuck dialog. Default 14400s (4h).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_from | Yes | ||
| date_to | Yes | ||
| max_gap_sec | No | ||
| long_call_threshold_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||