[asterisk-bugs] [JIRA] (ASTERISK-28697) ACL portion not updating with PJSIP reload

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jan 16 06:50:25 CST 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249422#comment-249422 ] 

Asterisk Team commented on ASTERISK-28697:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> ACL portion not updating with PJSIP reload
> ------------------------------------------
>
>                 Key: ASTERISK-28697
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28697
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_acl
>    Affects Versions: 16.7.0
>            Reporter: Timothy Vanderaerden
>            Severity: Minor
>
> Changes that have been made to ACL are not being applied after you reload ACL or/and PJSIP. This happens when you use a named ACL that is configured in _acl.conf_ and referenced in _pjsip.conf_. The only way to enforce the updated ACL is to either restart Asterisk or by removing the ACL reference from PJSIP then reload PJSIP, add that reference to PJSIP again and finally reload PJSIP again.
> *Configuration:*
> {code:title=acl.conf}
> [dispatcher-acl]
> deny=0.0.0.0/0.0.0.0
> permit=dispatcherIP
> {code}
> {code:title=pjsip.conf}
> [dispatcher-acl]
> type=acl
> acl=dispatcher-acl
> {code}
> *Steps to reproduce:*
> 1. Create named ACL in _acl.conf_.
> 2. Reference ACL in _pjsip.con_.
> 3. Reload acl
> 4. pjsip reload
> 5. Update named ACL
> 6. Reload acl
> 7. pjsip reload
> _acl show dispatcher-acl_: shows the updated configuration but PJSIP still uses the old ones. You will get the following message: 
> {noformat}
> Incoming SIP message from {thatIpYouUpdated} did not pass ACL test
> {noformat}
> 1. Remove ACL reference from _pjsip.conf_
> 2. pjsip reload
> 3.. Add that ACL reference back to _pjsip.conf_
> 4. pjsip reload
> Now the changes from ACL are applied to PJSIP.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list