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/
........

Merged revisions 429153 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2014-12-09 15:45:19 +00:00
parent b6e18cae5c
commit 60ab564ad2
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": [