Call Detail Record (CDR)
-
OSS/BSS Answers
Access Control Admin Audit B3Network Master Account Channel App Contract App Customer App Discount App Edge Server File Management Finance App Invoice App Number Management Payment Portal Settings Price List Product App Release V2 SMS Gateway Supplier App Support Center Support Hub Business Hub Sales Hub
- App Model - Organization Management
- App Model - Communication Apps Answers
- License Model - Organization Management
-
License Model - CPaaS Solution Answers
Phone System - Admin Guide Phone System - End-user Guide Mobile App Desktop App Web Phone Auto Attendant - Admin Guide Developer Hub - Admin Guide Microsoft Teams Operator Connect - Admin Guide Microsoft Teams Direct Routing - Admin Guide Contact Center - Supervisor Guide Contact Center - Agent Guide Omni-Channel SIP Trunk CPaaS - SIP Trunk Power SIP Trunk CPaaS Fax Contact Dashboard Campaign File Explorer
- Telcoflow
- Integrations Answers
- Updated Regulations
- Ideas Portal
Table of Contents
Introduction
CDR stands for Call Detail Record. It is a metadata containing the detailed information about the call session produced by Edge.
A CDR has various data of each leg of calls, and typically includes:
When the call took place - How long the call lasted - Who called to whom - and many more.
Edge CDR Metadata
Attribute | Description |
---|---|
correlation_id | CDR mapping for far-end by SIP Header: X-EDGE-CORRELATION-ID |
status | call status, it can be answer, cancel, congestion, etc |
callee | destination number |
direction | direction of the call |
duration | duration of the call in second |
local_media_address | edge ip address of media/rtp |
user_agent | far-end sip user agent |
remote_signalling_address | far-end ip address of signaling/sip |
remote_media_address | far-end ip address of media/rtp |
edge_network | ip address of edge processed for this call |
uuid | leg uuid |
rtp_crypto | media encryption suite was used for this call |
nodename | name of node member that processed the call |
peername | name of trunk that processed the call |
codec | negotiated codec was used in call |
hangup_cause | reason why call hang up |
seshid | session uuid |
interface | sip interface that call engaged with |
callid | sip call id of the call |
caller | source number |
transport | transport protocol that SIP relies on, the value can be ucp, tcp, tls |
sip_resp_code | well, sip response code sip:{code} |
start_time | when the call started with format ISO8601 |
answer_time | when the call answered with format ISO8601 |
end_time | when the call ended with format ISO8601 |
disposition | who hung up the call |
Example:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"data" : {
"module" : "call",
"eventName" : "vendorCDRExtra",
"timestamp" : 1614575657225,
"txnUuid" : "fdd9be18-7dfa-49d0-8c47-33f3b4598917",
"legs" : {
"147d2eac-9ba8-450e-8513-65380b2866d6" : {
"edge-SGSBC" : {
"rtp_crypto" : "",
"correlation_id" : "147d2eac-9ba8-450e-8513-65380b2866d6",
"duration" : "6538",
"transport" : "udp",
"answer_time" : "2021-03-01 13:14:17",
"uuid" : "b9aac7ca-2d9f-4e0e-827d-2ffc3b51efee",
"codec" : "PCMA",
"sip_resp_code" : "sip:200",
"seshid" : "147d2eac-9ba8-450e-8513-65380b2866d6",
"hangup_cause" : "NORMAL_CLEARING",
"end_time" : "2021-03-01 13:14:17",
"status" : "ANSWERED",
"direction" : "outbound",
"iso_answer_time" : "2021-03-01T05:14:17.170092+00:00",
"nodename" : "awszntedge1",
"edge_network" : "172.31.12.2,18.140.31.74",
"callid" : "96db8896-f4e0-1239-fcb5-0677079ea32c",
"start_time" : "2021-03-01 13:14:17",
"disposition" : "EDGE_SEND_BYE",
"interface" : "voice2",
"iso_end_time" : "2021-03-01T05:14:17.170136+00:00",
"local_media_address" : "111.22.33.4:56789",
"caller" : "+6561111111",
"peername" : "SGSBC",
"iso_start_time" : "2021-03-01T05:14:17.169920+00:00",
"user_agent" : "B3Networks",
"context" : "inside",
"callee" : "+6562222222",
"remote_signalling_address" : "00.11.234.56:5060",
"remote_media_address" : "00.11.234.56:10648"
}
}
}
},
"gateKeeperSpec" : {
"domain" : "gelcccs.zonetel.com.sg",
"orgUuid" : "ea6f73ee-9960-40f9-91c3-8473ade58a8a"
},
"version" : "v1"
}