manager: Return ActionID on nominal responses to PresenceState action
authorMatthew Jordan <mjordan@digium.com>
Tue, 15 Jul 2014 23:12:33 +0000 (23:12 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 15 Jul 2014 23:12:33 +0000 (23:12 +0000)
commit96cbaa187a36a767872997a664040278d61007c8
tree3075d2da3e61676b82bcf64f161416b04410019e
parentca587079c011df171c8b0597af1d997845281dbd
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.

Unlike the Asterisk 11 and 12 patches, this patch also deprecates the
duplicate Message key in the response to the action, replacing it with the
key 'PresenceMessage'.

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

ASTERISK-23985 #close
........

Merged revisions 418713 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 418714 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
UPGRADE.txt
main/manager.c