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/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2014-03-06 18:18:16 +00:00
parent 5ac921edc3
commit b7326c2be7
8 changed files with 33 additions and 2 deletions
+1
View File
@@ -140,6 +140,7 @@ struct stasis_app_recording_options {
AST_DECLARE_STRING_FIELDS(
AST_STRING_FIELD(name); /*!< name Name of the recording. */
AST_STRING_FIELD(format); /*!< Format to be recorded (wav, gsm, etc.) */
AST_STRING_FIELD(target); /*!< URI of what is being recorded */
);
/*! Number of seconds of silence before ending the recording. */
int max_silence_seconds;