Skip to content

After First Call, Dialer Sends Incorrectly Formatted Number to Dialpad/call-outbound-join Endpoint #49

@pihish

Description

@pihish

After the first call, subsequent calls using the Dialer results in a

"error":"The phone number you are attempting to call, +3324327116, is not valid."

response from POST https://flex.twilio.com/v1/Dialpad/call-outbound-join

The first outgoing call sends out the API request correctly, but subsequent API requests from the dialer incorrectly appends a "+" sign before the phone number value.

So if I enter 444-222-3333 into the dialer, the requested number is +444-222-3333 (even though I didn't put a "+" in front of the number in the dialer). And since you must append the local number with a country code if you include the "+" sign, the resulting call fails.

I found you can get around this bug by entering the full phone number with country code and the plus sign. So for the above number, if I enter +1-444-222-3333 into the dialer, the call does go through.

This looks to be a simple parsing fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions