Fix Record with "." in filename (bug #2923)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
239f1a0ef9
commit
c0fc084559
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue