res_pjsip: Add ActionID to events created as a result of PJSIP AMI actions

A number of various PJSIP AMI actions were failing to parse out and place the
ActionID into their responses. This patch updates the various PJSIP actions
such that the passed in ActionID is emitted on any event list complete events,
as well as any intermediate events created as a result of the action.

#ASTERISK-23947 #close
Reported by: Mark Michelson

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Jordan
2014-06-27 13:50:02 +00:00
parent 512e505dc3
commit 15dcaeef82
5 changed files with 42 additions and 25 deletions

View File

@@ -1719,6 +1719,8 @@ struct ast_sip_ami {
struct mansession *s;
/*! Manager message */
const struct message *m;
/*! Manager Action ID */
const char *action_id;
/*! user specified argument data */
void *arg;
};