Merged revisions 59087 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 21 Mar 2007 18:06:59 +0000 (18:06 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 21 Mar 2007 18:06:59 +0000 (18:06 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59087 | file | 2007-03-21 14:04:58 -0400 (Wed, 21 Mar 2007) | 10 lines

Merged revisions 59086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines

Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_monitor.c

index 59ef157..094cc3a 100644 (file)
@@ -376,6 +376,7 @@ int ast_monitor_change_fname(struct ast_channel *chan, const char *fname_base, i
                }
 
                snprintf(chan->monitor->filename_base, FILENAME_MAX, "%s/%s", directory ? "" : ast_config_AST_MONITOR_DIR, fname_base);
+               chan->monitor->filename_changed = 1;
        } else {
                ast_log(LOG_WARNING, "Cannot change monitor filename of channel %s to %s, monitoring not started\n", chan->name, fname_base);
        }