KI-AGENT: Easybell SIP-Trunk integrieren
This commit is contained in:
@@ -52,7 +52,7 @@ const applyTrunk = async () => {
|
||||
trunkStatus.value = res?.status || trunkStatus.value
|
||||
toast.add({
|
||||
title: res?.warning ? "Trunk-Konfiguration geschrieben" : "Trunk angewendet",
|
||||
description: res?.warning || (res?.status?.registered ? "Telekom-Registration ist aktiv." : "Asterisk wurde neu geladen."),
|
||||
description: res?.warning || (res?.status?.registered ? "Trunk-Registration ist aktiv." : "Asterisk wurde neu geladen."),
|
||||
color: res?.warning ? "orange" : "success"
|
||||
})
|
||||
} catch (error) {
|
||||
@@ -115,7 +115,7 @@ onMounted(async () => {
|
||||
Externe Telefonie
|
||||
</h2>
|
||||
<p class="mt-1 text-sm text-gray-500">
|
||||
Telekom-Anbindung über den lokalen Asterisk-Trunk.
|
||||
SIP-Trunk-Anbindung über den lokalen Asterisk.
|
||||
</p>
|
||||
</div>
|
||||
<UBadge :color="config?.external?.enabled ? 'success' : 'neutral'" variant="soft">
|
||||
@@ -197,7 +197,7 @@ onMounted(async () => {
|
||||
<UAlert
|
||||
:color="trunkStatus?.registered ? 'success' : (trunkStatus?.reachable ? 'warning' : 'neutral')"
|
||||
:icon="trunkStatus?.registered ? 'i-heroicons-check-circle' : (trunkStatus?.reachable ? 'i-heroicons-exclamation-triangle' : 'i-heroicons-signal-slash')"
|
||||
:title="trunkStatus?.registered ? 'Telekom-Trunk registriert' : (trunkStatus?.hasRegistration ? 'Telekom-Trunk nicht registriert' : 'Keine Telekom-Registration aktiv')"
|
||||
:title="trunkStatus?.registered ? 'SIP-Trunk registriert' : (trunkStatus?.hasRegistration ? 'SIP-Trunk nicht registriert' : 'Keine Trunk-Registration aktiv')"
|
||||
:description="trunkStatus?.message || (trunkStatus?.reachable ? 'Asterisk-AMI ist erreichbar.' : 'Asterisk-AMI ist noch nicht erreichbar.')"
|
||||
/>
|
||||
<div class="flex flex-wrap gap-2 lg:justify-end">
|
||||
|
||||
Reference in New Issue
Block a user