[svn-commits] tzafrir: branch tzafrir/monitor-rtp r222537 - /team/tzafrir/monitor-rtp/res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 7 12:10:39 CDT 2009


Author: tzafrir
Date: Wed Oct  7 12:10:36 2009
New Revision: 222537

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=222537
Log:
rtp_server can only be modified on module load.

Modified:
    team/tzafrir/monitor-rtp/res/res_monitor.c

Modified: team/tzafrir/monitor-rtp/res/res_monitor.c
URL: http://svnview.digium.com/svn/asterisk/team/tzafrir/monitor-rtp/res/res_monitor.c?view=diff&rev=222537&r1=222536&r2=222537
==============================================================================
--- team/tzafrir/monitor-rtp/res/res_monitor.c (original)
+++ team/tzafrir/monitor-rtp/res/res_monitor.c Wed Oct  7 12:10:36 2009
@@ -1274,7 +1274,7 @@
 		rtp_server_name[0] = '\0';
 	}
 	for (v = ast_variable_browse(cfg, "general"); v; v = v->next) {
-		if (!strcasecmp(v->name, "rtp_server")) {
+		if (startup && !strcasecmp(v->name, "rtp_server")) {
 			ast_copy_string(rtp_server_name, v->value, sizeof(rtp_server_name));
 		} else if (!strcasecmp(v->name, "rtp_mon_start")) {
 			char portstr[BUFSIZ];




More information about the svn-commits mailing list