KI-AGENT: Anrufbuttons und Telefoniejournal erweitern

This commit is contained in:
2026-05-22 16:14:07 +02:00
parent 3594dc69e8
commit 8a2429827c
5 changed files with 210 additions and 19 deletions

View File

@@ -90,11 +90,16 @@ export const useTelephonySoftphone = () => {
|| session?.outgoingInviteRequest?.message?.callId
|| null
const loadCallHistory = async () => {
const loadCallHistory = async (filters = {}) => {
callHistoryLoading.value = true
try {
callHistory.value = await $api("/api/telephony/calls?limit=20")
callHistory.value = await $api("/api/telephony/calls", {
params: {
limit: 50,
...filters,
}
})
} catch (error) {
addSipEvent(`Anrufhistorie konnte nicht geladen werden: ${error?.message || "Unbekannter Fehler"}`)
} finally {