-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Following the example, I'm getting:
_deviceReady params undefined
_deviceDidStartListening params undefined
{ type: 'DEVICE_LISTENING_START', params: undefined }
{ callState:
{
callDirection: null,
callingError: 'Twilio Services Error',
callFromNumber: null,
callToNumber: null,
listening: true
},
telephonyState: { deviceReady: true, deviceError: null, clientName: 'jenny' }
}
And this is what I'm trying to
Twilio.init()
Twilio.makeCall(`client:Julia-1`)
const telephonyService = {
init (client) {
this.initDeviceListeners()
return new Promise((resolve, reject) => {
api.request().then((token) => {
Twilio.initWithToken(token)
return resolve(true)
}).catch((error) => {
return resolve(error)
})
})
},
...
Metadata
Metadata
Assignees
Labels
No labels