[Asterisk-Users] SIP permit/deny

Mike Fedyk mfedyk at mikefedyk.com
Sun Jan 8 21:35:01 MST 2006


Douglas Garstang wrote:

>I have the following in sip.conf. It was my understanding that this configuration (ie with deny/permit) would only allow connections from hosts 192.168.10.4 and 192.168.10.5. That doesn't seem to be the case. Asterisk is accepting INVITE's from other addresses. 
>
>[a00090101]
>type=friend
>context=Company1
>username=a00090101
>;secret=180
>;insecure=very
>host=dynamic
>mailbox=company1 at vmusers
>deny=0.0.0.0/0.0.0.0
>permit=192.168.10.4/255.255.255.0
>permit=192.168.10.5/255.255.255.0
>  
>
Change your netmask to 255.255.255.255 or if possible use CIDR (/32).



More information about the asterisk-users mailing list