[sr-dev] git:master: siputils: new function is_tel_number(val)

Juha Heinanen jh at tutpro.com
Thu Dec 11 00:54:32 CET 2014


to complete the story, i'll add is_numeric function telling if parameter
consists solely of decimal digits.  i checked my config and found that it
contains more of those tests than is_tel_number tests.

regarding is_tel_number test, it currently returns true on "+"
argument. i would suggest that at least one digit must follow + sign.

also, while checking the list of existing siputils functions, i found
these two be redundant:

is_uri_user_e164(pseudo-variable)
is_rpid_user_e164()

i suggest that they are removed.

-- juha



More information about the sr-dev mailing list