aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_vars.xml
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-05-13 12:25:35 -0600
committermcrane <mctch@yahoo.com>2009-05-13 13:04:45 -0600
commit4d34902d09109f13bc95ee05066fda2b4501a935 (patch)
tree05a363ec69cac98474cdd6c3e75e9618dadbaf3c /config/freeswitch/freeswitch_vars.xml
parent1d234ac49964955334883e42a15865528a34f648 (diff)
downloadpfsense-packages-4d34902d09109f13bc95ee05066fda2b4501a935.tar.gz
pfsense-packages-4d34902d09109f13bc95ee05066fda2b4501a935.tar.bz2
pfsense-packages-4d34902d09109f13bc95ee05066fda2b4501a935.zip
FreeSWITCH create lan sip profile during install, update dialplan, public, and var textareas, add set to default to the textareas, make the tab menu dynamic so it can be modified from one file rather than having to modify all php files.
Diffstat (limited to 'config/freeswitch/freeswitch_vars.xml')
-rw-r--r--config/freeswitch/freeswitch_vars.xml124
1 files changed, 0 insertions, 124 deletions
diff --git a/config/freeswitch/freeswitch_vars.xml b/config/freeswitch/freeswitch_vars.xml
deleted file mode 100644
index da90b3bc..00000000
--- a/config/freeswitch/freeswitch_vars.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
-<packagegui>
- <copyright>
- <![CDATA[
-/* $Id$ */
-/* ========================================================================== */
-/*
-
- freeswitch_vars.xml
- Copyright (C) 2008 Mark J Crane
- All rights reserved.
-
- FreeSWITCH (TM)
- http://www.freeswitch.org/
-
- part of pfSense (http://www.pfSense.com)
- Copyright (C) 2007 to whom it may belong
- All rights reserved.
-
- Based on m0n0wall (http://m0n0.ch/wall)
- Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
- 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.
-*/
-/* ========================================================================== */
- ]]>
- </copyright>
- <description>FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a simple switching engine, a PBX, a media gateway or a media server to host IVR applications using simple scripts or XML to control the callflow.</description>
- <requirements>Describe your package requirements here</requirements>
- <faq>Currently there are no FAQ items provided.</faq>
- <name>freeswitchvars</name>
- <version>0.1</version>
- <title>FreeSWITCH: Vars</title>
- <aftersaveredirect>pkg_edit.php?xml=freeswitch_vars.xml&amp;id=0</aftersaveredirect>
- <include_file>/usr/local/pkg/freeswitch.inc</include_file>
- <tabs>
- <tab>
- <text>Settings</text>
- <url>/pkg_edit.php?xml=freeswitch.xml&amp;id=0</url>
- </tab>
- <tab>
- <text>Dialplan</text>
- <url>/packages/freeswitch/freeswitch_dialplan_includes.php</url>
- </tab>
- <tab>
- <text>Extensions</text>
- <url>/packages/freeswitch/freeswitch_extensions.php</url>
- </tab>
- <tab>
- <text>Features</text>
- <url>/packages/freeswitch/freeswitch_features.php</url>
- </tab>
- <tab>
- <text>Gateways</text>
- <url>/packages/freeswitch/freeswitch_gateways.php</url>
- </tab>
- <tab>
- <text>Profiles</text>
- <url>/packages/freeswitch/freeswitch_profiles.php</url>
- </tab>
- <tab>
- <text>Public</text>
- <url>/packages/freeswitch/freeswitch_public_includes.php</url>
- </tab>
- <tab>
- <text>Status</text>
- <url>/packages/freeswitch/freeswitch_status.php</url>
- </tab>
- <tab>
- <text>Vars</text>
- <url>/pkg_edit.php?xml=freeswitch_vars.xml&amp;id=0</url>
- <active/>
- </tab>
- </tabs>
- <configpath>installedpackages->package->$packagename->configuration->freeswitchvars</configpath>
- <fields>
- <field>
- <fielddescr>&lt;b&gt;Vars&lt;/b&gt; &lt;br /&gt; &lt;br /&gt;Define preprocessor variables here. Can be accessed in the xml configation with $${var_name}.</fielddescr>
- <fieldname>vars_xml</fieldname>
- <description>&lt;br /&gt;Path: /usr/local/freeswitch/conf/vars.xml &lt;br /&gt;&lt;br /&gt;</description>
- <type>textarea</type>
- <encoding>base64</encoding>
- <wrap>off</wrap>
- <size>30</size>
- <cols>70</cols>
- <rows>33</rows>
- </field>
- </fields>
- <custom_php_command_before_form>
- </custom_php_command_before_form>
- <custom_php_after_head_command>
- sync_package_freeswitch_vars();
- </custom_php_after_head_command>
- <custom_php_after_form_command>
- </custom_php_after_form_command>
- <custom_php_validation_command>
- </custom_php_validation_command>
- <custom_php_resync_config_command>
- sync_package_freeswitch_vars();
- </custom_php_resync_config_command>
-</packagegui> \ No newline at end of file