Hello
I created a named ACL in acl.conf
. I have that ACL referenced in pjsip.conf
. The ACL is working as intended, but when I update my ACL the change is not applied.
So for example when I add a new IP to that ACL I then reload ACL when I check with acl show dispatcher-acl
the new IP is visible there. But it has has not been applied to PJSIP (Incoming SIP message from newIP:5060 did not pass ACL test
), even when I reload PJSIP. The only way to apply this is by restarting Asterisk or by removing my reference from PJSIP then reload, add it back and reload again. Am I doing something wrong or is this so by design?
acl.conf
:
[dispatcher-acl]
deny=0.0.0.0/0.0.0.0
permit=dispatcherIP
pjsip.conf
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0:5080
tos = cs3
cos = 3
[dispatcher-acl]
type=acl
acl=dispatcher-acl
[dispatcher]
type = endpoint
transport = transport-udp