mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Allow mixmon names to have dots (bug #5607)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -159,7 +159,7 @@ static void *mixmonitor_thread(void *obj)
|
||||
oflags = O_CREAT|O_WRONLY;
|
||||
oflags |= ast_test_flag(mixmonitor, MUXFLAG_APPEND) ? O_APPEND : O_TRUNC;
|
||||
|
||||
if ((ext = strchr(mixmonitor->filename, '.'))) {
|
||||
if ((ext = strrchr(mixmonitor->filename, '.'))) {
|
||||
*(ext++) = '\0';
|
||||
} else {
|
||||
ext = "raw";
|
||||
|
Reference in New Issue
Block a user