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:
Joshua Colp
2014-12-09 15:44:05 +00:00
parent 64581d894d
commit 74b032bb03
5 changed files with 236 additions and 23 deletions

View File

@@ -112,6 +112,14 @@
"required": false,
"allowMultiple": false,
"dataType": "string"
},
{
"name": "originator",
"description": "The unique id of the channel which is originating this one.",
"paramType": "query",
"required": false,
"allowMultiple": false,
"dataType": "string"
}
],
"errorResponses": [
@@ -244,6 +252,14 @@
"required": false,
"allowMultiple": false,
"dataType": "string"
},
{
"name": "originator",
"description": "The unique id of the channel which is originating this one.",
"paramType": "query",
"required": false,
"allowMultiple": false,
"dataType": "string"
}
],
"errorResponses": [