I don't think is correct what you did - while iterating through all the chars 
of the username, it exits with error if any char is not digit -> if it is 
before OR after the set of digits (in the ascii array). 
So it is an "OR" and not an "AND" . A digit cannot be before 0 AND after 9 in 
the same time :) .
Can you print "c" in the "if" here:
   https://github.com/OpenSIPS/opensips/blob/2.1/modules/uri/checks.c#L354
(before the return -1).

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/762#issuecomment-172577012
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to