mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
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:
@@ -102,7 +102,7 @@ static int record_exec(struct ast_channel *chan, void *data)
|
|||||||
if (filename) {
|
if (filename) {
|
||||||
if (strstr(filename, "%d"))
|
if (strstr(filename, "%d"))
|
||||||
percentflag = 1;
|
percentflag = 1;
|
||||||
ext = strchr(filename, '.');
|
ext = strrchr(filename, '.'); /* to support filename with a . in the filename, not format */
|
||||||
if (!ext)
|
if (!ext)
|
||||||
ext = strchr(filename, ':');
|
ext = strchr(filename, ':');
|
||||||
if (ext) {
|
if (ext) {
|
||||||
|
Reference in New Issue
Block a user