[OpenSIPS-Users] Blocking unwanted calls

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 21 14:21:46 CEST 2010


The function names are different in 1.5 and 1.6. see the corresponding docs:
     http://www.opensips.org/html/docs/modules/1.5.x/permissions.html

Regards,
Bogdan

Indiver wrote:
> Hi Bodgan,
>
> I tried the permission module. My opensips version is 1.5.3-notls. I'm
> getting the error not found command check_address. I tried to replace with
> check_source_address but same result. Does 1.5.3 doesn't support the above
> functions. I added the below code in my config file
>
> if (check_address("0", "$si", "$sp") ) {
> 	   sl_send_reply("403", "Forbidden");
> }
>
> and in address table , added ipaddress.
>
> Regards,
> Nehru.
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list