aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-04-26 00:51:15 -0600
committermcrane <mctch@yahoo.com>2009-04-26 00:51:15 -0600
commit6352e1af802aa2d3838dbf9687a9812b630cdc99 (patch)
tree17536715efa08dcfe2e2634e1c86622619e7165a /config/freeswitch
parent1a72877f15f102d427d445b5bbbcc1fcfe5753a2 (diff)
downloadpfsense-packages-6352e1af802aa2d3838dbf9687a9812b630cdc99.tar.gz
pfsense-packages-6352e1af802aa2d3838dbf9687a9812b630cdc99.tar.bz2
pfsense-packages-6352e1af802aa2d3838dbf9687a9812b630cdc99.zip
FreeSWITCH shout.conf.xml save config to a file.
Diffstat (limited to 'config/freeswitch')
-rw-r--r--config/freeswitch/freeswitch.inc5
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'];