[Home]

Summary:ASTERISK-24656: AMI: Protocol errors
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2015-01-02 18:55:00.000-0600Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Channels/chan_iax2 Channels/chan_pjsip Core/ManagerInterface
Versions:13.1.0 Frequency of
Occurrence
Constant
Related
Issues:
is related toASTERISK-24049 Asterisk Manager Interface: A number of list type responses aren't using astman_send_listack
is related toASTERISK-25708 chan_iax2: No ActionID field in iaxpeers Asterisk Manager command
Environment:Attachments:
Description:This is a follow on to ASTERISK-24049.

* The AMI action IAXpeers does not setup the given ActionID value for the {{PeerEntry}} list event even though the lower level code would send it.

* The usage of {{ast_sip_create_ami_event()}} needs to be audited.  An allocation failure uses {{astman_send_error_va()}} even though the caller may have started a list series.  This violates the AMI protocol action/response pattern by sending two responses to the original AMI action request.
Comments: