• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/lib/signaling.php
  • Класс: BitrixVoximplantSignaling
  • Вызов: Signaling::sendUpdatePortalUser
public function sendUpdatePortalUser($userId)
{
	if($this->call->isInternalCall() && Loader::includeModule('im'))
	{
		$portalCallData = CIMContactList::GetUserData([
			'ID' => [$this->call->getPortalUserId()],
			'DEPARTMENT' => 'N',
			'HR_PHOTO' => 'Y',
		]);
	}
	else
	{
		$portalCallData = [];
	}

	$this->send(
		[$userId],
		static::COMMAND_UPDATE_PORTAL_USER,
		[
			'portalCall' => $this->call->isInternalCall(),
			'portalCallData' => $portalCallData,
			'portalCallUserId' => $this->call->isInternalCall() ? $this->call->getPortalUserId() : 0,
		]
	);
}