aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-05-13 13:02:48 -0600
committermcrane <mctch@yahoo.com>2009-05-13 13:04:45 -0600
commit50774950a981256729af220620b273f94c02c2cd (patch)
tree4163095a4fbd8551b4390f8a34fb27033bfbd330 /config
parent4d34902d09109f13bc95ee05066fda2b4501a935 (diff)
downloadpfsense-packages-50774950a981256729af220620b273f94c02c2cd.tar.gz
pfsense-packages-50774950a981256729af220620b273f94c02c2cd.tar.bz2
pfsense-packages-50774950a981256729af220620b273f94c02c2cd.zip
FreeSWITCH extract textarea data from the backups for vars.xml dialplan/default.xml and dialplan/public.xml
Diffstat (limited to 'config')
-rw-r--r--config/freeswitch/freeswitch.inc3
-rw-r--r--config/freeswitch/freeswitch_status.tmp3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc
index 37615396..fd962df9 100644
--- a/config/freeswitch/freeswitch.inc
+++ b/config/freeswitch/freeswitch.inc
@@ -2419,6 +2419,9 @@ function freeswitch_php_install_command()
system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/sounds/music/8000/');
system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/ssl/');
system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/sip_profiles/');
+ system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/vars.xml');
+ system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/dialplan/default.xml');
+ system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/dialplan/public.xml');
//Optional
//system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/');
diff --git a/config/freeswitch/freeswitch_status.tmp b/config/freeswitch/freeswitch_status.tmp
index 20e286ca..ea08b738 100644
--- a/config/freeswitch/freeswitch_status.tmp
+++ b/config/freeswitch/freeswitch_status.tmp
@@ -80,6 +80,9 @@ if ($_GET['a'] == "other") {
system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/sounds/music/8000/');
system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/ssl');
system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/sip_profiles/');
+ system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/vars.xml');
+ system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/dialplan/default.xml');
+ system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/dialplan/public.xml');
//Optional
//system('cd /usr/local; tar xvpfz /root/backup/'.$filename.' freeswitch/conf/');