Fix record app

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-10-28 22:14:08 +00:00
parent 22384074d9
commit 913f28a9c2

View File

@@ -105,6 +105,10 @@ static int record_exec(struct ast_channel *chan, void *data)
ext = strchr(filename, '.');
if (!ext)
ext = strchr(filename, ':');
if (ext) {
*ext = '\0';
ext++;
}
}
if (!ext) {
ast_log(LOG_WARNING, "No extension specified to filename!\n");