[SR-Users] check blacklist error...

arun Jayaprakash jayaprakasharun at yahoo.com
Tue Jul 16 18:48:17 CEST 2013


Thank you. I had to make the following change too for this to work, if not I was getting an invalid parameter error.



if(!check_blacklist()){
        sl_send_reply("403","Forbidden");
            exit;
             }

Regards,
Arun


________________________________
 From: Henning Westerholt <hw at kamailio.org>
To: sr-users at lists.sip-router.org; arun Jayaprakash <jayaprakasharun at yahoo.com> 
Sent: Tuesday, July 16, 2013 7:36 AM
Subject: Re: [SR-Users] check blacklist error...
 

Am Montag, 15. Juli 2013, 18:56:58 schrieb arun Jayaprakash:
> Hello, I am trying to activate the check blacklist function but I keep
> getting an error. The script I run is this;
> 
> if(!check_blacklist("global_blacklist")){
>          sl_send_reply("403","Forbidden");
>            exit;
>             }
> 
> When I restart kamailio I get the following error; 
> 
> failed to find command check_blacklist
> Is there any module I will need to activate to make this work? 
> 

Hi Arun,

have you activated the userblacklist module?

Cheers,

Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130716/5894b33a/attachment.html>


More information about the sr-users mailing list