[SR-Users] check_user_black_list error

Bruno Machado bsmufu at yahoo.com.br
Tue Oct 19 16:03:11 CEST 2010


Hi

I'm using version 1.5.4 and the module userblacklist is not working how I was 
expecting. 

The function check_user_black_list() returns the correct value. After some 5 
minutes, it
changes its return value. I'm blocking users that are not in the table. However, 
after this
time, the functions says that they exist, but it is not true.

Someone know why it happens? Could it be a module's bug? 

#avp 100 is a part of the username's RURI
if(check_user_blacklist("$fU","$rd","$avp(s:100)"))
{

 sl_send_reply("403", "Forbidden");
 exit;
}


Tks,
bruno machado



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101019/62585e4f/attachment.htm>


More information about the sr-users mailing list