Skip to content
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

[fix](sessions) fix formatting in getFullNumber to work nicely with international number #45

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

areski
Copy link
Contributor

@areski areski commented Nov 30, 2020

This PR attempts a better formatting of the outbound number to work with international calling.
For instance when calling +34650740101 we ensure to not duplicate the + sign.

It might be worth in future version to integrate with https://www.npmjs.com/package/libphonenumber-js

@areski
Copy link
Contributor Author

areski commented Dec 3, 2020

Hi @noahmehl
I just added a simple way to sanitize the phonenumber so that +(123) 456-7890 become +1234567890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant