summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2014-12-08 15:49:24 +0000
committerMark Michelson <mmichelson@digium.com>2014-12-08 15:49:24 +0000
commit93b1df3bf6c6832053fc7444cd07640c273cb1df (patch)
tree53276d6b4595f86f337f95420acf1bd94bdb27cd /rest-api
parent55c9a46abdec10fec5210622b4508ee5e7791a65 (diff)
Add new AMI and ARI events for connected line changes on a channel.
The AMI event is called NewConnectedLine and the ARI event is called ChannelConnectedLine. ASTERISK-24554 #close Reported by Matt Jordan Review: https://reviewboard.asterisk.org/r/4231 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/events.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index d75e84b96..eac1e3f42 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -165,7 +165,8 @@
"Dial",
"StasisEnd",
"StasisStart",
- "TextMessageReceived"
+ "TextMessageReceived",
+ "ChannelConnectedLine"
]
},
"DeviceStateChanged": {
@@ -712,6 +713,17 @@
"type": "Endpoint"
}
}
+ },
+ "ChannelConnectedLine": {
+ "id": "ChannelConnectedLine",
+ "description": "Channel changed Connected Line.",
+ "properties": {
+ "channel": {
+ "required": true,
+ "type": "Channel",
+ "description": "The channel whose connected line has changed."
+ }
+ }
}
}
}