From be92bbc9c7b390b067c5d88ed227d1efcf371298 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 14 Jun 2008 21:34:21 +0000 Subject: * Restart siproxd on changes * Reload filter after changes --- packages/siproxd.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages') diff --git a/packages/siproxd.inc b/packages/siproxd.inc index 8332966c..ee1230c9 100644 --- a/packages/siproxd.inc +++ b/packages/siproxd.inc @@ -38,6 +38,7 @@ function siproxd_generate_rules($type) { /* proxy is turned off in package settings */ if($siproxd_conf['rtpenable'] == "0") { + log_error("WARNING: siproxd RTP proxy has not been enabled. Not installing rules."); return "\n"; } @@ -62,6 +63,7 @@ function siproxd_generate_rules($type) { } break; default: + log_error("Siproxd.inc -- error -- should not hit default case statement."); break; } @@ -159,6 +161,12 @@ function sync_package_siproxd() { ); exec("killall siproxd"); + + sleep(1); + + start_service("siproxd"); + + filter_configure(); } ?> \ No newline at end of file -- cgit v1.2.3