mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
ari: Add support for specifying an originator channel when originating.
If an originator channel is specified when originating a channel the linked ID of it will be applied to the newly originated outgoing channel. This allows an association to be made between the two so it is known that the originator has dialed the originated channel. ASTERISK-24552 #close Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/4243/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -74,6 +74,8 @@ struct ast_ari_channels_originate_args {
|
||||
const char *channel_id;
|
||||
/*! The unique id to assign the second channel when using local channels. */
|
||||
const char *other_channel_id;
|
||||
/*! The unique id of the channel which is originating this one. */
|
||||
const char *originator;
|
||||
};
|
||||
/*!
|
||||
* \brief Body parsing function for /channels.
|
||||
@@ -133,6 +135,8 @@ struct ast_ari_channels_originate_with_id_args {
|
||||
struct ast_json *variables;
|
||||
/*! The unique id to assign the second channel when using local channels. */
|
||||
const char *other_channel_id;
|
||||
/*! The unique id of the channel which is originating this one. */
|
||||
const char *originator;
|
||||
};
|
||||
/*!
|
||||
* \brief Body parsing function for /channels/{channelId}.
|
||||
|
Reference in New Issue
Block a user