Realtime ps_endpoints deny/permit

I was trying to use the PJSIP in realtime, using MySQL database, but it seems the fields “deny” and “permit” are not used while being still in the alembic structure. I have tried setting an endpoint with deny 0.0.0.0/32 and permit 100.100.100.100/32, but I am still able to register from any random IP. Or maybe I have overlooked something?

I tested but it works using IP address not network range

deny

The value is a comma-delimited list of IP addresses. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash (’/’)

permit

The value is a comma-delimited list of IP addresses. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash (’/’)