When setting up a SIP or IAX trunk and putting multiple permit or deny rules in the "other options" box, PBX Manager removes all but the last one entered when saving it to the config file. The syntax of the file allows multiple of these, and it's necessary when talking to a multi-homed SIP provider who could deliver a call to you from any of a few IPs.
If I put the following in the box:
permit=ipaddress1
permit=ipaddress2
permit=ipaddress3
deny=0.0.0.0/0
Then I get the following written to the file:
permit=ipaddress3
deny=0.0.0.0/0
Using PBX Manager 6.0.1.69
and my example is actually
and my example is actually backwards, the deny should have been listed first (for my specific example). Last matching rule wins according ot the docs.
multiple permit/deny rules don't work on sip/iax trunks
Dave,
Thanks for reporting. This is not going to be an easy fix - I will see what can be done.
Alex
in case it's doing any kind of hashing, note that the order they're listed is important, so the order needs to be preserved as well.