[asterisk-commits] file: branch 1.2 r59086 - /branches/1.2/res/res_monitor.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Mar 21 11:03:21 MST 2007


Author: file
Date: Wed Mar 21 13:03:20 2007
New Revision: 59086

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59086
Log:
Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)

Modified:
    branches/1.2/res/res_monitor.c

Modified: branches/1.2/res/res_monitor.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/res/res_monitor.c?view=diff&rev=59086&r1=59085&r2=59086
==============================================================================
--- branches/1.2/res/res_monitor.c (original)
+++ branches/1.2/res/res_monitor.c Wed Mar 21 13:03:20 2007
@@ -338,6 +338,7 @@
 		}
 
 		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);
 	}



More information about the asterisk-commits mailing list