aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeswitch/freeswitch_gateways.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freeswitch/freeswitch_gateways.xml')
-rw-r--r--packages/freeswitch/freeswitch_gateways.xml222
1 files changed, 222 insertions, 0 deletions
diff --git a/packages/freeswitch/freeswitch_gateways.xml b/packages/freeswitch/freeswitch_gateways.xml
new file mode 100644
index 00000000..0975eccb
--- /dev/null
+++ b/packages/freeswitch/freeswitch_gateways.xml
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
+<packagegui>
+ <copyright>
+ <![CDATA[
+/* $Id$ */
+/* ========================================================================== */
+/*
+
+ freeswitch_gateways.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>freeswitchgateways</name>
+ <version>0.1</version>
+ <title>FreeSWITCH: Gateways</title>
+ <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>/pkg_edit.php?xml=freeswitch_dialplan.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Extensions</text>
+ <url>/pkg.php?xml=freeswitch_extensions.xml</url>
+ </tab>
+ <tab>
+ <text>External</text>
+ <url>/pkg_edit.php?xml=freeswitch_external.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Gateways</text>
+ <url>/pkg.php?xml=freeswitch_gateways.xml</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>Internal</text>
+ <url>/pkg_edit.php?xml=freeswitch_internal.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Modules</text>
+ <url>/pkg_edit.php?xml=freeswitch_modules.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Public</text>
+ <url>/pkg_edit.php?xml=freeswitch_public.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Status</text>
+ <url>/freeswitch/freeswitch_status.php</url>
+ </tab>
+ <tab>
+ <text>Vars</text>
+ <url>/pkg_edit.php?xml=freeswitch_vars.xml&amp;id=0</url>
+ </tab>
+ </tabs>
+ <configpath>installedpackages->package->$packagename->configuration->gateways</configpath>
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fielddescr>Gateway</fielddescr>
+ <fieldname>gateway</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Context</fielddescr>
+ <fieldname>context</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Description</fielddescr>
+ <fieldname>description</fieldname>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <fields>
+ <field>
+ <fielddescr>Gateway</fielddescr>
+ <fieldname>gateway</fieldname>
+ <description>Enter the gateway name here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>Username</fielddescr>
+ <fieldname>username</fieldname>
+ <description>Enter the username here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>Password</fielddescr>
+ <fieldname>password</fieldname>
+ <description>Enter the password here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>From-user</fielddescr>
+ <fieldname>from-user</fieldname>
+ <description>Enter the from-user here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>From-domain</fielddescr>
+ <fieldname>from-domain</fieldname>
+ <description>Enter the from-domain here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>Proxy</fielddescr>
+ <fieldname>proxy</fieldname>
+ <description>Enter the proxy here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>Expire-seconds</fielddescr>
+ <fieldname>expire-seconds</fieldname>
+ <description>Enter the expire-seconds here. Example: 600</description>
+ <type>input</type>
+ <value>600</value>
+ </field>
+ <field>
+ <fielddescr>Register</fielddescr>
+ <fieldname>register</fieldname>
+ <description>Choose whether to register.</description>
+ <type>select</type>
+ <options>
+ <option>
+ <name>True</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>False</name>
+ <value>false</value>
+ </option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Retry_seconds</fielddescr>
+ <fieldname>retry_seconds</fieldname>
+ <description>Enter the retry_seconds here. Example: 30</description>
+ <type>input</type>
+ <value>30</value>
+ </field>
+ <field>
+ <fielddescr>Extension</fielddescr>
+ <fieldname>extension</fieldname>
+ <description>Enter the extension here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ <field>
+ <fielddescr>Context</fielddescr>
+ <fieldname>context</fieldname>
+ <description>Enter the context here. Example: public</description>
+ <type>input</type>
+ <value>public</value>
+ </field>
+ <field>
+ <fielddescr>Gateway Description</fielddescr>
+ <fieldname>description</fieldname>
+ <description>Enter the description of the gateway here.</description>
+ <type>input</type>
+ <value></value>
+ </field>
+ </fields>
+ <custom_add_php_command>
+ </custom_add_php_command>
+ <custom_php_resync_config_command>
+ sync_package_freeswitch_gateways();
+ </custom_php_resync_config_command>
+ <custom_delete_php_command>
+ sync_package_freeswitch_gateways();
+ </custom_delete_php_command>
+ <custom_php_deinstall_command>
+ </custom_php_deinstall_command>
+</packagegui>
+