From c6b153e65a2312e5d03628b95e4bbea2165e9dbf Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 6 Dec 2008 21:54:45 +0000 Subject: pfSense FreeSWITCH adjust install procedure --- packages/freeswitch/freeswitch.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/freeswitch/freeswitch.inc b/packages/freeswitch/freeswitch.inc index 227e7f2d..9cfa5446 100644 --- a/packages/freeswitch/freeswitch.inc +++ b/packages/freeswitch/freeswitch.inc @@ -649,7 +649,7 @@ function sync_package_freeswitch_public() conf_mount_ro(); //$cmd = "api reloadxml"; - event_socket_request_cmd($cmd); + //event_socket_request_cmd($cmd); unset($cmd); } @@ -1775,9 +1775,15 @@ function freeswitch_php_install_command() sync_package_freeswitch(); $handle = popen("/usr/local/etc/rc.d/freeswitch.sh start", "r"); pclose($handle); + + $cmd = "api reloadxml"; + event_socket_request_cmd($cmd); + unset($cmd); - $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_version'] = "1.0.1 revision 9759."; - $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.3"; + $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_version'] = "1.0.1 revision 10638."; + $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.3"; + + conf_mount_ro(); config_unlock(); -- cgit v1.2.3