- Модуль: voximplant
- Путь к файлу: ~/bitrix/modules/voximplant/lib/call.php
- Класс: BitrixVoximplantCall
- Вызов: Call::toArray
public function toArray()
{
return [
'ID' => $this->id,
'CONFIG_ID' => $this->configId,
'USER_ID' => $this->userId,
'PORTAL_USER_ID' => $this->portalUserId,
'CALL_ID' => $this->callId,
'EXTERNAL_CALL_ID' => $this->externalCallId,
'INCOMING' => $this->incoming,
'CALLER_ID' => $this->callerId,
'STATUS' => $this->status,
'CRM' => $this->crm,
'CRM_ACTIVITY_ID' => $this->crmActivityId,
'CRM_CALL_LIST' => $this->crmCallList,
'CRM_BINDINGS' => $this->crmBindings,
'ACCESS_URL' => $this->accessUrl,
'DATE_CREATE' => $this->dateCreate,
'REST_APP_ID' => $this->restAppId,
'EXTERNAL_LINE_ID' => $this->externalLineId,
'PORTAL_NUMBER' => $this->portalNumber,
'STAGE' => $this->stage,
'IVR_ACTION_ID' => $this->ivrActionId,
'QUEUE_ID' => $this->queueId,
'QUEUE_HISTORY' => $this->queueHistory,
'SESSION_ID' => $this->sessionId,
'CALLBACK_PARAMETERS' => $this->callbackParameters,
'COMMENT' => $this->comment,
'WORKTIME_SKIPPED' => $this->worktimeSkipped ? 'Y' : 'N',
'SIP_HEADERS' => $this->sipHeaders,
'GATHERED_DIGITS' => $this->gatheredDigits,
'PARENT_CALL_ID' => $this->parentCallId,
'LAST_PING' => $this->lastPingDate,
'EXECUTION_GRAPH' => $this->executionGraph,
];
}