aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_modules.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch_dev/v_modules.tmp')
-rw-r--r--config/freeswitch_dev/v_modules.tmp2384
1 files changed, 0 insertions, 2384 deletions
diff --git a/config/freeswitch_dev/v_modules.tmp b/config/freeswitch_dev/v_modules.tmp
deleted file mode 100644
index b640a2cc..00000000
--- a/config/freeswitch_dev/v_modules.tmp
+++ /dev/null
@@ -1,2384 +0,0 @@
-<?php
-/* $Id$ */
-/*
- v_modules.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");
-$config['installedpackages']['freeswitchmodules']['config'][$id]['mod_console'];
-
-$a_modules = &$config['installedpackages']['freeswitchmodules']['config'];
-
-//$id = $_GET['id'];
-//if (isset($_POST['id'])) {
-// $id = $_POST['id'];
-//}
-$id = 0;
-
-
-if (isset($id) && $a_modules[$id]) {
-
- //Loggers
- $pconfig['mod_console'] = $a_modules[$id]['mod_console'];
- $pconfig['mod_logfile'] = $a_modules[$id]['mod_logfile'];
- $pconfig['mod_syslog'] = $a_modules[$id]['mod_syslog'];
-
- //Multi-Faceted
- $pconfig['mod_enum'] = $a_modules[$id]['mod_enum'];
-
- //XML Interfaces
- $pconfig['mod_xml_rpc'] = $a_modules[$id]['mod_xml_rpc'];
- $pconfig['mod_xml_curl'] = $a_modules[$id]['mod_xml_curl'];
- $pconfig['mod_xml_cdr'] = $a_modules[$id]['mod_xml_cdr'];
-
- //Event Handlers
- $pconfig['mod_cdr_csv'] = $a_modules[$id]['mod_cdr_csv'];
- $pconfig['mod_event_multicast'] = $a_modules[$id]['mod_event_multicast'];
- $pconfig['mod_event_socket'] = $a_modules[$id]['mod_event_socket'];
- $pconfig['mod_zeroconf'] = $a_modules[$id]['mod_zeroconf'];
-
- //Directory Interfaces
- $pconfig['mod_ldap'] = $a_modules[$id]['mod_ldap'];
-
- //Endpoints
- //$pconfig['mod_dingaling'] = $a_modules[$id]['mod_dingaling'];
- $pconfig['mod_iax'] = $a_modules[$id]['mod_iax'];
- $pconfig['mod_portaudio'] = $a_modules[$id]['mod_portaudio'];
- $pconfig['mod_alsa'] = $a_modules[$id]['mod_alsa'];
- $pconfig['mod_sofia'] = $a_modules[$id]['mod_sofia'];
- $pconfig['mod_loopback'] = $a_modules[$id]['mod_loopback'];
- $pconfig['mod_wanpipe'] = $a_modules[$id]['mod_wanpipe'];
- $pconfig['mod_woomera'] = $a_modules[$id]['mod_woomera'];
- $pconfig['mod_openzap'] = $a_modules[$id]['mod_openzap'];
-
- //Applications
- $pconfig['mod_cidlookup'] = $a_modules[$id]['mod_cidlookup'];
- $pconfig['mod_commands'] = $a_modules[$id]['mod_commands'];
- $pconfig['mod_conference'] = $a_modules[$id]['mod_conference'];
- $pconfig['mod_dptools'] = $a_modules[$id]['mod_dptools'];
- $pconfig['mod_easyroute'] = $a_modules[$id]['mod_easyroute'];
- $pconfig['mod_esf'] = $a_modules[$id]['mod_esf'];
- $pconfig['mod_expr'] = $a_modules[$id]['mod_expr'];
- $pconfig['mod_fax'] = $a_modules[$id]['mod_fax'];
- $pconfig['mod_fifo'] = $a_modules[$id]['mod_fifo'];
- $pconfig['mod_file_string'] = $a_modules[$id]['mod_file_string'];
- $pconfig['mod_fsv'] = $a_modules[$id]['mod_fsv'];
- $pconfig['mod_voicemail'] = $a_modules[$id]['mod_voicemail'];
- $pconfig['mod_lcr'] = $a_modules[$id]['mod_lcr'];
- $pconfig['mod_limit'] = $a_modules[$id]['mod_limit'];
- $pconfig['mod_soundtouch'] = $a_modules[$id]['mod_soundtouch'];
- $pconfig['mod_spy'] = $a_modules[$id]['mod_spy'];
- $pconfig['mod_vmd'] = $a_modules[$id]['mod_vmd'];
-
- //Snom
- $pconfig['mod_snom'] = $a_modules[$id]['mod_snom'];
-
- //Dialplan Interfaces
- $pconfig['mod_dialplan_directory'] = $a_modules[$id]['mod_dialplan_directory'];
- $pconfig['mod_dialplan_xml'] = $a_modules[$id]['mod_dialplan_xml'];
- $pconfig['mod_dialplan_asterisk'] = $a_modules[$id]['mod_dialplan_asterisk'];
- $pconfig['mod_yaml'] = $a_modules[$id]['mod_yaml'];
-
- //Codec Interfaces
- $pconfig['mod_voipcodecs'] = $a_modules[$id]['mod_voipcodecs'];
- $pconfig['mod_g723_1'] = $a_modules[$id]['mod_g723_1'];
- $pconfig['mod_g729'] = $a_modules[$id]['mod_g729'];
- $pconfig['mod_amr'] = $a_modules[$id]['mod_amr'];
- $pconfig['mod_amrwb'] = $a_modules[$id]['mod_amrwb'];
- $pconfig['mod_ilbc'] = $a_modules[$id]['mod_ilbc'];
- $pconfig['mod_speex'] = $a_modules[$id]['mod_speex'];
- $pconfig['mod_siren'] = $a_modules[$id]['mod_siren'];
- $pconfig['mod_celt'] = $a_modules[$id]['mod_celt'];
- $pconfig['mod_h26x'] = $a_modules[$id]['mod_h26x'];
-
- //File Format Interfaces
- $pconfig['mod_sndfile'] = $a_modules[$id]['mod_sndfile'];
- $pconfig['mod_native_file'] = $a_modules[$id]['mod_native_file'];
-
- //Streams / Files
- $pconfig['mod_shout'] = $a_modules[$id]['mod_shout'];
- $pconfig['mod_local_stream'] = $a_modules[$id]['mod_local_stream'];
- $pconfig['mod_tone_stream'] = $a_modules[$id]['mod_tone_stream'];
-
- //Languages
- $pconfig['mod_spidermonkey'] = $a_modules[$id]['mod_spidermonkey'];
- $pconfig['mod_spidermonkey_core_db'] = $a_modules[$id]['mod_spidermonkey_core_db'];
- $pconfig['mod_spidermonkey_curl'] = $a_modules[$id]['mod_spidermonkey_curl'];
- $pconfig['mod_spidermonkey_odbc'] = $a_modules[$id]['mod_spidermonkey_odbc'];
- $pconfig['mod_spidermonkey_socket'] = $a_modules[$id]['mod_spidermonkey_socket'];
- $pconfig['mod_spidermonkey_teletone'] = $a_modules[$id]['mod_spidermonkey_teletone'];
- $pconfig['mod_perl'] = $a_modules[$id]['mod_perl'];
- $pconfig['mod_python'] = $a_modules[$id]['mod_python'];
- $pconfig['mod_java'] = $a_modules[$id]['mod_java'];
- $pconfig['mod_lua'] = $a_modules[$id]['mod_lua'];
-
- //ASR / TTS
- $pconfig['mod_flite'] = $a_modules[$id]['mod_flite'];
- $pconfig['mod_pocketsphinx'] = $a_modules[$id]['mod_pocketsphinx'];
- $pconfig['mod_cepstral'] = $a_modules[$id]['mod_cepstral'];
- $pconfig['mod_openmrcp'] = $a_modules[$id]['mod_openmrcp'];
- $pconfig['mod_rss'] = $a_modules[$id]['mod_rss'];
-
- //Say
- $pconfig['mod_say_de'] = $a_modules[$id]['mod_say_de'];
- $pconfig['mod_say_en'] = $a_modules[$id]['mod_say_en'];
- $pconfig['mod_say_es'] = $a_modules[$id]['mod_say_es'];
- $pconfig['mod_say_fr'] = $a_modules[$id]['mod_say_fr'];
- $pconfig['mod_say_it'] = $a_modules[$id]['mod_say_it'];
- $pconfig['mod_say_nl'] = $a_modules[$id]['mod_say_nl'];
- $pconfig['mod_say_ru'] = $a_modules[$id]['mod_say_ru'];
- $pconfig['mod_say_zh'] = $a_modules[$id]['mod_say_zh'];
-
-}
-
-if ($_POST) {
-
- unset($input_errors);
- $pconfig = $_POST;
-
- if (!$input_errors) {
-
- $ent = array();
- //$ent['zzz'] = $_POST['zzz'];
-
- //Loggers
- $ent['mod_console'] = $_POST['mod_console'];
- $ent['mod_logfile'] = $_POST['mod_logfile'];
- $ent['mod_syslog'] = $_POST['mod_syslog'];
-
- //Multi-Faceted
- $ent['mod_enum'] = $_POST['mod_enum'];
-
- //XML Interfaces
- $ent['mod_xml_rpc'] = $_POST['mod_xml_rpc'];
- $ent['mod_xml_curl'] = $_POST['mod_xml_curl'];
- $ent['mod_xml_cdr'] = $_POST['mod_xml_cdr'];
- $ent['mod_cdr_csv'] = $_POST['mod_cdr_csv'];
-
- //Event Handlers
- $ent['mod_event_multicast'] = $_POST['mod_event_multicast'];
- $ent['mod_event_socket'] = $_POST['mod_event_socket'];
- $ent['mod_zeroconf'] = $_POST['mod_zeroconf'];
-
- //Directory Interfaces
- $ent['mod_ldap'] = $_POST['mod_ldap'];
-
- //Endpoints
- $ent['mod_dingaling'] = $_POST['mod_dingaling'];
- $ent['mod_iax'] = $_POST['mod_iax'];
- $ent['mod_portaudio'] = $_POST['mod_portaudio'];
- $ent['mod_alsa'] = $_POST['mod_alsa'];
- $ent['mod_sofia'] = $_POST['mod_sofia'];
- $ent['mod_loopback'] = $_POST['mod_loopback'];
- $ent['mod_wanpipe'] = $_POST['mod_wanpipe'];
- $ent['mod_woomera'] = $_POST['mod_woomera'];
- $ent['mod_openzap'] = $_POST['mod_openzap'];
-
- //Applications
- $ent['mod_cidlookup'] = $_POST['mod_cidlookup'];
- $ent['mod_commands'] = $_POST['mod_commands'];
- $ent['mod_conference'] = $_POST['mod_conference'];
- $ent['mod_dptools'] = $_POST['mod_dptools'];
- $ent['mod_esf'] = $_POST['mod_esf'];
- $ent['mod_easyroute'] = $_POST['mod_easyroute'];
- $ent['mod_expr'] = $_POST['mod_expr'];
- $ent['mod_fax'] = $_POST['mod_fax'];
- $ent['mod_fsv'] = $_POST['mod_fsv'];
- $ent['mod_fifo'] = $_POST['mod_fifo'];
- $ent['mod_file_string'] = $_POST['mod_file_string'];
- $ent['mod_lcr'] = $_POST['mod_lcr'];
- $ent['mod_limit'] = $_POST['mod_limit'];
- $ent['mod_soundtouch'] = $_POST['mod_soundtouch'];
- $ent['mod_spy'] = $_POST['mod_spy'];
- $ent['mod_vmd'] = $_POST['mod_vmd'];
- $ent['mod_voicemail'] = $_POST['mod_voicemail'];
-
- //SNOM
- $ent['mod_snom'] = $_POST['mod_snom'];
-
- //Dialplan Interfaces
- $ent['mod_dialplan_directory'] = $_POST['mod_dialplan_directory'];
- $ent['mod_dialplan_xml'] = $_POST['mod_dialplan_xml'];
- $ent['mod_dialplan_asterisk'] = $_POST['mod_dialplan_asterisk'];
- $ent['mod_yaml'] = $_POST['mod_yaml'];
-
- //Codec Interfaces
- $ent['mod_voipcodecs'] = $_POST['mod_voipcodecs'];
- $ent['mod_g723_1'] = $_POST['mod_g723_1'];
- $ent['mod_g729'] = $_POST['mod_g729'];
- $ent['mod_amr'] = $_POST['mod_amr'];
- $ent['mod_amrwb'] = $_POST['mod_amrwb'];
- $ent['mod_ilbc'] = $_POST['mod_ilbc'];
- $ent['mod_speex'] = $_POST['mod_speex'];
- $ent['mod_siren'] = $_POST['mod_siren'];
- $ent['mod_celt'] = $_POST['mod_celt'];
- $ent['mod_h26x'] = $_POST['mod_h26x'];
-
- //File Format Interfaces
- $ent['mod_sndfile'] = $_POST['mod_sndfile'];
- $ent['mod_native_file'] = $_POST['mod_native_file'];
-
- //Streams / Files
- $ent['mod_shout'] = $_POST['mod_shout'];
- $ent['mod_local_stream'] = $_POST['mod_local_stream'];
- $ent['mod_tone_stream'] = $_POST['mod_tone_stream'];
-
- //Languages
- $ent['mod_spidermonkey'] = $_POST['mod_spidermonkey'];
- $ent['mod_spidermonkey_core_db'] = $_POST['mod_spidermonkey_core_db'];
- $ent['mod_spidermonkey_curl'] = $_POST['mod_spidermonkey_curl'];
- $ent['mod_spidermonkey_odbc'] = $_POST['mod_spidermonkey_odbc'];
- $ent['mod_spidermonkey_socket'] = $_POST['mod_spidermonkey_socket'];
- $ent['mod_spidermonkey_teletone'] = $_POST['mod_spidermonkey_teletone'];
- $ent['mod_perl'] = $_POST['mod_perl'];
- $ent['mod_python'] = $_POST['mod_python'];
- $ent['mod_java'] = $_POST['mod_java'];
- $ent['mod_lua'] = $_POST['mod_lua'];
-
- //ASR / TTS
- $ent['mod_flite'] = $_POST['mod_flite'];
- $ent['mod_pocketsphinx'] = $_POST['mod_pocketsphinx'];
- $ent['mod_cepstral'] = $_POST['mod_cepstral'];
- $ent['mod_openmrcp'] = $_POST['mod_openmrcp'];
- $ent['mod_rss'] = $_POST['mod_rss'];
-
- //Say
- $ent['mod_say_de'] = $_POST['mod_say_de'];
- $ent['mod_say_en'] = $_POST['mod_say_en'];
- $ent['mod_say_es'] = $_POST['mod_say_es'];
- $ent['mod_say_fr'] = $_POST['mod_say_fr'];
- $ent['mod_say_it'] = $_POST['mod_say_it'];
- $ent['mod_say_nl'] = $_POST['mod_say_nl'];
- $ent['mod_say_ru'] = $_POST['mod_say_ru'];
- $ent['mod_say_zh'] = $_POST['mod_say_zh'];
-
- if (isset($id) && $a_modules[$id]) {
- //update
- $a_modules[$id] = $ent;
- }
- else {
- //add
- $a_modules[] = $ent;
- }
-
- write_config();
- sync_package_v_modules();
-
- //header("Location: v_zzz.php");
- //exit;
- }
-}
-
-include("head.inc");
-
-?>
-
-<script type="text/javascript" language="JavaScript">
-
-function show_advanced_config() {
- document.getElementById("showadvancedbox").innerHTML='';
- aodiv = document.getElementById('showadvanced');
- aodiv.style.display = "block";
-}
-
-</script>
-
-<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
-<?php
-include("fbegin.inc");
-if ($v_label_show) {
- echo "<p class=\"pgtitle\">$v_label: Modules</p>\n";
-}
-?>
-<?php if ($input_errors) print_input_errors($input_errors); ?>
-
-
-<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" >
-
- <!--
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td><p><span class="vexpl"><span class="red"><strong>Modules<br />
- </strong></span>
- <?php
- if ($v_path_show) {
- echo $v_mod_dir."\n";
- }
- ?>
- </p></td>
- </tr>
- </table>
- -->
- <br />
-
- <form action="v_modules.php" method="post" name="iform" id="iform">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
-
-<?php
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Loggers</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>console</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_console' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_console'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Send logs to the console. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>logfile</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_logfile' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_logfile'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Send logs to the local file system. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>syslog</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_syslog' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_syslog'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Send logs to a remote syslog server. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Multi-Faceted</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>enum</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_enum' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_enum'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Route PSTN numbers over internet according to ENUM servers, such as e164.org. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>XML Interfaces</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>xml rpc</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_xml_rpc' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_xml_rpc'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "XML Remote Procedure Calls. Issue commands from your web application. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>xml curl</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_xml_curl' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_xml_curl'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "XML Gateway Code. Configure FreeSWITCH from a web server on boot and on the fly. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>xml cdr</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_xml_cdr' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_xml_cdr'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "XML based call detail record handler. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Event Handlers</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>cdr csv</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_cdr_csv' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_cdr_csv'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "CSV call detail record handler. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>event multicast</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_event_multicast' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_event_multicast'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Broadcasts events to netmask. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>event socket</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_event_socket' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_event_socket'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Sends events via a single socket. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>zeroconf</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_zeroconf' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_zeroconf'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Support for zeroconf. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Directory Interfaces</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>ldap</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_ldap' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_ldap'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "LDAP module made to obtain dialplans, user accounts, etc. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Endpoints</td></tr>\n";
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>dingaling</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_dingaling' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_dingaling'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Jabber/GoogleTalk Talk integration module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>iax</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_iax' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_iax'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "IAX2. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>portaudio</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_portaudio' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_portaudio'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Voice through a local soundcard. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>alsa</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_alsa' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_alsa'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>sofia</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_sofia' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_sofia'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "SIP module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>loopback</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_loopback' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_loopback'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "A loopback channel driver to make an outbound call as an inbound call. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>wanpipe</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_wanpipe' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_wanpipe'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "T1/E1 Sangoma Card module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>woomera</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_woomera' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_woomera'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "H.323/Woomera module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>openzap</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_openzap' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_openzap'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Interface to Zaptel hardware. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Applications</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>cid lookup</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_cidlookup' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_cidlookup'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Lookup Caller ID. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>commands</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_commands' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_commands'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "A plethora of API interface commands. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>conference</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_conference' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_conference'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Conference room module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>dptools</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_dptools' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_dptools'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Provides a number of apps and utilities for the dialplan. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>easyroute</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_easyroute' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_easyroute'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "DID routing engine that uses a database lookup to determine how to route an incoming call. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>esf</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_esf' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_esf'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Holds the multi cast paging application for SIP. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>exp</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_expr' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_expr'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Brian Allen Vanderburgs expression evaluation library. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>fax</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_fax' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_fax'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "FAX provides fax send and receive. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>fifo</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_fifo' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_fifo'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "FIFO provides custom call queues including call park. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>file string</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_file_string' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_file_string'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>fsv</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_fsv' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_fsv'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "FreeSWITCH Video application (Recording and playback). <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>lcr</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_lcr' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_lcr'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Least Cost Routing. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>limit</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_limit' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_limit'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Resource limitation module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>soundtouch</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_soundtouch' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_soundtouch'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "modify pitch and other sound effects. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spy</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spy' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spy'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>vmd</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_vmd' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_vmd'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Voicemail Beep Detection. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>voicemail</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_voicemail' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_voicemail'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Full featured voicemail module. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>SNOM Module</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>snom</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_snom' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_snom'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Dialplan Interfaces</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>dialplan directory</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_dialplan_directory' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_dialplan_directory'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Allows you to obtain a dialplan from a directory resource. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>dialplan xml</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_dialplan_xml' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_dialplan_xml'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Allows you to program dialplans in XML format. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>dialplan asterisk</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_dialplan_asterisk' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_dialplan_asterisk'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Allows you to create dialplans the old-fashioned way. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>yaml</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_yaml' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_yaml'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Allows you to program dialplans in YAML format. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Codec Interfaces</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>voipcodecs</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_voipcodecs' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_voipcodecs'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>g723_1</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_g723_1' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_g723_1'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "G.723.1 codec. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>g729</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_g729' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_g729'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "G729 codec is only supported in passthrough mode. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>amr</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_amr' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_amr'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "amr codec. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>amrwb</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_amrwb' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_amrwb'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "amrwb codec. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>ilbc</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_ilbc' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_ilbc'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "ILBC codec. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>speex</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_speex' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_speex'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Speex codec. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>siren</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_siren' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_siren'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Siren codec.<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>celt</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_celt' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_celt'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Celt codec. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>h26x</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_h26x' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_h26x'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "H26X signed linear codec. Video Pass-thru. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>File Format Interfaces</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>sndfile</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_sndfile' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_sndfile'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Multi-format file format transcoder (WAV, etc). <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>native file</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_native_file' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_native_file'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "File interface for codec specific file formats. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Streams / Files</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>shout</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_shout' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_shout'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "mp3 files and shoutcast streams. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>local stream</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_local_stream' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_local_stream'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "For local streams (play all the files in a directory). <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>tone stream</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_tone_stream' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_tone_stream'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Generate tone streams. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Languages</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spidermonkey</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spidermonkey' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spidermonkey'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "JavaScript support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spidermonkey core db</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spidermonkey_core_db' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spidermonkey_core_db'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "JavaScript SQLite support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spidermonkey curl</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spidermonkey_curl' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spidermonkey_curl'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "JavaScript CURL support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spidermonkey odbc</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spidermonkey_odbc' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spidermonkey_odbc'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "JavaScript ODBC support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spidermonkey socket</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spidermonkey_socket' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spidermonkey_socket'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "JavaScript SOCKET support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>spidermonkey teletone</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_spidermonkey_teletone' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_spidermonkey_teletone'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "JavaScript Teletone support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>perl</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_perl' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_perl'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Perl support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>python</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_python' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_python'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Python support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>java</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_java' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_java'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Java support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>lua</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_lua' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_lua'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Lua support. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>ASR / TTS</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>flite</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_flite' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_flite'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Free open source Text to Speech. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>pocketsphinx</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_pocketsphinx' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_pocketsphinx'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Free open source Speech Recognition. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>cepstral</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_cepstral' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_cepstral'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Links into Cepstral for dynamic sound output. Not available on this build. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
- /*
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>openmrcp</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_openmrcp' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_openmrcp'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Module for an open MRCP implementation. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
- */
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>rss</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_rss' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_rss'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "Reads RSS feeds via a TTS engine. <br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
- echo " <tr><td>&nbsp;</td></tr><tr><td class='listtopic' colspan='2'>Say</td></tr>\n";
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say de</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_de' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_de'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say en</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_en' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_en'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say es</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_es' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_es'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say fr</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_fr' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_fr'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say it</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_it' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_it'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say nl</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_nl' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_nl'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say ru</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_ru' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_ru'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-
- echo " <tr>\n";
- echo " <td width='22%' valign='top' class='vncell'>say zh</td>\n";
- echo " <td width='78%' class='vtable'>\n";
- echo " <select name='mod_say_zh' class='formfld'>\n";
- echo " <option></option>\n";
- switch (htmlspecialchars($pconfig['mod_say_zh'])) {
- case "enable":
- echo " <option value='enable' selected='yes'>enable</option>\n";
- echo " <option value='disable'>disable</option>\n";
- break;
- case "disable":
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- break;
- default:
- echo " <option value='enable'>enable</option>\n";
- echo " <option value='disable' selected='yes'>disable</option>\n";
- }
- echo " </select><br />\n";
- echo "<br />\n";
- echo " </td>\n";
- echo " </tr>\n";
-
-?>
-
- </table>
- <!--
- <div id="showadvancedbox">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td width="25%" valign="top" class="vncell">Show Advanced</td>
- <td width="75%" class="vtable">
- <input type="button" onClick="show_advanced_config()" value="Advanced"></input></a>
- </td>
- </tr>
- </table>
- </div>
- <div id="showadvanced" style="display:none">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td width="25%" valign="top" class="vncell">zzz</td>
- <td width="75%" class="vtable">
- <input name="zzz" type="text" class="formfld" id="zzz" size="40" value="<?=htmlspecialchars($pconfig['zzz']);?>">
- <br /> <span class="vexpl">zzz<br /></span>
- </td>
- </tr>
- </table>
- </div>
- -->
- <br /><br />
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td width="25%" valign="top">&nbsp;</td>
- <td>
- <input name="Submit" type="submit" class="formbtn" value="Save"> <input class="formbtn" type="button" value="Cancel" onclick="history.back()">
- <?php
- $id = 0;
- if (isset($id) && $a_modules[$id]) {
- echo "<input name=\"id\" type=\"hidden\" value=\"".$id."\">\n";
- }
- ?>
- </td>
- </tr>
- </table>
- </form>
-
- <br />
- <br />
- <br />
- <br />
- <br />
- <br />
-
- </td>
- </tr>
-</table>
-
-</div>
-
-<?php include("fend.inc"); ?>
-</body>
-</html>