Skip to content
Snippets Groups Projects
Commit 913f28a9 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix record app

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 22384074
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,10 @@ static int record_exec(struct ast_channel *chan, void *data) ...@@ -105,6 +105,10 @@ static int record_exec(struct ast_channel *chan, void *data)
ext = strchr(filename, '.'); ext = strchr(filename, '.');
if (!ext) if (!ext)
ext = strchr(filename, ':'); ext = strchr(filename, ':');
if (ext) {
*ext = '\0';
ext++;
}
} }
if (!ext) { if (!ext) {
ast_log(LOG_WARNING, "No extension specified to filename!\n"); ast_log(LOG_WARNING, "No extension specified to filename!\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment