summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-11-27 20:50:48 +0000
committerOlle Johansson <oej@edvina.net>2007-11-27 20:50:48 +0000
commit4bf40290ae9a1952f3847cd13dd7e6d1918a72fc (patch)
treebbd79703a19b8cd369b6e7c71e5aa2f39beea12c /include
parent28257e4005b0daaa89f25d5e7b0264ab74713432 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/manager.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h
index 6566713f1..79a1998d0 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 */