cybex-dev / twilio_voice

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

customParams field in Active Call is null on Answer event. #232

Open agent515 opened 3 months ago

agent515 commented 3 months ago

Issue Summary

Active Call has a field customParams which contains extraOptions passed during a Twilio Call. If it's passed, customParams has a non-null value on Ringing event which is correct. But it is null on Answer event.

Steps to Reproduce

  1. Receive a Twilio Call with non-null customParams
  2. Answer the call
  3. Get Active Call by calling TwilioVoice.instance.call.activeCall and check customParams value.

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

I expect to get a similar customParams value of Active on both Ringing and Answer events.