summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2014-08-07 15:30:19 +0000
committerKinsey Moore <kmoore@digium.com>2014-08-07 15:30:19 +0000
commit0ac7f96057fb9fc0d012515f47bfea8d63eb5199 (patch)
tree8f807ace812c5d8d1cccb01b021ae050e975e550 /rest-api
parenta8829490b6b9891b352e39f3846de1f274ca632c (diff)
Stasis: Convey transfer information to applications
This fixes a class of issues where Stasis applications were not made aware that their channels were being manipulated or replaced by external entitiessuch as transfers, AMI commands, or dialplan applications such as Bridge(). Inconsistent information such as StasisEnd events with unknown channels as a result of masquerades has also been corrected. To accomplish these fixes, several new fields were added to blind and attended transfer messages as well as StasisStart and BridgeAttendedTransfer Stasis events. ASTERISK-23941 #close Review: https://reviewboard.asterisk.org/r/3865/ Review: https://reviewboard.asterisk.org/r/3857/ Review: https://reviewboard.asterisk.org/r/3852/ Review: https://reviewboard.asterisk.org/r/3816/ Review: https://reviewboard.asterisk.org/r/3731/ Review: https://reviewboard.asterisk.org/r/3729/ Review: https://reviewboard.asterisk.org/r/3728/ ........ Merged revisions 420325 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/events.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index 5e115fbd2..a0f70fa68 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -285,6 +285,11 @@
"required": true,
"type": "Channel"
},
+ "transferee": {
+ "description": "The channel that is being transferred",
+ "required": false,
+ "type": "Channel"
+ },
"exten": {
"description": "The extension transferred to",
"required": true,
@@ -325,6 +330,21 @@
"required": true,
"type": "Channel"
},
+ "replace_channel": {
+ "description": "The channel that is replacing transferer_first_leg in the swap",
+ "required": false,
+ "type": "Channel"
+ },
+ "transferee": {
+ "description": "The channel that is being transferred",
+ "required": false,
+ "type": "Channel"
+ },
+ "transfer_target": {
+ "description": "The channel that is being transferred to",
+ "required": false,
+ "type": "Channel"
+ },
"result": {
"description": "The result of the transfer attempt",
"required": true,
@@ -670,6 +690,10 @@
"channel": {
"required": true,
"type": "Channel"
+ },
+ "replace_channel": {
+ "required": false,
+ "type": "Channel"
}
}
},