[OpenSIPS-Users] Blocking unwanted calls
    Indiver 
    nehru.indu at gmail.com
       
    Wed Apr 21 14:02:57 CEST 2010
    
    
  
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.
    
    
More information about the Users
mailing list