aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/freeswitch.inc
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-07-24 20:45:00 -0600
committermcrane <mctch@yahoo.com>2009-07-24 20:47:07 -0600
commit03bab3d64a310d077d3fc0dd5efbfb4718e2ce1c (patch)
tree32a321b727a1b7785d502254ef2f72e2eed176cf /config/freeswitch_dev/freeswitch.inc
parentbca755cc8c1612e7c41757edc6b03215ba7ad123 (diff)
downloadpfsense-packages-03bab3d64a310d077d3fc0dd5efbfb4718e2ce1c.tar.gz
pfsense-packages-03bab3d64a310d077d3fc0dd5efbfb4718e2ce1c.tar.bz2
pfsense-packages-03bab3d64a310d077d3fc0dd5efbfb4718e2ce1c.zip
FreeSWITCH package remove icons from extensions input boxes until 1.2.x is retired icons overlap the text, replace settings xml with php file which provides better flexibility.
Diffstat (limited to 'config/freeswitch_dev/freeswitch.inc')
-rw-r--r--config/freeswitch_dev/freeswitch.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/config/freeswitch_dev/freeswitch.inc b/config/freeswitch_dev/freeswitch.inc
index 4cc48d65..a9bf9481 100644
--- a/config/freeswitch_dev/freeswitch.inc
+++ b/config/freeswitch_dev/freeswitch.inc
@@ -42,8 +42,8 @@ function build_menu() {
$tab_array = array();
$menu_selected = false;
- if ($_SERVER["SCRIPT_NAME"] == "/pkg_edit.php?xml=freeswitch.xml&amp;id=0") { $menu_selected = true; }
- $tab_array[] = array(gettext("Settings"), $menu_selected, "/pkg_edit.php?xml=freeswitch.xml&amp;id=0");
+ if ($_SERVER["SCRIPT_NAME"] == "/packages/freeswitch/freeswitch_settings.php") { $menu_selected = true; }
+ $tab_array[] = array(gettext("Settings"), $menu_selected, "/packages/freeswitch/freeswitch_settings.php");
unset($menu_selected);
$menu_selected = false;
@@ -2969,7 +2969,7 @@ function freeswitch_php_install_command()
global $config;
//exec("/etc/./rc.conf_mount_rw");
- $freeswitch_package_version = "0.9.5";
+ $freeswitch_package_version = "0.9.5.1";
$freeswitch_build_version = "1.0.4 pre 8";
$freeswitch_build_revision = "13784";
@@ -3114,7 +3114,7 @@ function freeswitch_php_install_command()
exec("cd /tmp/;fetch ".$download_path."freeswitch_dialplan_includes_edit.tmp");
exec("cp /tmp/freeswitch_dialplan_includes_edit.tmp /usr/local/www/packages/freeswitch/freeswitch_dialplan_includes_edit.php");
unlink_if_exists("/tmp/freeswitch_dialplan_includes_edit.tmp");
-
+
exec("cd /tmp/;fetch ".$download_path."freeswitch_extensions.tmp");
exec("cp /tmp/freeswitch_extensions.tmp /usr/local/www/packages/freeswitch/freeswitch_extensions.php");
unlink_if_exists("/tmp/freeswitch_extensions.tmp");
@@ -3223,6 +3223,10 @@ function freeswitch_php_install_command()
exec("cp /tmp/freeswitch_recordings_play.tmp /usr/local/www/packages/freeswitch/freeswitch_recordings_play.php");
unlink_if_exists("/tmp/freeswitch_recordings_play.tmp");
+ exec("cd /tmp/;fetch ".$download_path."freeswitch_settings.tmp");
+ exec("cp /tmp/freeswitch_settings.tmp /usr/local/www/packages/freeswitch/freeswitch_settings.php");
+ unlink_if_exists("/tmp/freeswitch_settings.tmp");
+
exec("cd /tmp/;fetch ".$download_path."freeswitch_status.tmp");
exec("cp /tmp/freeswitch_status.tmp /usr/local/www/packages/freeswitch/freeswitch_status.php");
unlink_if_exists("/tmp/freeswitch_status.tmp");