aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-21 18:03:20 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-21 18:03:20 +0000
commit6206b516cee9ff8694f1b3cec1eef22357d32b8e (patch)
tree06304188ac336e3aa63e88cf6da4b9c832d6b891 /res
parent13fec5cae3494a5c756a3b6b7632d54518573e9e (diff)
Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59086 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-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 b64b5c799..f15c3c286 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -338,6 +338,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);
}