cybex-dev / twilio_voice

Flutter Twilio Voice Plugin
https://twilio-voice-web.web.app/
MIT License
39 stars 79 forks source link

Unregistering a Twilio instance does not end active calls on it. #229

Open yacoublambaz opened 4 months ago

yacoublambaz commented 4 months ago

Issue Summary

Steps to Reproduce

  1. Make a call
  2. Unregister from TwilioVoice.instance while the call is still ongoing

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

Since I no longer have a token, I should be expected to be disconnected from all calls.

bazl-E commented 2 months ago

I think it is expected behavior, unregister call back only unregister the current token and prevent getting further calls, you should call the hangup method before calling unregister