From 4bf40290ae9a1952f3847cd13dd7e6d1918a72fc Mon Sep 17 00:00:00 2001 From: Olle Johansson <oej@edvina.net> Date: Tue, 27 Nov 2007 20:50:48 +0000 Subject: [PATCH] More "moremanager" changes - doxygen docs and changing manager version (finally) before making more dramatic changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89770 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/manager.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h index 6566713f15..79a1998d09 100644 --- a/include/asterisk/manager.h +++ b/include/asterisk/manager.h @@ -32,10 +32,16 @@ \verbatim + For Actions replies, the first line of the reply is a "Response:" header with + values "success", "error" or "follows". "Follows" implies that the + response is coming as separate events with the same ActionID. If the + Action request has no ActionID, it will be hard matching events + to the Action request in the manager client. + The first header type is the "Event" header. Other headers vary from - event to event. Headers end with standard \r\n termination. + event to event. Headers end with standard \\r\\n termination. The last line of the manager response or event is an empty line. - (\r\n) + (\\r\\n) \endverbatim @@ -44,7 +50,7 @@ You can find a reference of standard headers in doc/manager.txt */ -#define AMI_VERSION "1.0" +#define AMI_VERSION "1.1" #define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */ #define EVENT_FLAG_SYSTEM (1 << 0) /* System events such as module load/unload */ -- GitLab