diff options
author | Mark Spencer <markster@digium.com> | 2004-03-22 04:04:07 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-03-22 04:04:07 +0000 |
commit | 284a5b3465b49cf79a37e93235bf9493a164d54c (patch) | |
tree | 0bc28e790b7ddacaf7eb9ef2bd53c326819ee21f /apps | |
parent | 25d74e0334f08f98e123ad6a833285fbfd3853e2 (diff) |
Store recorded file in RECORDED_FILE if %d is used... (bug #1062)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_record.c b/apps/app_record.c index 29d98f760..80dd1da89 100755 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -114,6 +114,7 @@ static int record_exec(struct ast_channel *chan, void *data) snprintf(tmp, 256, fil, count); count++; } while ( ast_fileexists(tmp, ext, chan->language) != -1 ); + pbx_builtin_setvar_helper(chan, "RECORDED_FILE", tmp); } else strncpy(tmp, fil, 256-1); /* end of routine mentioned */ |