From: Matthew Jordan Date: Tue, 15 Jul 2014 22:05:16 +0000 (+0000) Subject: manager: Return ActionID on nominal responses to PresenceState action X-Git-Tag: 11.12.0-rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc6904871ffae5c00947d72f37a56719a187c33;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@418713 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index 6093f9eb5b..eac03e758c 100644 --- a/main/manager.c +++ b/main/manager.c @@ -4666,6 +4666,7 @@ static int action_presencestate(struct mansession *s, const struct message *m) "Message: %s\r\n", message); } + astman_start_ack(s, m); astman_append(s, "Message: Presence State\r\n" "State: %s\r\n" "%s"