emxsys / callattendant

A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi. Screens callers and block robocalls and scams with a low-cost Raspberry Pi and modem.
https://emxsys.github.io/callattendant/
MIT License
117 stars 36 forks source link

Remove phone number input mask #111

Closed emxsys closed 4 years ago

emxsys commented 4 years ago

To support a variety of international phone numbers, make the phone number input validation mask configurable. Include support for no validation.

emxsys commented 4 years ago

Consider simply removing the input validation mask.

emxsys commented 4 years ago

Removed the phone number input validation mask to accommodate various number formats. Numbers are stripped of non-alphanumeric chars before being stored in the database. Alpha chars are now allows. (I'm aware of two alpha strings used in the USA: "P" and "O" for "private" and "outside area" respectively).