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

Invalid phone number when receiving text message from provider #113

Open
aschoneveld opened this issue Sep 20, 2017 · 0 comments
Open

Invalid phone number when receiving text message from provider #113

aschoneveld opened this issue Sep 20, 2017 · 0 comments

Comments

@aschoneveld
Copy link

When I am receiving text messages from my mobile provider (KPN in Netherlands) the phone number cannot be parsed and an error is thrown:
"Phone number invalid, only numbers and '+' prefix allowed"
This is caused by the fact that in TXSMSPacket.java the phone number is matched against:
"^\+?\d+$"
Since the phone number field from my provider apparently contains the text "KPN" a text message from this provider can never be received.

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

No branches or pull requests

1 participant