[asterisk-commits] mjordan: branch 11 r418713 - /branches/11/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 15 17:05:19 CDT 2014


Author: mjordan
Date: Tue Jul 15 17:05:16 2014
New Revision: 418713

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418713
Log:
manager: Return ActionID on nominal responses to PresenceState action

When the PresenceState action is executed, the nominal path fails to include
the ActionID in the successful response. This patch adds a call to
astman_start_ack, which guarantees that an ActionID (if provided) will be
sent back to the AMI client.

Review: https://reviewboard.asterisk.org/r/3776/

ASTERISK-23985 #close

Modified:
    branches/11/main/manager.c

Modified: branches/11/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/manager.c?view=diff&rev=418713&r1=418712&r2=418713
==============================================================================
--- branches/11/main/manager.c (original)
+++ branches/11/main/manager.c Tue Jul 15 17:05:16 2014
@@ -4666,6 +4666,7 @@
 				"Message: %s\r\n", message);
 	}
 
+	astman_start_ack(s, m);
 	astman_append(s, "Message: Presence State\r\n"
 			"State: %s\r\n"
 			"%s"




More information about the asterisk-commits mailing list