[Home]

Summary:ASTERISK-27009: AMI Ping Action returns Permission denied
Reporter:Kevin Stange (kstange)Labels:
Date Opened:2017-05-19 12:08:33Date Closed:2017-05-19 18:52:04
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:13.15.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Asterisk 13.15.0 under FreePBX 13Attachments:
Description:We had been running asterisk 13.14.0 and we had a third party integration set up which would authenticate to the manager interface and then call the Ping action.

The manager config looks like this:

[name]
secret = <secret>
deny=0.0.0.0/0.0.0.0
permit=<IP>/255.255.255.255
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
write = system,call,originate
writetimeout = 100

This worked fine.  After upgrading to version 13.15.0, we suddenly started seeing this:

id: 326777
ActionID: 326777
Action: Ping

Response: Error
ActionID: 326777
Message: Permission denied

I did some research and I wasn't able to find a documented permission that is to be used for allowing the Ping action or any notes of changes to AMI in 13.15.0's ChangeLog.

This seems like a bug, but if it's working as intended, perhaps some documentation of the change is missing?

I downgraded back to 13.14.0 and my application's able to call Ping again.
Comments:By: Asterisk Team (asteriskteam) 2017-05-19 12:08:34.118-0500

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].

By: Kevin Stange (kstange) 2017-05-19 18:51:37.870-0500

After further review of the third party application, we've determined that they are acting improperly on the 2.10.0 version banner, which is causing this problem, so it doesn't appear to be a bug.  Sorry for the noise.