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.
-- 
View this message in context: 
http://n2.nabble.com/Blocking-unwanted-calls-tp4935421p4936539.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to