Hi,
Not sure what's the DB issue as I see no errors or DB related issues in
your report.
In regards to the posted "ERROR" - you call the function for a
sequential/in-dialog request, which has RURI without a username part -
and here the error comes, as the BL functions needs a username part.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 28.11.2024 01:13, Saint Michael wrote:
I always get this error
It never connects to the database. The table is empty
mariadb opensips -e "select * from version"
+-----------------+---------------+
| table_name | table_version |
+-----------------+---------------+
| globalblacklist | 2 |
| userblacklist | 2 |
ERROR:userblacklist:check_user_blacklist: cannot parse msg URI
xlog("Found $var(media_ip) \r\n");
if (has_totag()) {
if (!check_user_blacklist("media", "$var(media_ip)")) {
xlog("Blocked $var(media_ip) \r\n");
send_reply(404, "Forbidden: Media IP Blacklisted");
exit;
}
}
loadmodule "userblacklist.so"
modparam("userblacklist", "db_url",
"unixodbc://xxxx:password@localhost/opensips")
modparam("userblacklist", "db_table", "userblacklist")
modparam("userblacklist", "use_domain", 1)
any idea?
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users