https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26285
Bug ID: 26285
Summary: Use country code + number (E.164) validation for SMS
numbers
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Patrons
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
According to the E.164 standard, a phone number must be a maximum of 12 digits
plus a 1-3 digit country code for a maximum of 15 digits.
For North America, that would look like +1 306 555 5555 (11 total digits) or
306 555 5555 (10 digits).
For Australian phone numbers, that looks like +61 2 5555 5555 (11 total digits)
or 02 5555 5555 (10 digits).
Unfortunately, since Bug 22594, Australian phone numbers without a country code
aren't validating because they start with a 0.
Further reading:
https://en.wikipedia.org/wiki/E.164
https://www.itu.int/rec/T-REC-E.164/
https://en.wikipedia.org/wiki/List_of_country_calling_codes
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/