summaryrefslogtreecommitdiff
path: root/UPGRADE.txt
diff options
context:
space:
mode:
authorGareth Palmer <gareth@acsdata.co.nz>2015-04-17 15:34:59 +1200
committerGeorge Joseph <george.joseph@fairview5.com>2015-04-20 23:02:06 -0500
commit2f418c052eceea421ddbc2ca28e1139a471e6da6 (patch)
treefcf3286a3bc3206e33004b2d9a23bc16b90ebebb /UPGRADE.txt
parentf89481e39c0dc0682b6720108a9cda843d2e596c (diff)
New AMI Command Output Format
This change modifies how the the output from a CLI command is sent to a client over AMI. Output from the CLI command is now sent as a series of zero-or-more Output: headers. Additionally, commands that fail to execute (eg: no such command, invalid syntax etc.) now cause an Error response instead of Success. If the command executed successfully, but the manager unable to provide the output the reason will be included in the Message: header. Otherwise it will contain 'Command output follows'. Depends on a new version of starpy (> 1.0.2) that supports the new output format. See pull-request https://github.com/asterisk/starpy/pull/34 ASTERISK-24730 Change-Id: I6718d95490f0a6b3f171c1a5cdad9207f9a44888
Diffstat (limited to 'UPGRADE.txt')
-rw-r--r--UPGRADE.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt
index 8a349f0df..0696adb29 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -46,5 +46,13 @@ Logging:
- The first callid created is now 1 instead of 0. The value 0
is now reserved to represent a lack of callid.
+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.
+
===========================================================
===========================================================