aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_extensions.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch/freeswitch_extensions.xml')
-rwxr-xr-xconfig/freeswitch/freeswitch_extensions.xml225
1 files changed, 0 insertions, 225 deletions
diff --git a/config/freeswitch/freeswitch_extensions.xml b/config/freeswitch/freeswitch_extensions.xml
deleted file mode 100755
index ab9a4bb7..00000000
--- a/config/freeswitch/freeswitch_extensions.xml
+++ /dev/null
@@ -1,225 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
-<packagegui>
- <copyright>
- <![CDATA[
-/* $Id$ */
-/* ========================================================================== */
-/*
-
- freeswitch_extensions.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>freeswitchextensions</name>
- <version>0.1</version>
- <title>FreeSWITCH: Extensions</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>/packages/freeswitch/freeswitch_dialplan_includes.php</url>
- </tab>
- <tab>
- <text>Extensions</text>
- <url>/packages/freeswitch/freeswitch_extensions.php</url>
- <active/>
- </tab>
- <tab>
- <text>External</text>
- <url>/pkg_edit.php?xml=freeswitch_external.xml&amp;id=0</url>
- </tab>
- <tab>
- <text>Gateways</text>
- <url>/packages/freeswitch/freeswitch_gateways.php</url>
- </tab>
- <tab>
- <text>Internal</text>
- <url>/pkg_edit.php?xml=freeswitch_internal.xml&amp;id=0</url>
- </tab>
- <tab>
- <text>IVR</text>
- <url>/packages/freeswitch/freeswitch_ivr.php</url>
- </tab>
- <tab>
- <text>Modules</text>
- <url>/pkg_edit.php?xml=freeswitch_modules.xml&amp;id=0</url>
- </tab>
- <tab>
- <text>Public</text>
- <url>/packages/freeswitch/freeswitch_public_includes.php</url>
- </tab>
- <tab>
- <text>Rec</text>
- <url>/packages/freeswitch/freeswitch_recordings.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>
- </tab>
- </tabs>
- <configpath>installedpackages->package->$packagename->configuration->extensions</configpath>
- <adddeleteeditpagefields>
- <columnitem>
- <fielddescr>Extension</fielddescr>
- <fieldname>extension</fieldname>
- </columnitem>
- <columnitem>
- <fielddescr>Mailbox</fielddescr>
- <fieldname>mailbox</fieldname>
- </columnitem>
- <columnitem>
- <fielddescr>Description</fielddescr>
- <fieldname>description</fieldname>
- </columnitem>
- </adddeleteeditpagefields>
- <fields>
- <field>
- <fielddescr>Extension</fielddescr>
- <fieldname>extension</fieldname>
- <description>Enter the extension here. The default configuration expects extension numbers between 1001 -1019. To use additional numbers for the extensions by adjusting the dialplan. In the in the dialplan under name="Local_Extension" adjust the regular expression="^(10[01][0-9])$".</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Password</fielddescr>
- <fieldname>password</fieldname>
- <description>Enter the password here.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Mailbox</fielddescr>
- <fieldname>mailbox</fieldname>
- <description>Enter the mailbox here. Example: extension 1001 then mailbox 1001</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Voicemail Password</fielddescr>
- <fieldname>vm-password</fieldname>
- <description>Enter the voicemail password here.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Account Code</fielddescr>
- <fieldname>accountcode</fieldname>
- <description>Enter the account code here. Example: extension 1001 then accountcode 1001</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Effective Caller ID Name</fielddescr>
- <fieldname>effective_caller_id_name</fieldname>
- <description>Enter the effective caller id name here.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Effective Caller ID Number</fielddescr>
- <fieldname>effective_caller_id_number</fieldname>
- <description>Enter the effective caller id number here.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Outbound Caller ID Name</fielddescr>
- <fieldname>outbound_caller_id_name</fieldname>
- <description>Enter the outbound caller id name here.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Outbound Caller ID Number</fielddescr>
- <fieldname>outbound_caller_id_number</fieldname>
- <description>Enter the outbound caller id number here.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Voicemail Mail To</fielddescr>
- <fieldname>vm-mailto</fieldname>
- <description>Optional: Enter the email address to send voicemail to.</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Voicemail Attach File</fielddescr>
- <fieldname>vm-attach-file</fieldname>
- <description>Choose whether to attach the file to the email.</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>User Context</fielddescr>
- <fieldname>user_context</fieldname>
- <description>Enter the user context here. Example: default</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Extension Description</fielddescr>
- <fieldname>description</fieldname>
- <description>Enter the description of the extension here.</description>
- <type>input</type>
- </field>
- </fields>
- <custom_add_php_command>
- </custom_add_php_command>
- <custom_php_resync_config_command>
- sync_package_freeswitch_extensions();
- </custom_php_resync_config_command>
- <custom_delete_php_command>
- sync_package_freeswitch_extensions();
- </custom_delete_php_command>
- <custom_php_deinstall_command>
- </custom_php_deinstall_command>
-</packagegui> \ No newline at end of file