Route: CDR

CDR Route is used to get a report of all conference instances and get Call Detail Record(CDR) log details.

List of Filters available are as below:
  1. Get CDR for a Period
  2. Get CDR for a Room ID
  3. Get CDR for a Room ID & Period
  4. Get CDR for a Conference number



Get CDR for a Period

This helps you to get a CDR logs for all your Applications for any given period.

URL: https://api.enablex.io/%version-slug%/cdr/period/{from-date}/{to-date}
Method: GET
Paratmeters: from_date , to_date
Date Format: YYYY-MM-DD

Response JSON: { "result": "0", "cdr": [ { "trans_date": "2018-05-03T00:00:00.000Z", "conf_num": "abc", "call_num": "xyz", "call_log_id": null, "room": { "room_id": "xyzxyz", "connect_dt": "2018-05-03T11:11:36.487Z", "disconnect_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "conference": { "start_dt": "2018-05-03T11:11:36.487Z", "end_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "user": { "ip": "192.168.200.181", "name": "", "role": "moderator", "ref": "", "agent": "okhttp/3.5.0", "token": "", "confName": "" }, "sigserver": { "connect_dt": "2018-05-03T11:11:36.486Z", "ip": "", "disconnect_dt": "2018-05-03T11:25:41.391Z", "duration": 844.905, "hold_duration": 0.001 }, "published_track": { "audio": "true", "data": "true", "video": "true", "screen": "false", "url": "false" }, "usage": { "subscribed_minutes": 7868.691, "published_minutes": 7905.458 }, "app_id": "xyzxyzxyzxyz", "cdr_id": "abcabcabc" }, ] }



Get CDR for a Room-ID

This helps you to get CDR logs for all conference sessions carried out in a given room.

URL: https://api.enablex.io/%version-slug%/cdr/room/{room-id}
Method: GET
Paratmeters: room-id

Response JSON: { "result": "0", "cdr": [ { "trans_date": "2018-05-03T00:00:00.000Z", "conf_num": "abc", "call_num": "abcxyz", "call_log_id": null, "room": { "room_id": "xyzxyz", "connect_dt": "2018-05-03T11:11:36.487Z", "disconnect_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "conference": { "start_dt": "2018-05-03T11:11:36.487Z", "end_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "user": { "ip": "192.168.200.181", "name": "", "role": "moderator", "ref": "", "agent": "okhttp/3.5.0", "token": "", "confName": "" }, "sigserver": { "connect_dt": "2018-05-03T11:11:36.486Z", "ip": "", "disconnect_dt": "2018-05-03T11:25:41.391Z", "duration": 844.905, "hold_duration": 0.001 }, "published_track": { "audio": "true", "data": "true", "video": "true", "screen": "false", "url": "false" }, "usage": { "subscribed_minutes": 7868.691, "published_minutes": 7905.458 }, "app_id": "xyzxyzxyz", "cdr_id": "abcabcabc" }, ] }



Get CDR for a Room ID & Period

This helps you to get CDR logs for all conference sessions carried out in a given Room within a given period.

URL: https://api.enablex.io/%version-slug%/cdr/room-period/{room-id}/{from-date}/{to-date}
Method: GET
Paratmeters: room-id , from-date , to-date
Date Format: YYYY-MM-DD

Response JSON: { "result": "0", "cdr": [ { "trans_date": "2018-05-03T00:00:00.000Z", "conf_num": "abc", "call_num": "abcxyz", "call_log_id": null, "room": { "room_id": "xyzxyz", "connect_dt": "2018-05-03T11:11:36.487Z", "disconnect_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "conference": { "start_dt": "2018-05-03T11:11:36.487Z", "end_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "user": { "ip": "192.168.200.181", "name": "", "role": "moderator", "ref": "", "agent": "okhttp/3.5.0", "token": "", "confName": "" }, "sigserver": { "connect_dt": "2018-05-03T11:11:36.486Z", "ip": "", "disconnect_dt": "2018-05-03T11:25:41.391Z", "duration": 844.905, "hold_duration": 0.001 }, "published_track": { "audio": "true", "data": "true", "video": "true", "screen": "false", "url": "false" }, "usage": { "subscribed_minutes": 7868.691, "published_minutes": 7905.458 }, "app_id": "xyzxyzxyz", "cdr_id": "abcabcabc" }, ] }



Get CDR for a Conference Number

This helps you to get CDR logs for one conference session i.e. for the given conference number

URL: https://api.enablex.io/%version-slug%/cdr/conf/{conf-num}
Method: GET
Paratmeters: conf-num

Response JSON: { "result": "0", "cdr": [ { "trans_date": "2018-05-03T00:00:00.000Z", "conf_num": "abc", "call_num": "abcxyz", "call_log_id": null, "room": { "room_id": "xyzxyz", "connect_dt": "2018-05-03T11:11:36.487Z", "disconnect_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "conference": { "start_dt": "2018-05-03T11:11:36.487Z", "end_dt": "2018-05-03T13:23:26.328Z", "duration": 7909.841 }, "user": { "ip": "192.168.200.181", "name": "", "role": "moderator", "ref": "", "agent": "okhttp/3.5.0", "token": "", "confName": "" }, "sigserver": { "connect_dt": "2018-05-03T11:11:36.486Z", "ip": "", "disconnect_dt": "2018-05-03T11:25:41.391Z", "duration": 844.905, "hold_duration": 0.001 }, "published_track": { "audio": "true", "data": "true", "video": "true", "screen": "false", "url": "false" }, "usage": { "subscribed_minutes": 7868.691, "published_minutes": 7905.458 }, "app_id": "xyzxyzxyz", "cdr_id": "abcabcabc" }, ] }