Your IP : 13.58.48.103


Current Path : /var/www/axolotl/data/www/nn.axolotls.ru/bitrix/modules/crm/lib/integration/
Upload File :
Current File : /var/www/axolotl/data/www/nn.axolotls.ru/bitrix/modules/crm/lib/integration/voximplantmanager.php

<?php

namespace Bitrix\Crm\Integration;
use Bitrix\Main\Loader;
use Bitrix\Voximplant\Transcript;

class VoxImplantManager
{
	public static function getCallInfo($callID)
	{
		if(!Loader::includeModule('voximplant'))
		{
			return null;
		}

		$info = \CVoxImplantHistory::getBriefDetails($callID);
		return is_array($info) ? $info : null;
	}

	public static function saveComment($callId, $comment)
	{
		if(!Loader::includeModule('voximplant'))
		{
			return null;
		}

		\CVoxImplantHistory::saveComment($callId, $comment);
	}
}