dect
/
asterisk
Archived
13
0
Fork 0

Fix record app

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4124 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-10-28 22:14:08 +00:00
parent 2b12533e83
commit cc877d2d6e
1 changed files with 4 additions and 0 deletions

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");