From d62b5e18760e501965463b6914102eb253e0cd8a Mon Sep 17 00:00:00 2001 From: mcrane Date: Fri, 7 Aug 2009 16:22:23 -0600 Subject: FreeSWITCH dev dump the majority of hard coded paths and add a few preferences. --- config/freeswitch_dev/v_gateways.tmp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'config/freeswitch_dev/v_gateways.tmp') diff --git a/config/freeswitch_dev/v_gateways.tmp b/config/freeswitch_dev/v_gateways.tmp index fb01feae..3ccac677 100644 --- a/config/freeswitch_dev/v_gateways.tmp +++ b/config/freeswitch_dev/v_gateways.tmp @@ -36,7 +36,7 @@ $a_gateways = &$config['installedpackages']['freeswitchgateways']['config']; if ($_GET['act'] == "del") { if ($_GET['type'] == 'gateways') { if ($a_gateways[$_GET['id']]) { - $tmp_file_name = "/usr/local/freeswitch/conf/sip_profiles/external/".$_GET['gateway'].".xml"; + $tmp_file_name = $v_conf_dir."/sip_profiles/external/".$_GET['gateway'].".xml"; if (file_exists($tmp_file_name)) { unlink($tmp_file_name); } @@ -57,7 +57,9 @@ include("head.inc"); $v_project_label: Gateways

\n"; +if ($v_label_show) { + echo "

$v_label: Gateways

\n"; +} ?>
@@ -191,8 +193,12 @@ if ($config_change == 1) { + -/usr/local/freeswitch/conf/sip_profiles/external/


-- cgit v1.2.3