KI-AGENT: Anrufbuttons und Telefoniejournal erweitern
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user