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@kamailio.org>
To: sr-users@lists.sip-router.org; arun Jayaprakash <jayaprakasharun@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