• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_status.php
  • Класс: \CCrmStatus
  • Вызов: CCrmStatus::GetDefaultCallListStates
static function GetDefaultCallListStates(): array
{
	return [
		[
			'NAME' => GetMessage('CRM_CALL_LIST_IN_WORK'),
			'STATUS_ID' => 'IN_WORK',
			'SORT' => 10,
			'SYSTEM' => 'Y'
		],
		[
			'NAME' => GetMessage('CRM_CALL_LIST_SUCCESS'),
			'STATUS_ID' => 'SUCCESS',
			'SORT' => 20,
			'SYSTEM' => 'Y'
		],
		[
			'NAME' => GetMessage('CRM_CALL_LIST_WRONG_NUMBER'),
			'STATUS_ID' => 'WRONG_NUMBER',
			'SORT' => 30,
			'SYSTEM' => 'Y'
		],
		[
			'NAME' => GetMessage('CRM_CALL_LIST_STOP_CALLING'),
			'STATUS_ID' => 'STOP_CALLING',
			'SORT' => 40,
			'SYSTEM' => 'Y'
		],
	];
}