From 3f730662f7906027c302896abd549a32123ec848 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 6 Mar 2014 18:20:37 +0000 Subject: res_stasis_recording: Add a "target_uri" field to recording events. This change adds a target_uri field to the live recording object. It contains the URI of what is being recorded. (closes issue ASTERISK-23258) Reported by: Ben Merrills Review: https://reviewboard.asterisk.org/r/3299/ ........ Merged revisions 410025 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410027 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/ari/resource_channels.c | 1 + 1 file changed, 1 insertion(+) (limited to 'res/ari/resource_channels.c') diff --git a/res/ari/resource_channels.c b/res/ari/resource_channels.c index 97d9bb3cf..35520702a 100644 --- a/res/ari/resource_channels.c +++ b/res/ari/resource_channels.c @@ -468,6 +468,7 @@ void ast_ari_channels_record(struct ast_variable *headers, response, 500, "Internal Server Error", "Out of memory"); } + ast_string_field_build(options, target, "channel:%s", args->channel_id); options->max_silence_seconds = args->max_silence_seconds; options->max_duration_seconds = args->max_duration_seconds; options->terminate_on = -- cgit v1.2.3