Skip to main content

CDR


After a call ends in Simotel, the CDR (Call Detail Record) event is triggered and call details are sent with it.

Event Parameters

DescriptionDefined DataSample DataParameters
Event Name-CDRevent_name
Call Start Time-11:55:33.208640 2017-11-12start_time
Call End Time-11:55:51.208640 2017-11-12end_time
Source Number-09991101756src
Destination Number-553dst
Call Typeincoming- outgoing- local-feature- no definedincomingtype
Call StatusAnswered- No Answered- BusyAnswereddisposition
Total Call Duration-18duration
Wait Time Before Answer-5billsec
Call Wait Time-15wait
Successful Call Audio File Name-0999911_2017111201756.553.151048mp3.7732.164444record
Rating Given During the Call (if a survey was done)-10poll_point
Survey Name Done During the Call (if a survey was done)-mypollpoll_lable
SimulTel Incoming Gateway Name-2191305588entry_point
SimulTel Outgoing Gateway Name-2191305936outgoing_point
Unique Call ID Generated by the Call Center-1510564538.919cuid
Bidirectional Call ID-orig.call.1683107010.780601originated_call_id

Sample Output of CDR Event

{
"event_name": "Cdr",
"starttime": "2021-01-16 06:30:37.471398",
"endtime": "2021-01-16 06:30:37.471398",
"src": "991",
"dst": "993",
"type": "local",
"disposition": "ANSWERED",
"billsec": 9,
"wait": 11,
"record": "20210116_1610778618.378.mp3",
"unique_id": "1610778618.378"
}
{
"event_name": "Cdr",
"starttime": "2021-01-16 07:17:00.508368",
"endtime": "2021-01-16 07:17:01.508368",
"src": "992",
"dst": "66",
"type": "local",
"disposition": "NO ANSWER",
"duration": 1,
"wait": 1,
"unique_id": "1610781419.387"
}