Twilio.Device - Besides Connect - Answer?
I'm referencing the following quick-start:
File: quickstart.js - it holds the js code for the Twilio.Device.
Currently there is : Twilio.Device.connect
which fires when the outbound call is connected.
I need to know when the call is "Answered" - to be able to distinguish between when the phone is ringing and when the call is answered by the person being called.
Is there CB function currently implemented? If so where?
If not - is there a way to acquire the SIP codes associated with the call?
What I'm trying to accomplish is to time between when the call is active and if (and when) a call is answered to automatically hangup prior to an answering machine answering the phone - and bail from this timing process if the call is actually answered.
Additional: -- Use Twilio AMD when also using the Client SDK (browser call) - ....
I know that AMD has Twilio send a CB to the Server - did the Browser still receive the "Connect" or is the Browser NOW out of the picture?
- 55 All Categories
- 4 SIGNAL 2021
- 217 Product Discussions
- 9 Community - Announcements
- 2 Changelog
- 4 Forum UI Updates
- 5 Welcome Guide
- 4 Community - Events
- 1 External Community Events
- 2 Twilio Relay Developer Conference 2021 Mega Thread
- 1 TwilioQuest Contest!
- 21 Inspiration
- 11 Community - Other Discussions
- 1 Community- Twilio Startups