aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-08-07 21:02:45 -0600
committermcrane <mctch@yahoo.com>2009-08-07 21:02:45 -0600
commit4f17d4c476bddebb91d66b3ba12d01ab20c775e3 (patch)
tree08a50d9e398fd9b7d8c2cd8e4a2f5c3ad0031b9c /config/freeswitch_dev
parente9653939b432451e4523e5381ed351f99a601fe0 (diff)
downloadpfsense-packages-4f17d4c476bddebb91d66b3ba12d01ab20c775e3.tar.gz
pfsense-packages-4f17d4c476bddebb91d66b3ba12d01ab20c775e3.tar.bz2
pfsense-packages-4f17d4c476bddebb91d66b3ba12d01ab20c775e3.zip
FreeSWITCH dev install issues take 1.
Diffstat (limited to 'config/freeswitch_dev')
-rw-r--r--config/freeswitch_dev/freeswitch.xml122
-rw-r--r--config/freeswitch_dev/v_config.inc44
2 files changed, 136 insertions, 30 deletions
diff --git a/config/freeswitch_dev/freeswitch.xml b/config/freeswitch_dev/freeswitch.xml
index ac9be241..c4990d8e 100644
--- a/config/freeswitch_dev/freeswitch.xml
+++ b/config/freeswitch_dev/freeswitch.xml
@@ -44,7 +44,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>Settings</name>
- <version></version>
+ <version>0.9.7.8</version>
<title>Settings</title>
<include_file>/usr/local/pkg/v_config.inc</include_file>
<menu>
@@ -67,9 +67,37 @@
<active/>
</tab>
<tab>
+ <text>Dialplan</text>
+ <url>/packages/freeswitch/v_dialplan_includes.php</url>
+ </tab>
+ <tab>
<text>Extensions</text>
<url>/packages/freeswitch/v_extensions.php</url>
</tab>
+ <tab>
+ <text>Features</text>
+ <url>/packages/freeswitch/v_features.php</url>
+ </tab>
+ <tab>
+ <text>Gateways</text>
+ <url>/packages/freeswitch/v_gateways.php</url>
+ </tab>
+ <tab>
+ <text>Profiles</text>
+ <url>/packages/freeswitch/v_profiles.php</url>
+ </tab>
+ <tab>
+ <text>Public</text>
+ <url>/packages/freeswitch/v_public_includes.php</url>
+ </tab>
+ <tab>
+ <text>Status</text>
+ <url>/packages/freeswitch/v_status.php</url>
+ </tab>
+ <tab>
+ <text>Vars</text>
+ <url>/packages/freeswitch/v_vars.php</url>
+ </tab>
</tabs>
<configpath>installedpackages->package->$packagename->configuration->freeswitchsettings</configpath>
<additional_files_needed>
@@ -91,6 +119,60 @@
<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 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>
@@ -125,7 +207,43 @@
<value>false</value>
</option>
</options>
- </field>
+ </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>
+ <field>
+ <fielddescr>Mod Shout Decoder</fielddescr>
+ <fieldname>mod_shout_decoder</fieldname>
+ <description>Enter the Decoder. default: i386</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Mod Shout Volume</fielddescr>
+ <fieldname>mod_shout_volume</fieldname>
+ <description>Enter the Volume. default: 0.3</description>
+ <type>input</type>
+ </field>
</fields>
<custom_add_php_command>
</custom_add_php_command>
diff --git a/config/freeswitch_dev/v_config.inc b/config/freeswitch_dev/v_config.inc
index 37a6867d..0355e4d7 100644
--- a/config/freeswitch_dev/v_config.inc
+++ b/config/freeswitch_dev/v_config.inc
@@ -35,7 +35,7 @@
//global variables
$php_dir = '/usr/local/bin/php';
$tmp_dir = '/tmp/';
- $v_package_version = "0.9.7.7";
+ $v_package_version = "0.9.7.8";
$v_build_version = "1.0.4";
$v_build_revision = "";
$v_label = 'FreeSWITCH'; //FreeSWITCH (TM) http://www.freeswitch.org/
@@ -3112,8 +3112,8 @@ function v_php_install_command()
// $freebsd_version = "7.2";
//}
- $static_output = 'Extracting';
- update_output_window($static_output);
+// $static_output = 'Extracting';
+// update_output_window($static_output);
$download_path = 'http://www.pfsense.com/packages/config/freeswitch_dev/';
//exec("cd /tmp/;fetch ".$download_path."freeswitch.tgz"); //handled by freeswitch.xml
@@ -3128,11 +3128,11 @@ function v_php_install_command()
exec("mkdir ".$v_storage_dir."/fax/");
}
- $static_output = 'Downloading Files';
- update_output_window($static_output);
+// $static_output = 'Downloading Files';
+// update_output_window($static_output);
- //downlaod and install the packages
+ //download and install the packages
$pkg_download_path = $download_path."freebsd7.2/1_0_4/";
pkg_add($pkg_download_path, "libpri-1.4.1.tbz");
@@ -3165,7 +3165,7 @@ function v_php_install_command()
//pkg_add($pkg_download_path, "perl-5.8.9_3.tbz");
//add sqlite package
- exec("pkg_add -r sqlite34");
+ //exec("pkg_add -r sqlite34");
//download the dialplan default.xml
@@ -3195,8 +3195,8 @@ function v_php_install_command()
exec("mkdir ".$v_dir."/sounds/custom/8000/");
}
- $static_output = 'Downloading Audio Files';
- update_output_window($static_output);
+// $static_output = 'Downloading Audio Files';
+// update_output_window($static_output);
//copy audio files
chdir($v_dir.'/sounds/custom/8000/');
@@ -3216,23 +3216,11 @@ function v_php_install_command()
//chdir($v_mod_dir.'/mod/');
//exec("fetch ".$download_path."mod_fax.so");
- //download lib files
- //chdir('/usr/local/lib/');
- //exec("fetch ".$download_path."libtinfo.so.5.6");
- //exec("fetch ".$download_path."libncurses.so.5.6");
- //exec("fetch ".$download_path."libncurses.so.5.7");
- //exec("fetch ".$download_path."libogg.so.5.3");
- //exec("cp /usr/local/lib/libogg.so.5.3 /usr/local/lib/libogg.so.5");
- //exec("fetch ".$download_path."libvorbis.so.4");
- //exec("fetch ".$download_path."libcurl.so.5");
- //exec("fetch ".$download_path."libodbc.so.1");
- //exec("fetch ".$download_path."libiconv.so.3");
- //exec("fetch ".$download_path."libspandsp.so.1");
- //exec("cp /usr/local/lib/libspandsp.so.1 /usr/local/lib/libspandsp.so.2");
-
-
- $static_output = 'Downloading Package Files';
- update_output_window($static_output);
+
+
+
+// $static_output = 'Downloading Package Files';
+// update_output_window($static_output);
//misc files
if (!is_dir('/usr/local/www/edit_area/')) {
@@ -3826,8 +3814,8 @@ function v_php_install_command()
//extract a specific directory
$filename = $v_name.'.bak.tgz';
if (file_exists($v_backup_dir.$filename)) {
- $static_output = 'Restore the Backup';
- update_output_window($static_output);
+// $static_output = 'Restore the Backup';
+// update_output_window($static_output);
//echo "The file $filename exists";