AMI version 1.4 Specification Review Request
Review Request #2269 - Created Jan. 8, 2013 and submitted
A proposed revamp of the AMI protocol has been written and is available for discussion: https://wiki.asterisk.org/wiki/display/AST/AMI+1.4+Specification Please note that this will change the AMI protocol significantly, and represents a major shift in how the protocol represents operations in Asterisk to consumers of the protocol.
Posted (Jan. 8, 2013, 3:11 a.m.)
Based on a quick look, I like it! The documentation is very clearly written. Just a few thoughts: Tags - My first thought was that multiple tags should not be on separate lines, like in the example provided for sip peers in sip.conf. Generally, one would think that the first tag would be overwritten by the second tag. What about a comma delimited list and then we could call that setting "tags" instead of "tag" (tags=special_endpoints,endpoint_group_one). I can just picture somebody putting tag towards the top of a peer definition and then another one later on and not figuring out that they have multiple tags and wondering why they are getting messages that they shouldn't be getting. Just throwing that out there. Keys - Keys are case insensitive. Why not case sensitive? Port and bindaddr - Why don't we combine these to one setting, bindaddr? We are doing that for tlsbindaddr and I believe other parts of Asterisk do this now too.
Posted (Jan. 8, 2013, 8:57 a.m.)
In section 4.2, I'd like to see the message format spelled out a little bit more. What characters are allowed in the key, and in the value? Is there any escaping mechanism for embedded new lines, or colons in the key? I'm also thinking about this bug I filed a while back: https://issues.asterisk.org/jira/browse/ASTERISK-20369
Posted (April 12, 2013, 3:33 p.m.)
> The combination of DTMFBegin/DTMFEnd events replaces the deprecated DTMF event. Deprecated means that it's there and we're not using it. Do you mean removed?
Review request changed
Updated (Sept. 26, 2013, 2:56 p.m.)
- changed from pending to submitted