summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2014-12-09 20:20:27 +0000
committerKevin Harwell <kharwell@digium.com>2014-12-09 20:20:27 +0000
commitd673209abcd1a80e3c79153fd639bd84d21045e5 (patch)
treea294e1f3b5bb278600bf2f7b2365b4ea1a32075a /rest-api
parentc17cef1c383e34128cb8e3b3bdd573bad72caf75 (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 ........ Merged revisions 429206 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429209 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"
}
}
}