twilio / twilio-voice-react-native

Other
74 stars 29 forks source link

How to handle call accept and reject for outbound call? #424

Open oleksiiSevrukovRedvike opened 1 month ago

oleksiiSevrukovRedvike commented 1 month ago

Good morning. I would like to know how to know that outbound call was accepted or rejected. According to docs there is no event for such case. I use this version "@twilio/voice-react-native-sdk": "^1.0.0",

oleksiiSevrukovRedvike commented 1 month ago

Also I found similar issue but for release candidate version

mhuynh5757 commented 2 weeks ago

Hi @oleksiiSevrukovRedvike do you have answerOnBridge enabled in your TwiML? In any case, you should be able to listen to the connected and connectFailure/disconnected events? Please let me know if those events do not suffice for your use case.