CallFilters
Optional filters that limit the scope of calls (joined via AND)
Properties
Name | Type | Required | Description |
---|---|---|---|
extension_filters | ExtensionFilters | ❌ | Specifies filtering based on extension ids |
queues | List[str] | ❌ | List of queues extension ids which allows to get data only for calls that were routed through any of these queues |
called_numbers | List[str] | ❌ | The direct company numbers the caller called (joined via OR) |
directions | List[Direction] | ❌ | Specifies the call directions relative to the scope specified in grouping object (joined via OR). Not applicable to internal origin calls with company scope |
origins | List[Origin] | ❌ | Specifies whether an external party was present in the initial segment of the call (joined via OR) |
call_responses | List[CallResponse] | ❌ | Filtering of calls by first response (joined via OR) |
call_results | List[CallResult] | ❌ | Filtering of calls by the nature of call result (joined via OR) |
call_segments | List[CallSegmentFilter] | ❌ | Filtering of calls by presence of specific segment (joined via OR) |
call_actions | List[CallAction] | ❌ | Filtering of calls by presence of specific action (joined via OR) |
company_hours | List[CompanyHoursOptions] | ❌ | Filtering of calls by company's business hours or after hours (joined via OR) |
call_duration | CallDurationFilter | ❌ | Filtering of calls based on the overall call length |
time_spent | TimeSpentFilter | ❌ | Filtering of calls based on the time spent by specified mailbox(es) on call |
queue_sla | List[QueueSlaOptions] | ❌ | Filtering calls that were within or out of queue SLA (joined via OR). Only applicable to Queues grouping |
call_types | List[CallType] | ❌ | Filtering of calls based on how the call started from the callee perspective (joined via OR). If the call is outbound relative to the grouping scope, CallType is Outbound |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs