I have an account with callcentric and they require “allowguest=yes” in order to work right. So I decided to add the lines:
deny=0.0.0.0/0.0.0.0 ; allow connections only from callcentric
To my callcentric peer in sip.conf. OTher than that, its configured exactly as callcentric requires on their web page. The idea here was that it would allow guest access, but only from callcentric servers. The problem is that the deny/permit lines above don’t do anything. I made an unregistered direct sip call from my softphone and it went through just fine. The softphone IP is something like 192.168… so it should have refused it. Yet, there it is.
My assumption is that the deny line above blocks all IPs and the two permits let in just those groups. But its not working.
Also in the peer is the line:
Is this a secret code that means “ignore permit/deny lines”?