mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -426,6 +426,7 @@ struct ast_str *ast_manager_build_channel_state_string_prefix(
|
||||
"%sCallerIDName: %s\r\n"
|
||||
"%sConnectedLineNum: %s\r\n"
|
||||
"%sConnectedLineName: %s\r\n"
|
||||
"%sLanguage: %s\r\n"
|
||||
"%sAccountCode: %s\r\n"
|
||||
"%sContext: %s\r\n"
|
||||
"%sExten: %s\r\n"
|
||||
@@ -438,6 +439,7 @@ struct ast_str *ast_manager_build_channel_state_string_prefix(
|
||||
prefix, S_OR(snapshot->caller_name, "<unknown>"),
|
||||
prefix, S_OR(snapshot->connected_number, "<unknown>"),
|
||||
prefix, S_OR(snapshot->connected_name, "<unknown>"),
|
||||
prefix, snapshot->language,
|
||||
prefix, snapshot->accountcode,
|
||||
prefix, snapshot->context,
|
||||
prefix, snapshot->exten,
|
||||
|
Reference in New Issue
Block a user