• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/call/signaling.php
  • Класс: BitrixImCallSignaling
  • Вызов: Signaling::sendFinish
public function sendFinish()
{
	$push = [
		'send_immediately' => 'Y',
		//'expiry' => 0,
		'params' => [],
		'advanced_params' => [
			'id' => 'IM_CALL_'.$this->call->getId().'_FINISH',
			'notificationsToCancel' => ['IM_CALL_'.$this->call->getId()],
			'callkit' => true,
			'filterCallback' => [static::class, 'filterPushesForApple'],
		]
	];

	return $this->send('Call::finish', $this->call->getUsers(), [], $push, 3600);
}