Permit and Deny fields

Hello everyone,

Is there a way to put in multiple permit and deny addresses on a particular extension?

Thanks

Not in the gui.

However, you can try this approach:
In sip_custom_post.conf add the extension with this syntax (example for extension 2476):

[2476](+)
permit=192.168.1.0/255.255.255.0
permit=172.16.25.0/255.255.255.0
...
...

deny/permit are read top down, if you have deny=0.0.0.0/0.0.0.0 in the gui it will deny everything, that is why permit= is further down in the configuration.

So only add permit= in the sip_custom_post.conf.

Note2: This is untested and from memory, YMMV

You can use ‘&’ sign in the GUI and put multiple network ranges:

192.168.1.0/255.255.255.0&172.16.25.0/255.255.255.0

I try this & separator to see if it works with mine. Thanks for the input

Thank you I will try and see how it goes!