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

AttributeDescription
correlation_idCDR mapping for far-end by SIP Header: X-EDGE-CORRELATION-ID
statuscall status, it can be answer, cancel, congestion, etc
calleedestination number
directiondirection of the call
durationduration of the call in second
local_media_addressedge ip address of media/rtp
user_agentfar-end sip user agent
remote_signalling_addressfar-end ip address of signaling/sip
remote_media_addressfar-end ip address of media/rtp
edge_networkip address of edge processed for this call
uuidleg uuid
rtp_cryptomedia encryption suite was used for this call
nodenamename of node member that processed the call
peernamename of trunk that processed the call
codecnegotiated codec was used in call
hangup_causereason why call hang up
seshidsession uuid
interfacesip interface that call engaged with
callidsip call id of the call
callersource number
transporttransport protocol that SIP relies on, the value can be ucptcptls 
sip_resp_codewell, sip response code sip:{code}
start_timewhen the call started with format ISO8601
answer_timewhen the call answered with format ISO8601
end_timewhen the call ended with format ISO8601
dispositionwho hung up the call

Example:

1 {
2  "data" : {
3    "module" : "call",
4    "eventName" : "vendorCDRExtra",
5    "timestamp" : 1614575657225,
6    "txnUuid" : "fdd9be18-7dfa-49d0-8c47-33f3b4598917",
7    "legs" : {
8     "147d2eac-9ba8-450e-8513-65380b2866d6" : {
9       "edge-SGSBC" : {
10        "rtp_crypto" : "",
11        "correlation_id" : "147d2eac-9ba8-450e-8513-65380b2866d6",
12        "duration" : "6538",
13        "transport" : "udp",
14        "answer_time" : "2021-03-01 13:14:17",
15        "uuid" : "b9aac7ca-2d9f-4e0e-827d-2ffc3b51efee",
16       "codec" : "PCMA",
17        "sip_resp_code" : "sip:200",
18        "seshid" : "147d2eac-9ba8-450e-8513-65380b2866d6",
19        "hangup_cause" : "NORMAL_CLEARING",
20        "end_time" : "2021-03-01 13:14:17",
21        "status" : "ANSWERED",
22        "direction" : "outbound",
23        "iso_answer_time" : "2021-03-01T05:14:17.170092+00:00",
24        "nodename" : "awszntedge1",
25        "edge_network" : "172.31.12.2,18.140.31.74",
26        "callid" : "96db8896-f4e0-1239-fcb5-0677079ea32c",
27        "start_time" : "2021-03-01 13:14:17",
28        "disposition" : "EDGE_SEND_BYE",
29        "interface" : "voice2",
30        "iso_end_time" : "2021-03-01T05:14:17.170136+00:00",
31        "local_media_address" : "111.22.33.4:56789",
32        "caller" : "+6561111111",
33        "peername" : "SGSBC",
34        "iso_start_time" : "2021-03-01T05:14:17.169920+00:00",
35        "user_agent" : "B3Networks",
36        "context" : "inside",
37        "callee" : "+6562222222",
38        "remote_signalling_address" : "00.11.234.56:5060",
39        "remote_media_address" : "00.11.234.56:10648"
40      }
41       }
42     }
43 },
44 "gateKeeperSpec" : {
45   "domain" : "gelcccs.zonetel.com.sg",
46   "orgUuid" : "ea6f73ee-9960-40f9-91c3-8473ade58a8a"
47 },
48 "version" : "v1"
49 }

Call Now Button Call Us To Know More
SCHEDULE A CALL

X
x

View Our Promotions