Voice call statistics
Dillo allows you to receive calls on your Dillo numbers. When an incoming call is received, you can decide the behavior with a phone application created on your account and assigned it to your number.
Prerequisites- Have an account.If you don't have an account you can create one here.
- A phone number to receive calls. You can buy a Dillo number through the Phone number module, Buy new number page.
- Phone application assigned to the number. You can create a custom phone application in your account through the Voice module, Application Phone page.
https://api.dillo.cloud/api/inbound/voice/{inboundActiveNumber}/{startDate}/{endDate}/{page?}
***Replace {inboundActiveNumber} with the inbound phone number, {startDate} with the begin date and {endDate} with the end period.The request has the following parameters:
Parameter | Description | Required | Value |
---|---|---|---|
InboundActiveNumber | The inbound telephone number (must contain the country dial code, ex: 39 for Italy, 44 for UK, 40 for Romania) | Yes | |
StartDate | The begin period for the statistics. The maximum period allowed is 31 days. | Yes | Must have "yyyy-MM-dd" format |
EndDate | The end period for the statistics. The maximum period allowed is 31 days. | Yes | Must have "yyyy-MM-dd" format |
Page | The page number for pagination.The response will contain a maximum of 20 items. | No | Default value 1. |
Request Example
C#
JavaScript
Java
Python
The response is a list of InboundVoiceCall, that has the following properties:
Schema
Example
Property | Type | Description |
---|---|---|
CustomerCode | String | The customer code who received the call |
CreatedOnUtc | String | The UTC date when the call was received |
TelephoneNumber | String | The phone number which made the call |
InboundActiveNumber | String | The phone number which received the call. The same value as the parameter. |
InboundActiveNumberId | String | The id of the inbound phone number. |
CallDuration | double | Call duration in seconds |
IsFallbackExecuted | boolean | Indicates if the fallback application phone was executed. If false the primary application phone was executed. |
Price | decimal | The total cost of the voice call |
ChannelBehavior | String | The channel behavior that was executed during the voice call |
Recordings | array | The list of voice call recordings with their transcriptions and their prices if any |
CollectedDigits | array | The list of the collected digits |
DialActions | array | The list of the dial actions executed during the voice call |