Country code added to numbers that already have a country code

Created on 25 August 2016, about 8 years ago
Updated 16 July 2024, 4 months ago

I ran into an issue where I was replying back to an SMS received from Twilio that already had the country code on the front, and the module would then try to add it again, as seen on line 214 of twilio.module:

'To' => '+' . $data['country'] . $data['number'],

Patch attached.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024