- Issue created by @handkerchief
In the function \Drupal\twilio\Controller\TwilioController::receiveMessage(), the country code is removing with this code:
$number = Html::escape(str_replace('+' . $dial_code, '', $this->requestStack->getCurrentRequest()->get('From')));
Can I ask why? Because we need the country code to send messages to this numbers, so we store the numbers in drupal itself, but the number received in the hook HOOK_twilio_message_incoming() the country code is missing because of the code above.
Active
Code