Fix record app
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4124 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
2b12533e83
commit
cc877d2d6e
|
@ -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");
|
||||
|
|
Reference in New Issue