summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2014-12-09 20:19:40 +0000
committerKevin Harwell <kharwell@digium.com>2014-12-09 20:19:40 +0000
commit2f21f85c3733ff633937549c3ba8983df0636dce (patch)
tree947d5e0ef279ca153fc3dbb27ed39a3663ced829 /rest-api
parent525c823b4b7e63dc74669ebb5284397713804c75 (diff)
ARI/AMI: Include language in standard channel snapshot output
The channel "language" was already part of a channel snapshot, however is was not sent out over AMI or ARI. This patch makes it so the channel "language" is included in the appropriate AMI or ARI events. ASTERISK-24553 #close Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/4245/ ........ Merged revisions 429204 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/channels.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json
index f9c8d8647..cd309db10 100644
--- a/rest-api/api-docs/channels.json
+++ b/rest-api/api-docs/channels.json
@@ -1465,6 +1465,11 @@
"required": true,
"type": "Date",
"description": "Timestamp when channel was created"
+ },
+ "language": {
+ "required": true,
+ "type": "string",
+ "description": "The default spoken language"
}
}
}