[svn-commits] oej: trunk r89770 - /trunk/include/asterisk/manager.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 27 14:50:49 CST 2007


Author: oej
Date: Tue Nov 27 14:50:48 2007
New Revision: 89770

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89770
Log:
More "moremanager" changes - doxygen docs and changing manager version (finally)
before making more dramatic changes.

Modified:
    trunk/include/asterisk/manager.h

Modified: trunk/include/asterisk/manager.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/manager.h?view=diff&rev=89770&r1=89769&r2=89770
==============================================================================
--- trunk/include/asterisk/manager.h (original)
+++ trunk/include/asterisk/manager.h Tue Nov 27 14:50:48 2007
@@ -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 */




More information about the svn-commits mailing list