@extends('layouts.admin') @section('title', 'Voice API Management') @section('top')Add provider@endsection @section('content')
Only one provider is the default at a time. Switching affects new calls only; existing calls keep their original provider and receive callbacks through its adapter.
@if($providers->isEmpty())@else
@foreach($providers as $p)@php $v = $p->verification ?? []; $ok = collect($checks)->filter(fn($l,$k)=>$v[$k]['ok'] ?? false)->count(); @endphp @endforeach
ProviderTypeAPI base URLStateConnectionCost/callLanguagesDTMFVerified checksCalls
{{ $p->name }}
{{ $p->slug }} ยท added {{ $p->created_at->format('d M Y') }}
{{ $p->adapter }}{{ $p->base_url }} @if($p->is_active)ACTIVE DEFAULT@else@endif @if($p->last_test_at)
{{ $p->last_test_at->diffForHumans() }}
@if($p->last_error)
{{ \Illuminate\Support\Str::limit($p->last_error, 60) }}
@endif @elsenever tested@endif
{{ number_format($p->cost_per_call, 4) }}{{ implode(', ', $p->supported_languages ?? []) }}{{ $p->supports_dtmf ? 'yes' : 'no' }}{{ $ok }}/{{ count($checks) }}{{ $p->calls_count }} Edit Logs
@endif
@endsection