Question On Permit/deny

Home » Asterisk Users » Question On Permit/deny
Asterisk Users 1 Comment

I see in my log file this:
Jun 30 21:44:26] NOTICE[42192][C-000002f3] chan_sip.c: Call from ” (
5.189.144.120:5076) to extension ‘011972592675431’ rejected because extension not found in context ‘default’.

which is great its rejected – however in my sip.conf file I have

deny=0.0.0.0
permit=x.y.z.z/255.255.255.255
permit=a.b.c.d/255.255.255.255

So I’m expecting to deny everything and only allow the two addresses I have listed of which the 5.189.144.120 is not one of?

What is wrong with my permit/deny ?

Thanks,

Jerry

One thought on - Question On Permit/deny