Configuration and delivery reference#
This reference covers the shared User Panel settings and HTTP delivery for Call Events and CDR Streaming. For setup, use Configure call events and CDR streaming. Payload attributes are defined in the four direction-specific references.
Configuration scope and state#
The Call Events API requires account activation on request by DIDWW Technical Support. After activation, the account has four independent configurations: Voice IN → Call Events, Voice OUT → Call Events, Voice IN → CDR Streaming and Voice OUT → CDR Streaming. Each has one receiving endpoint and its own delivery switch. The settings apply to the selected service and direction on the account, rather than to an individual DID number.
Configured means that endpoint settings have been saved. Enabled means that the corresponding delivery switch is on. Both are needed for delivery. Turning a switch off leaves its saved configuration available.
Configuration fields#
Field |
Value and behavior |
|---|---|
Endpoint |
Receiving HTTP or HTTPS URL for the selected feed. Use a URL that accepts POST at its final path. Arrange DNS, TLS and network access so that DIDWW can reach it. |
Enable GZIP compression |
Optional request-body compression. When enabled, the body uses gzip and the request includes Content-Encoding: gzip. Decompress before parsing. |
Authentication → Username / Password |
Optional credentials for HTTP Basic Authentication at the receiving endpoint. These are endpoint credentials, separate from DIDWW API authentication. |
Headers |
Optional HTTP header name/value pairs required by the receiver. Use Add Header for each pair. Examples: X-Auth-Token with a value such as your_secure_token, or X-Client-ID with unique_client_identifier. A custom header does not change the feed’s body format. |
Use an endpoint that responds directly with the intended acknowledgement. Do not depend on a URL redirect as an acknowledgement or assume that a receiver will preserve a POST body and credentials across redirects.
Controls#
Control |
Action |
|---|---|
Configure |
Open the form for a card without saved settings. |
Edit Configuration |
Open existing endpoint settings. |
Add Header |
Add a custom header name/value pair. |
Submit |
Save the configuration form. |
Cancel |
Close the form without saving changes. |
Delivery switch |
Enable or disable the selected feed independently of the other cards. |
Delete Configuration |
Remove the saved configuration through the existing configuration form. |
Manage a configuration#
Edit: open APIs > Call Events API, select the correct card, click Edit Configuration, update the fields and click Submit. Check the delivery switch and validate receipt at the intended endpoint.
Disable: turn off the card’s delivery switch and confirm the action when prompted. The panel states that no further events will be sent while disabled. The saved endpoint remains available to enable again later.
Remove: disable the feed, open Edit Configuration, select Delete Configuration and confirm the removal when prompted. To use the feed again, configure the card and enable it.
Do not use a configuration change, disabling or deletion as a queue-management operation. The panel does not expose a queue drain, purge or replay control. If preserving pending records is essential during a change, reconcile with call logs or exports and ask DIDWW Technical Support about pending delivery for that account.
Source IP addresses and network access#
Allow inbound requests from the following addresses if your receiver uses source IP filtering:
IPv4:
46.19.210.148IPv6:
2a01:ad00:2:3::148
The receiver must be reachable on the endpoint’s configured port. Check any firewall, reverse proxy, TLS certificate validation and authentication that could reject or delay an HTTP request.
HTTP requests and body framing#
Property |
Call Events |
CDR Streaming |
|---|---|---|
Method |
POST |
POST |
Content-Type |
application/vnd.api+json |
text/plain |
Body |
One JSON event object per request. |
One or more JSON CDR objects separated by newlines (NDJSON). No enclosing array or wrapper. |
Generation |
At the start, connection or end trigger. No CDR-style batching delay. |
After a call or routing attempt ends. Several records can share one delivery batch. |
Compression |
Optional gzip, according to the card settings. |
Optional gzip, according to the card settings. |
Each object has type, id and attributes members. Use type to
select the payload schema. Decode the body according to Content-Encoding,
then process the selected feed’s framing. A single-record CDR request still
uses the CDR format.
These header examples show compressed requests. The path and host are examples.
The actual request uses your configured endpoint. Content length is calculated
for the transmitted body. The examples omit a fixed Content-Length
value. The CDR header example also includes Expect: 100-continue.
1POST /webhooks/call-events HTTP/1.1
2Host: example.com
3User-Agent: CDR-streamer
4Accept: */*
5Content-Type: application/vnd.api+json
6Content-Encoding: gzip
1POST /webhooks/cdr HTTP/1.1
2Host: example.com
3User-Agent: CDR-streamer
4Accept: */*
5Content-Type: text/plain
6Content-Encoding: gzip
7Expect: 100-continue
See Inbound call events and Outbound call events for single-object examples. See Inbound CDR streaming and Outbound CDR streaming for individual records and valid newline-separated batches.
Acknowledgement and CDR queue limits#
The following rules apply to both inbound and outbound CDR Streaming. A 2xx HTTP response acknowledges the entire request. All CDRs in that batch are marked processed and removed from the delivery queue. A non-2xx response or a request timeout leaves the records queued for retry.
If one record fails your application’s processing but the endpoint returns 2xx, the service still considers the whole batch acknowledged. Persist or accept every record before acknowledging it. If processing continues after acknowledgement, retain failed records in your own system for recovery.
Property |
CDR Streaming behavior |
|---|---|
Maximum batch size |
1,000 CDRs in one HTTP request. The receiver must process every newline-separated object. |
HTTP timeout |
10 seconds. Respond promptly after accepting the batch to avoid a timeout and repeated delivery. |
Queue capacity |
10,000 CDRs per customer. Extended delivery failure can exhaust the queue and cause record loss. |
Documented delivery interval |
Within 3 seconds after call completion. This documented service interval is separate from the retry delay below. |
Retry timing |
After a non-2xx response or an HTTP timeout, the queued batch is retried after 3 seconds. This retry delay is separate from the time between call completion and receipt of a CDR. |
These batching and queue rules apply to CDR Streaming. Call Events are sent individually. The CDR batch size, queue capacity and retry timing must not be used as Call Events guarantees. Return a prompt successful response after accepting a valid event, and monitor failures at the receiver.
Idempotency, ordering and field handling#
Each CDR has a unique
id. Use it to make CDR processing idempotent and avoid processing the same record twice. A retry can repeat a record even after your application processed it, if DIDWW did not receive the successful HTTP response. This supports duplicate suppression in your application. Delivery itself can occur more than once.For Call Events, use at least
typewithidto distinguish lifecycle stages. All related events share a call identifier, soidalone would incorrectly discard the connect and end events as duplicates.Use call timestamps, identifiers and routing-attempt fields to interpret records. Do not infer call order or a cross-feed ordering guarantee from HTTP arrival order or a record’s position in a batch.
Distinguish an absent key, JSON
null, an empty string (""), zero and false. Preserve the difference when storing data. Do not replace every unavailable value with zero or treat zero and false as missing.Read the applicable payload reference for field conditions. Accept additional attributes without rejecting otherwise valid records.
Recovery after an interruption#
CDR Streaming has a finite delivery queue and should not be the only source used to retain call records. Monitor your endpoint, store received records and reconcile gaps against Call logs or Exports within their retention period.
For automated historical retrieval, use the Exports API with the authentication for your API version. An export is a historical reporting source, not a replay of the original webhook requests. For unresolved delivery gaps, provide DIDWW Technical Support with the service, direction, time range and relevant identifiers.