Skip to content

Not able to send on call response using send digit function #219

@Punit30

Description

@Punit30

Issue Summary

I am encountering an issue with sending digits on a call using a custom keypad in both iOS and Android. When the sendDigits() function is called, it returns true, but nothing is being sent to the other side of the call. During debugging, I observed the following message: "E/TwilioVoiceConnectionService(27523): onStartCommand: ACTION_SEND_DIGITS is missing String EXTRA_DIGITS." The cause of this problem is not clear, and I am seeking assistance to understand and resolve the issue.

**Note: When giving response on twilio_voice call from android native UI keypad it works fine.

Steps to Reproduce

  1. Create a Google Meet meeting from a professional account or any other outgoing call requiring a PIN to join. It allows you to join via a call by entering the meeting PIN.
  2. Below is the code for my dialpad:
Expanded(
    child: DialPadGrid(
            isDialPad: false,
            aspectFactor: 3.1,
            itemCount: 12,
            primaryTextColor: Pallete.white,
            secondaryTextColor: Pallete.slateBlue,
            buttonColor: Pallete.lightSteelBlue,
            controller: controller,
            onKeyPress: (value) async {
              print(value);
              await _tv.call.sendDigits(value).then((value) => print("digit sent succefully"));
            },
       ),
  )

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

I'm unsure whether this is a bug, but I would appreciate guidance on optimizing on-call responses through a custom dialpad. I aim to enhance the user experience and would like to understand the necessary adjustments for achieving this goal.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions