summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapps/app_record.c1
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 */