ACL with PJSIP reload not working

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

Please file an issue[1]. PJSIP configuration doesn’t reload if nothing has changed, and I think it is currently unaware that the ACL portion has changed.

[1] https://issues.asterisk.org/jira

Thank you for your response. I filed an issue.

https://issues.asterisk.org/jira/browse/ASTERISK-28697

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.