From 44f44e817107347cb73bc74a92c60e1a6fc63014 Mon Sep 17 00:00:00 2001 From: mcrane Date: Sun, 9 Aug 2009 02:12:29 -0600 Subject: FreeSWITCH dev package replace the rest of the hard coded paths, update wording, fix labels on a few pages, fix wav and mp3 download and play tools. --- config/freeswitch_dev/v_public.tmp | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'config/freeswitch_dev/v_public.tmp') diff --git a/config/freeswitch_dev/v_public.tmp b/config/freeswitch_dev/v_public.tmp index 5a629f58..e704ea10 100644 --- a/config/freeswitch_dev/v_public.tmp +++ b/config/freeswitch_dev/v_public.tmp @@ -30,11 +30,11 @@ require("guiconfig.inc"); require("/usr/local/pkg/v_config.inc"); -//$a_extensions = &$config['installedpackages']['freeswitchprofiles']['config']; +//$a_extensions = $config['installedpackages']['freeswitchprofiles']['config']; if ($_GET['a'] == "default") { conf_mount_rw(); - exec("cp /usr/local/freeswitch/conf.orig/dialplan/public.xml /usr/local/freeswitch/conf/dialplan/public.xml"); + exec("cp "$v_conf_dir.".orig/dialplan/public.xml ".$v_conf_dir."/dialplan/public.xml"); $savemsg = "Default Restored"; conf_mount_ro(); } @@ -42,7 +42,7 @@ if ($_GET['a'] == "default") { if ($_POST['a'] == "save") { conf_mount_rw(); $content = ereg_replace("\r","",$_POST['code']); - $fd = fopen("/usr/local/freeswitch/conf/dialplan/public.xml", "w"); + $fd = fopen($v_conf_dir."/dialplan/public.xml", "w"); fwrite($fd, $content); fclose($fd); $savemsg = "Saved"; @@ -50,8 +50,8 @@ if ($_POST['a'] == "save") { } -$fd = fopen("/usr/local/freeswitch/conf/dialplan/public.xml", "r"); -$content = fread($fd, filesize("/usr/local/freeswitch/conf/dialplan/public.xml")); +$fd = fopen($v_conf_dir."/dialplan/public.xml", "r"); +$content = fread($fd, filesize($v_conf_dir."/dialplan/public.xml")); fclose($fd); include("head.inc"); @@ -83,7 +83,7 @@ function sf() { document.forms[0].savetopath.focus(); } $v_project_label: Public

\n"; + echo "

$v_label: Public

\n"; } ?> @@ -111,7 +111,7 @@ build_menu();

Public
- Directs inbound calls to extensions, IVRs, external numbers, and scripts. + Directs inbound calls to extensions, auto attendants, hunt groups, external numbers, voicemail, and scripts.

@@ -126,12 +126,16 @@ build_menu(); - + "; + } + -- cgit v1.2.3
/usr/local/freeswitch/conf/dialplan/public.xml + if ($v_path_show) { + echo $v_conf_dir."/dialplan/public.xml "; + echo ""; ?>