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

Fix Record with "." in filename (bug #2923)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 239f1a0e
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ static int record_exec(struct ast_channel *chan, void *data)
if (filename) {
if (strstr(filename, "%d"))
percentflag = 1;
ext = strchr(filename, '.');
ext = strrchr(filename, '.'); /* to support filename with a . in the filename, not format */
if (!ext)
ext = strchr(filename, ':');
if (ext) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment