On 11/12/14 00:54, Juha Heinanen wrote:
> 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.

Pushed a patch for this, with the constraint that next digit after +
must not be 0.

>
> 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.
Not sure if anyone use them, but after all they are probably just some
wrappers.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to