diff options
Diffstat (limited to 'main/stasis_channels.c')
-rw-r--r-- | main/stasis_channels.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/stasis_channels.c b/main/stasis_channels.c index 816efdb45..11a2941fa 100644 --- a/main/stasis_channels.c +++ b/main/stasis_channels.c @@ -888,7 +888,7 @@ struct ast_json *ast_channel_snapshot_to_json( /* Broken up into groups of three for readability */ "{ s: s, s: s, s: s," " s: o, s: o, s: s," - " s: o, s: o }", + " s: o, s: o, s: s }", /* First line */ "id", snapshot->uniqueid, "name", snapshot->name, @@ -902,7 +902,8 @@ struct ast_json *ast_channel_snapshot_to_json( /* Third line */ "dialplan", ast_json_dialplan_cep( snapshot->context, snapshot->exten, snapshot->priority), - "creationtime", ast_json_timeval(snapshot->creationtime, NULL)); + "creationtime", ast_json_timeval(snapshot->creationtime, NULL), + "language", snapshot->language); return ast_json_ref(json_chan); } |