diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-22 04:04:07 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-22 04:04:07 +0000 |
commit | 580be254cffaa87c60aa8c485e40825e63e8b0dc (patch) | |
tree | 0bc28e790b7ddacaf7eb9ef2bd53c326819ee21f /apps/app_record.c | |
parent | b38953a8f3ab2bebc1440126f537bd7e578f8f00 (diff) |
Store recorded file in RECORDED_FILE if %d is used... (bug #1062)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2519 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_record.c')
-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 */ |