aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_dialplan.tmp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-26 09:03:41 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-26 09:03:41 -0300
commit783721d42370b30de032d1a886506b69cf68f606 (patch)
tree2d1a2a8db832e1cc60db8ca3a5664787fe165abb /config/freeswitch_dev/v_dialplan.tmp
parent770bae54ed3453f2ed1b0039211deb177d9f7e0c (diff)
downloadpfsense-packages-783721d42370b30de032d1a886506b69cf68f606.tar.gz
pfsense-packages-783721d42370b30de032d1a886506b69cf68f606.tar.bz2
pfsense-packages-783721d42370b30de032d1a886506b69cf68f606.zip
Remove anyterm (it has closed binaries and bash inside), and also removed unmaintained freeswitch and freeswitch-dev (port was removed from FreeBSD ports tree)
Diffstat (limited to 'config/freeswitch_dev/v_dialplan.tmp')
-rw-r--r--config/freeswitch_dev/v_dialplan.tmp171
1 files changed, 0 insertions, 171 deletions
diff --git a/config/freeswitch_dev/v_dialplan.tmp b/config/freeswitch_dev/v_dialplan.tmp
deleted file mode 100644
index e15108e3..00000000
--- a/config/freeswitch_dev/v_dialplan.tmp
+++ /dev/null
@@ -1,171 +0,0 @@
-<?php
-/* $Id$ */
-/*
- v_dialplan.php
- Copyright (C) 2008 Mark J Crane
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
-
-require("guiconfig.inc");
-require("/usr/local/pkg/v_config.inc");
-
-//$a_extensions = $config['installedpackages']['freeswitchprofiles']['config'];
-
-
-if ($_GET['a'] == "default") {
- conf_mount_rw();
- exec("cp ".$v_conf_dir.".orig/dialplan/default.xml ".$v_conf_dir."/dialplan/default.xml");
- $savemsg = "Default Restored";
- conf_mount_ro();
-}
-
-if ($_POST['a'] == "save") {
- conf_mount_rw();
- $content = ereg_replace("\r","",$_POST['code']);
- $fd = fopen($v_conf_dir."/dialplan/default.xml", "w");
- fwrite($fd, $content);
- fclose($fd);
- $savemsg = "Saved";
- conf_mount_ro();
-}
-
-
-$fd = fopen($v_conf_dir."/dialplan/default.xml", "r");
-$content = fread($fd, filesize($v_conf_dir."/dialplan/default.xml"));
-fclose($fd);
-
-include("head.inc");
-
-?>
-
-
-<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
-
-<script language="Javascript">
-function sf() { document.forms[0].savetopath.focus(); }
-</script>
-<script language="Javascript" type="text/javascript" src="/edit_area/edit_area_full.js"></script>
-<script language="Javascript" type="text/javascript">
- // initialisation
- editAreaLoader.init({
- id: "code" // id of the textarea to transform
- ,start_highlight: false
- ,allow_toggle: false
- ,language: "en"
- ,syntax: "html"
- ,toolbar: "search, go_to_line,|, fullscreen, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highlight, |, help"
- ,syntax_selection_allow: "css,html,js,php,xml,c,cpp,sql"
- ,show_line_colors: true
- });
-</script>
-
-<?php
-include("fbegin.inc");
-if ($v_label_show) {
- echo "<p class=\"pgtitle\">$v_label: Dialplan</p>\n";
-}
-?>
-
-<div id="mainlevel">
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr><td class="tabnavtbl">
-<?php
-
-build_menu();
-
-?>
-</td></tr>
-</table>
-
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td class="tabcont" >
-
-<form action="v_dialplan.php" method="post" name="iform" id="iform">
-<?php
-
-?>
- <table width="98%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td width='90%'><p><span class="vexpl"><span class="red"><strong>Default Dialplan<br>
- </strong></span>
- The default dialplan is used to setup call destinations based on conditions and context.
- You can use the dialplan to send calls to gateways, auto attendants, external numbers, to scripts, or any destination.
- </p>
- </td>
- <td width='10%' align='right' valign='middle'><input type="submit" value="save" /></td>
- </tr>
- </table>
- <br />
- <br />
-
- <textarea style="width:98%" id="code" name="code" rows="30" cols="<?php echo $cols; ?>" name="content"><?php echo htmlentities($content); ?></textarea>
- <br />
- <br />
-
- <table width="98%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td>
- <?php
- if ($v_path_show) {
- echo $v_conf_dir."/dialplan/default.xml\n";
- }
- ?>
- </td>
- <td align='right'>
- <input type="hidden" name="f" value="<?php echo $_GET['f']; ?>" />
- <input type="hidden" name="a" value="save" />
- <?php
- echo "<input type='button' value='Restore Default' onclick=\"document.location.href='v_dialplan.php?a=default&f=default.xml';\" />";
- ?>
- </td>
- </tr>
- </table>
-
-</form>
-
-<br>
-<br>
-
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-
-</td>
-</tr>
-</table>
-
-</div>
-
-
-
-<?php include("fend.inc"); ?>
-</body>
-</html>