-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e164 Mustache filter transforms UK phone number into US phone number #11
Comments
Calling the same UK phone number results in a correct conversion, however, in the The number is received by Twilio as:
and correctly transformed to:
|
Let's try different values:
|
The |
I have reported this issue to Twilio for their consideration. As a workaround, I now recommend, for the configuration of any new phone number, to remove all dashes from the phone number value used as unique SIP domain. There is no point in changing the configuration of existing phone numbers. If your number works correctly and you can make calls from your SIP phone to regular phone numbers, it means that your SIP domain name is not affected by the unexpected conversion to a different international country code when getting through the e164 Mustache filter. |
I configured a new UK mobile phone number today, which failed to make calls due to an invalid caller id.
I am using the generic TwiML Bin from the guide, which extracts the phone number from the SIP Domain:
The e164 Mustache filter used to extract my own phone number from the SIP Domain no longer works with that UK phone number. The caller id is reported as invalid.
I reproduced the issue using a fake UK phone number, which I included in the example below:
The error log shows the resulting value, which is quite unexpectedly a US Phone number:
I have also tried prefixing the value with a
+
which makes no difference:
The text was updated successfully, but these errors were encountered: