diff options
author | mcrane <mctch@yahoo.com> | 2009-04-26 00:51:15 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-04-26 00:51:15 -0600 |
commit | 6352e1af802aa2d3838dbf9687a9812b630cdc99 (patch) | |
tree | 17536715efa08dcfe2e2634e1c86622619e7165a | |
parent | 1a72877f15f102d427d445b5bbbcc1fcfe5753a2 (diff) | |
download | pfsense-packages-6352e1af802aa2d3838dbf9687a9812b630cdc99.tar.gz pfsense-packages-6352e1af802aa2d3838dbf9687a9812b630cdc99.tar.bz2 pfsense-packages-6352e1af802aa2d3838dbf9687a9812b630cdc99.zip |
FreeSWITCH shout.conf.xml save config to a file.
-rw-r--r-- | config/freeswitch/freeswitch.inc | 5 |
1 files changed, 4 insertions, 1 deletions
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 .= " </settings>\n"; $tmpxml .= "</configuration>\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 .= " <!--<param name=\"outscale\" value=\"8192\"/>-->\n"; $tmpxml .= " </settings>\n"; $tmpxml .= "</configuration>"; + fwrite($fout, $tmpxml); + unset($tmpxml); + fclose($fout); //config.js $admin_pin = $config['installedpackages']['freeswitchsettings']['config'][0]['admin_pin']; |