I see that the --spi-phone-default-number-regx option was removed. I would still like to be able to use that feature in addition to --spi-phone-default-canonicalize-phone-numbers=true, because of SMS + shady telco issue:
https://news.ycombinator.com/item?id=34847650
Basically, folks can scam your SMS service and rack up SMS costs with AWS or twilio or whomever. If you have a regex, then at least you can restrict telephone numbers some. I was going to use the --spi-phone-default-number-regx to restrict numbers to something like ^\+1 509 \d{3}-\d{4}$, which would be cell numbers in a particular region of the USA.
Hi @cooperlyt ,
I see that the
--spi-phone-default-number-regx
option was removed. I would still like to be able to use that feature in addition to--spi-phone-default-canonicalize-phone-numbers=true
, because of SMS + shady telco issue: https://news.ycombinator.com/item?id=34847650Basically, folks can scam your SMS service and rack up SMS costs with AWS or twilio or whomever. If you have a regex, then at least you can restrict telephone numbers some. I was going to use the
--spi-phone-default-number-regx
to restrict numbers to something like^\+1 509 \d{3}-\d{4}$
, which would be cell numbers in a particular region of the USA.