CRM/backend/app/Services/VoIP/VoIPProviderInterface.php

12 خطوط
335 B
PHP

<?php
namespace App\Services\VoIP;
interface VoIPProviderInterface
{
public function initiateCall(string $phone, string $callerId = null): array;
public function getCallStatus(string $providerCallId): array;
public function getRecordingUrl(string $providerCallId): ?string;
public function testConnection(): array;
}