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
This commit is contained in:
Kevin Harwell
2014-12-09 20:20:27 +00:00
parent c17cef1c38
commit d673209abc
5 changed files with 27 additions and 2 deletions

View File

@@ -1465,6 +1465,11 @@
"required": true,
"type": "Date",
"description": "Timestamp when channel was created"
},
"language": {
"required": true,
"type": "string",
"description": "The default spoken language"
}
}
}