Call log API

The service allows customers who want to manage their call log in their own system to call Dstny's API to retrieve call data for the entire organization.
Mobil växel i molnet
Fyra olika grafer av data visualisering.

Incorporate your statistics in any way you choose

With the Call log API, call data can be retrieved for up to three months back, every five minutes. Then you can store it in your own systems, for example SQL, and build your own applications. You can also analyze your call data together with other business data. In other words, the service does not have a ready-made interface (web page) where the information can be viewed, but is a service for transferring call data from our systems to the customers' own systems.

Perfect for developers

The Call log API allows those of you who want to manage your own call history in your own systems to call Dstny's API to retrieve call data for the entire organization. The information comes as aggregated CDR data.

This is an example of what a response might look like from an PBX

[
  {
    "callerNo": "+4672111111",
    "start": "2017-01-04T16:16:04.274+01:00",
    "receivingNo": "622",
    "received": "2017-01-04T16:16:10.279+01:00",
    "calleeNo": "+4672555555",
    "calleeAnswered": "2017-01-04T16:16:10.279+01:00",
    "stop": "2017-01-04T16:17:31.164+01:00"
  },
  {
    "callerNo": "+4672222222",
    "start": "2017-01-04T16:16:03.004+01:00",
    "receivingNo": "711",
    "received": "2017-01-04T16:16:10.279+01:00",
    "calleeNo": "+4672777777",
    "calleeAnswered": null,
    "stop": "2017-01-04T16:16:33.578+01:00"
  },
  {
    "callerNo": "+4672333333",
    "start": "2017-01-04T16:16:03.004+01:00",
    "receivingNo": "800",
    "received": null,
    "calleeNo": "+4672888888",
    "calleeAnswered": null,
    "stop": "2017-01-04T16:16:33.578+01:00"
  }    
]

Response description

callerNostartreceivingNoreceived
From which number the call was made.Date and time when the caller dialed the number and picked up the phone.Which number first received the call. If this number is not empty, it is the number to a response group that can be 'ATTENDANT', 'ACD', 'ACD Light', or 'HUNT GROUP'. Note that, for example, 'IVR' (interactive voice response) is excluded.When the call was received, date and time, otherwise the value 'null'.
callerNocallerAnsweredstop
Number to the first real person (user in the PBX) who received the call.Date and time when the receiving person answered the call. If the call was not answered for some reason, the value is 'null'.Date and time when the call ended. Note that the call is considered ended when the first person who received the call either hung up or transferred the call.
Laptop som visar analytics

Search by date and time periods

If you want to retrieve call log for a certain period of time, you can use the parameters 'from' (= from and including) and 'to' (= up to and including). The search can, for example, be between two times on the same day or span several days.

Exemple:
https://api.dstny.se/cdr/historik?from=2017-01-04 08:00&to=2017-01-04 17:00
https://api.dstny.se/cdr/historik?from=2017-01-01 08:00&to=2017-01-04 17:00
https://api.dstny.se/cdr/historik?from=2017-01-04&to=2017-01-04

Let us contact you

Our competent sales advisors would be happy to contact you and help with your specific needs, or call 010-410 51 30 to talk to an advisor directly.