summaryrefslogtreecommitdiff
path: root/res/ari/resource_channels.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2014-03-06 18:20:37 +0000
committerJoshua Colp <jcolp@digium.com>2014-03-06 18:20:37 +0000
commit3f730662f7906027c302896abd549a32123ec848 (patch)
treeaf8cebbb9e464be139a2580f248f53c03f91ce68 /res/ari/resource_channels.c
parent59ff66ef0275ff9985a3cd3168fc797cf152b38e (diff)
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
Diffstat (limited to 'res/ari/resource_channels.c')
-rw-r--r--res/ari/resource_channels.c1
1 files changed, 1 insertions, 0 deletions
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 =