Skip to content
Snippets Groups Projects
Commit d5e2ef6d authored by Matt Jordan's avatar Matt Jordan Committed by Gerrit Code Review
Browse files

Merge "app_record: RECORDED_FILE variable not being populated"

parents 4effba0d c7410150
Loading
...@@ -294,9 +294,10 @@ static int record_exec(struct ast_channel *chan, const char *data) ...@@ -294,9 +294,10 @@ static int record_exec(struct ast_channel *chan, const char *data)
} }
count++; count++;
} while (ast_fileexists(tmp, ext, ast_channel_language(chan)) > 0); } while (ast_fileexists(tmp, ext, ast_channel_language(chan)) > 0);
pbx_builtin_setvar_helper(chan, "RECORDED_FILE", tmp);
} else } else
ast_copy_string(tmp, args.filename, sizeof(tmp)); ast_copy_string(tmp, args.filename, sizeof(tmp));
pbx_builtin_setvar_helper(chan, "RECORDED_FILE", tmp);
/* end of routine mentioned */ /* end of routine mentioned */
if (ast_channel_state(chan) != AST_STATE_UP) { if (ast_channel_state(chan) != AST_STATE_UP) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment