Skip to content

Traffic Sampling Rules

Traffic Sampling Rules configure call traffic capture (PCAP dump) and/or recording for specific subsets of traffic. Rules match calls by customer and/or Customer Auth and optionally by source/destination prefix, and define what to capture and at what sampling rate.

Captured PCAP files and recordings can be downloaded directly from the CDR page for each call.

Id

Unique identifier.

Customer

Optional Contractor (with Customer flag) to match calls from a specific customer. If left empty, the rule applies to all customers.

Customers Auth

Optional Customer Auth to match calls authenticated through a specific Customer Auth. If left empty, the rule applies to all Customer Auths of the selected customer.

Src Prefix

Optional source number prefix filter. Only calls whose source number starts with this prefix are subject to this rule. Leave empty to match all source numbers.

Dst Prefix

Optional destination number prefix filter. Only calls whose destination number starts with this prefix are subject to this rule. Leave empty to match all destination numbers.

Dump Level

What traffic to capture for matched calls. Options:

Capture nothing
No capture. Rule is effectively disabled.
Capture signaling traffic
Capture SIP signaling only (no RTP).
Capture RTP traffic
Capture RTP media streams only (no SIP).
Capture all traffic
Capture both SIP signaling and RTP media.
Dump Rate

Percentage of matched calls (0–100) for which traffic capture is performed. Set to 100 to capture all matching calls, or a lower value for sampling.

Recording Rate

Percentage of matched calls (0–100) for which call recording is performed.