diff options
Diffstat (limited to 'config/freeswitch/freeswitch.xml')
-rw-r--r-- | config/freeswitch/freeswitch.xml | 477 |
1 files changed, 477 insertions, 0 deletions
diff --git a/config/freeswitch/freeswitch.xml b/config/freeswitch/freeswitch.xml new file mode 100644 index 00000000..7c557c30 --- /dev/null +++ b/config/freeswitch/freeswitch.xml @@ -0,0 +1,477 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd"> +<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?> +<packagegui> + <copyright> + <![CDATA[ +/* $Id$ */ +/* ========================================================================== */ +/* + freeswitch.xml + Copyright (C) 2008 Mark J Crane + All rights reserved. + + FreeSWITCH (TM) + http://www.freeswitch.org/ + */ +/* ========================================================================== */ +/* + 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>FreeSWITCH Settings</name> + <version>0.7</version> + <title>FreeSWITCH: Settings</title> + <include_file>/usr/local/pkg/freeswitch.inc</include_file> + <menu> + <name>FreeSWITCH</name> + <tooltiptext>Modify FreeSWITCH settings.</tooltiptext> + <section>Services</section> + <configfile>freeswitch.xml</configfile> + <url>/pkg_edit.php?xml=freeswitch.xml&id=0</url> + </menu> + <service> + <name>freeswitch</name> + <rcfile>freeswitch.sh</rcfile> + <executable>freeswitch</executable> + <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> + </service> + <tabs> + <tab> + <text>Settings</text> + <url>/pkg_edit.php?xml=freeswitch.xml&id=0</url> + <active/> + </tab> + <tab> + <text>Dialplan</text> + <url>/freeswitch/freeswitch_dialplan_includes.php</url> + </tab> + <tab> + <text>Extensions</text> + <url>/freeswitch/freeswitch_extensions.php</url> + </tab> + <tab> + <text>External</text> + <url>/pkg_edit.php?xml=freeswitch_external.xml&id=0</url> + </tab> + <tab> + <text>Gateways</text> + <url>/freeswitch/freeswitch_gateways.php</url> + </tab> + <tab> + <text>Internal</text> + <url>/pkg_edit.php?xml=freeswitch_internal.xml&id=0</url> + </tab> + <tab> + <text>IVR</text> + <url>/freeswitch/freeswitch_ivr.php</url> + </tab> + <tab> + <text>Modules</text> + <url>/pkg_edit.php?xml=freeswitch_modules.xml&id=0</url> + </tab> + <tab> + <text>Public</text> + <url>/freeswitch/freeswitch_public_includes.php</url> + </tab> + <tab> + <text>Rec</text> + <url>/freeswitch/freeswitch_recordings.php</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&id=0</url> + </tab> + </tabs> + <configpath>installedpackages->package->$packagename->configuration->freeswitchsettings</configpath> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.portableusbapps.com/packages/config/freeswitch/freeswitch.tgz</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch.inc</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/lib/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/libtinfo.so.5.6</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/lib/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/libncurses.so.5.6</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/lib/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/libogg.so.5.3</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/lib/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/libvorbis.so.4</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/mod_shout.so.1</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/mod_fax.so.1</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/lib/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/libspandsp.so.1</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/please_enter_your_pin_number.wav</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/begin_recording.wav</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/your_pin_number_is_incorect_goodbye.wav</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/class.smtp.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/class.phpmailer.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_cmd.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_dialplan.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_dialplan_includes.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_dialplan_includes_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_dialplan_includes_details.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_extensions.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_extensions_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_external.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_gateways.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_gateways_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_internal.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_ivr.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_ivr_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_ivr_options_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_ivr_options.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_mailto.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_modules.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_public.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_public_includes.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_public_includes_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_public_includes_details.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_public_includes_details_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_recordings.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_recordings_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_recordings_play.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_status.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_time_conditions.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/tmp/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_time_conditions_edit.tmp</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch_vars.xml</item> + </additional_files_needed> + <fields> + <field> + <fielddescr>Numbering Plan</fielddescr> + <fieldname>numbering_plan</fieldname> + <description>Enter the numbering plan here. example: US</description> + <type>input</type> + </field> + <field> + <fielddescr>Default Gateway</fielddescr> + <fieldname>default_gateway</fieldname> + <description>Enter the default gateway name here. example: asterlink.com</description> + <type>input</type> + </field> + <field> + <fielddescr>Default Area Code</fielddescr> + <fieldname>default_area_code</fieldname> + <description>Enter the area code here. example: 918</description> + <type>input</type> + </field> + <field> + <fielddescr>Event Socket Port</fielddescr> + <fieldname>event_socket_port</fieldname> + <description>Enter the event socket port here. default: 8021</description> + <type>input</type> + </field> + <field> + <fielddescr>Event Socket Password</fielddescr> + <fieldname>event_socket_password</fieldname> + <description>Enter the event socket password here. default: ClueCon</description> + <type>password</type> + </field> + <field> + <fielddescr>XML RPC HTTP Port</fielddescr> + <fieldname>xml_rpc_http_port</fieldname> + <description>Enter the XML RPC HTTP Port here. default: 8787</description> + <type>input</type> + </field> + <field> + <fielddescr>XML RPC Auth Realm</fielddescr> + <fieldname>xml_rpc_auth_realm</fieldname> + <description>Enter the XML RPC Auth Realm here. default: freeswitch</description> + <type>input</type> + </field> + <field> + <fielddescr>XML RPC Auth User</fielddescr> + <fieldname>xml_rpc_auth_user</fieldname> + <description>Enter the XML RPC Auth User here. default: freeswitch</description> + <type>input</type> + </field> + <field> + <fielddescr>XML RPC Auth Password</fielddescr> + <fieldname>xml_rpc_auth_pass</fieldname> + <description>Enter the XML RPC Auth Password here. default: works</description> + <type>password</type> + </field> + <field> + <fielddescr>Admin PIN Number</fielddescr> + <fieldname>admin_pin</fieldname> + <description>Enter a admin pin number. Used to authenticate the admin from the phone.</description> + <type>password</type> + </field> + <field> + <fielddescr>SMTP Host</fielddescr> + <fieldname>smtphost</fieldname> + <description>Enter the SMTP host address. If you using a different port append it on the end with a semi-colon. e.g. smtp.gmail.com:465</description> + <type>input</type> + </field> + <field> + <fielddescr>SMTP Secure</fielddescr> + <fieldname>smtpsecure</fieldname> + <description>Select the SMTP security. None, TLS, SSL</description> + <type>select</type> + <options> + <option> + <name>none</name> + <value></value> + </option> + <option> + <name>tls</name> + <value>tls</value> + </option> + <option> + <name>ssl</name> + <value>ssl</value> + </option> + </options> + </field> + <field> + <fielddescr>SMTP Auth</fielddescr> + <fieldname>smtpauth</fieldname> + <description>Use SMTP Authentication true or false.</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>SMTP Username</fielddescr> + <fieldname>smtpusername</fieldname> + <description>Enter the SMTP authentication username.</description> + <type>input</type> + </field> + <field> + <fielddescr>SMTP Password</fielddescr> + <fieldname>smtppassword</fieldname> + <description>Enter the SMTP authentication password.</description> + <type>password</type> + </field> + <field> + <fielddescr>SMTP From</fielddescr> + <fieldname>smtpfrom</fieldname> + <description>Enter the SMTP From email address.</description> + <type>input</type> + </field> + <field> + <fielddescr>SMTP From Name</fielddescr> + <fieldname>smtpfromname</fieldname> + <description>Enter the SMTP From Name.</description> + <type>input</type> + </field> + </fields> + <custom_add_php_command> + </custom_add_php_command> + <custom_php_resync_config_command> + sync_package_freeswitch_settings(); + </custom_php_resync_config_command> + <custom_delete_php_command> + sync_package_freeswitch_settings(); + </custom_delete_php_command> + <custom_php_install_command> + freeswitch_php_install_command(); + </custom_php_install_command> + <custom_php_deinstall_command> + freeswitch_deinstall_command(); + </custom_php_deinstall_command> +</packagegui>
\ No newline at end of file |