aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_monitor.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-21 18:04:58 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-21 18:04:58 +0000
commit36e6a2f440289412cee762011b419fcb453a6944 (patch)
treebefe403f740ea131baa5666d230bc2e1e33cac97 /res/res_monitor.c
parentfb90844b0c1a50c7b6f7eb8d2444540fb4a902ed (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@59087 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r--res/res_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index a45c3a180..b6b7c7a82 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -373,6 +373,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);
}