diff --git a/frontend/src/components/CallUI.vue b/frontend/src/components/CallUI.vue index 693257de..da5c1945 100644 --- a/frontend/src/components/CallUI.vue +++ b/frontend/src/components/CallUI.vue @@ -197,6 +197,7 @@ import { Device } from '@twilio/voice-sdk' import { useDraggable, useWindowSize } from '@vueuse/core' import { globalStore } from '@/stores/global' import { contactsStore } from '@/stores/contacts' +import { capture } from '@/telemetry' import { Avatar, call } from 'frappe-ui' import { onMounted, ref, watch } from 'vue' @@ -403,6 +404,8 @@ async function makeOutgoingCall(number) { showCallPopup.value = true callStatus.value = 'initiating' + capture('make_outgoing_call') + _call.on('messageReceived', (message) => { let info = message.content callStatus.value = info.CallStatus