PSTN Call Records - How it Works & Use Cases

This article explains how to set up the ZIRO Platform to collect and store PSTN call logs, as well as details on the collection process.

Use Cases for Call Records

There are two reports that depend on the collection and storage of call records.

How do I enable PSTN Call Record Collection?

How Are PSTN Call Records Stored?

  • Records are stored with a limit of up to 500K records.
  • Records are encrypted both in transit (using Graph API over HTTPS) and at rest (stored in a dedicated database hosted in the Azure commercial cloud.)
  • Upon reaching the limit of 500K records, the oldest records will be deleted to maintain compliance with this restriction.

How does the CDR collection Job Work?

Reports on calls placed within the last 6 hours may not be available

Call records may not be available for hours after a call is placed. For this reason, when checking for recent records every hour, the platform will review the past 6 hours of calls. (Ref. Microsoft Graph Call Records API FAQ - Microsoft Graph | Microsoft Learn)

  • Records are collected at the beginning of every hour.
  • The records from the past six hours are always collected. Re-scanning this timeframe ensures that any records delayed in availability are captured.
  • If the oldest record is more than 6 hours old, the job will retrieve data from that time.
  • When no records are available (e.g., CDR collection was just enabled), the report will retrieve the full 90 days of records from Graph.