[asterisk-users] asterisk 16 manager --END COMMAND--

Jacek Konieczny jajcus at jajcus.net
Mon Oct 15 01:36:23 CDT 2018


On 2018-10-12 12:22, Dmitry Melekhov wrote:

>> AMI:
>>   - The Command action now sends the output from the CLI command as a
>> series
>>     of Output headers for each line instead of as a block of text with
>> the
>>     --END COMMAND-- delimiter to match the output from other actions.
>>
>>     Commands that fail to execute (no such command, invalid syntax
>> etc.) now
>>     return an Error response instead of Success.
>>
> Very pity that you break compatibility...

The old AMI protocol was so broken, so it was hardly possible to make
any compatible client implementation. Whatever you do, it would break on
some corner cases. This change fixed a little bit of this mess.

And if some client library is not properly updated for major Asterisk
releases, then that is not Asterisk to blame.

Jacek



More information about the asterisk-users mailing list