Hi, While working with the permissions module I ran across the case where I'd do a check_address(...) but the group id wouldn't exist. AFAIS in the code, there are only 2 possible return values: 1 if a match was found, or -1 if it wasn't found.
I'd like to add a new return code, -2 which would be returned if the group id being checked doesn't exist. This way the script writer could decide if the fact that the group doesn't exist is the same as the ip/mask/... not matching in an *existing* group. If there is no objection I'll make a patch and submit it to the tracker. Thanks and regards, -- Saúl Ibarra Corretgé AG Projects _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel