From 6352e1af802aa2d3838dbf9687a9812b630cdc99 Mon Sep 17 00:00:00 2001 From: mcrane Date: Sun, 26 Apr 2009 00:51:15 -0600 Subject: FreeSWITCH shout.conf.xml save config to a file. --- config/freeswitch/freeswitch.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc index e61f7e10..73bdb9b1 100644 --- a/config/freeswitch/freeswitch.inc +++ b/config/freeswitch/freeswitch.inc @@ -338,7 +338,7 @@ function sync_package_freeswitch_settings() $tmpxml .= " \n"; $tmpxml .= "\n"; fwrite($fout, $tmpxml); - unset($tmpxml, $event_socket_password); + unset($tmpxml); fclose($fout); recording_js(); @@ -353,6 +353,9 @@ function sync_package_freeswitch_settings() $tmpxml .= " \n"; $tmpxml .= " \n"; $tmpxml .= ""; + fwrite($fout, $tmpxml); + unset($tmpxml); + fclose($fout); //config.js $admin_pin = $config['installedpackages']['freeswitchsettings']['config'][0]['admin_pin']; -- cgit v1.2.3