Hello, in the documentation of the Module "Userblacklist" seems not really clear to me. Please clarify my doubts.
Refering to: http://www.kamailio.org/docs/modules/3.0.x/modules_k/userblacklist.html in "4.1. check_user_blacklist" is written: "[...]If a match is found and it is not set to whitelist, false is returned. Otherwise, true is returned.[...]" Question: 1.) Is "not whitelisted" equal to "blacklisted"? 2.) Why is "false" returned if the blacklist_check is positive? 3.) Is "true" even returned if there's no match? I'd have expected the following: if (user_is_blacklisted) then return TRUE; else return FALSE; Can you please clarify the behavior? Thank you. Regards, Nicolas Example that seems clear to me: =============================== In "4.2. check_user_whitelist" is written: "[...]If a match is found and it is set to whitelist, true is returned. Otherwise, false is returned.[...]" cause it means to me: if (user_is_whitelisted) then return TRUE; else return FALSE; -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users