CallLogTable::removeByCallId

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. CallLogTable
  4. removeByCallId
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/voximplant/calllog.php
  • Класс: Bitrix\Sender\Integration\VoxImplant\CallLogTable
  • Вызов: CallLogTable::removeByCallId
static function removeByCallId($callId = null)
{
	$list = static::getList(array(
		'select' => array('CALL_ID', 'RECIPIENT_ID'),
		'filter' => array(
			'LOGIC' => 'OR',
			'=CALL_ID' => $callId,
			' static::getFilterCurrentDate(),
		)
	));
	foreach ($list as $item)
	{
		static::delete($item);
	}
}

Добавить комментарий