fix: capture on making a call
This commit is contained in:
parent
d77643b3e8
commit
accccc95b8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user