mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user