Peter Cameron-Burnett
Peter Cameron-Burnett

Reputation: 11

How do you (or can you) use Twilio Studio's Make Outgoing Call widget when using Whatsapp?

Context

Problem

Question

Do we need to use a function to make the call rather than a studio widget when moving from WA channel to voice channel? The outgoing call widget is hardcoded to dial the channel address (Ie the inbound users number) so I'm wondering if the number is handled differently for WA traffic.

Many thanks for any suggestions!

Upvotes: 1

Views: 866

Answers (1)

Alan
Alan

Reputation: 10771

H Peter, I was able to reproduce the behavior. I agree with you, it seems an alternate approach, given "Number to Call" in the Make Outgoing Call Widget V2 is hardcoded to contact.channel.address is to use a Run Function Widget or HTTP Request Widget to kick off a new flow via the REST API Trigger Widget path.

You can report this behavior to [email protected], and see what advice they have. The error's are basically:

Failure connecting call: 'The phone number you are attempting to call, whatsapp:+1xxxxxxxxxx, is not valid.'

You get a similar same error from the From, Failure connecting call:

'From is not a valid phone number: whatsapp:+1xxxxxxxxxx'

but you can modify that from the default "Number to Make Call From", flow.channel.address to get past that first error.

Upvotes: 3

Related Questions