aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-06-16 05:04:31 -0600
committermcrane <mctch@yahoo.com>2009-06-16 05:04:31 -0600
commitfeb86a1699a7273af44489780524f3a6fa17dd15 (patch)
tree5ac56d5c92f4369d58c3eec84391dadc359e0a9a /config/freeswitch
parentae6b15e157968adfde3fd7da86fddbbc64295f86 (diff)
downloadpfsense-packages-feb86a1699a7273af44489780524f3a6fa17dd15.tar.gz
pfsense-packages-feb86a1699a7273af44489780524f3a6fa17dd15.tar.bz2
pfsense-packages-feb86a1699a7273af44489780524f3a6fa17dd15.zip
FreeSWITCH resolve dependency for mod_shout
Diffstat (limited to 'config/freeswitch')
-rw-r--r--config/freeswitch/freeswitch.inc36
-rw-r--r--config/freeswitch/freeswitch.xml2
2 files changed, 34 insertions, 4 deletions
diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc
index a4df2be1..c675f9ee 100644
--- a/config/freeswitch/freeswitch.inc
+++ b/config/freeswitch/freeswitch.inc
@@ -815,6 +815,7 @@ function sync_package_freeswitch_modules()
$tmpxml .= "\n";
$tmpxml .= " <!-- Languages -->\n";
if ($rowhelper['mod_spidermonkey'] == "enable"){ $tmpxml .= " <load module=\"mod_spidermonkey\"/>\n"; }
+ if ($rowhelper['mod_spidermonkey_odbc'] == "enable"){ $tmpxml .= " <load module=\"mod_spidermonkey_odbc\"/>\n"; }
if ($rowhelper['mod_perl'] == "enable"){ $tmpxml .= " <load module=\"mod_perl\"/>\n"; }
if ($rowhelper['mod_python'] == "enable"){ $tmpxml .= " <load module=\"mod_python\"/>\n"; }
if ($rowhelper['mod_java'] == "enable"){ $tmpxml .= " <load module=\"mod_java\"/>\n"; }
@@ -829,6 +830,12 @@ function sync_package_freeswitch_modules()
$tmpxml .= "\n";
$tmpxml .= " <!-- Say -->\n";
if ($rowhelper['mod_say_en'] == "enable"){ $tmpxml .= " <load module=\"mod_say_en\"/>\n"; }
+ if ($rowhelper['mod_say_de'] == "enable"){ $tmpxml .= " <load module=\"mod_say_de\"/>\n"; }
+ if ($rowhelper['mod_say_es'] == "enable"){ $tmpxml .= " <load module=\"mod_say_es\"/>\n"; }
+ if ($rowhelper['mod_say_fr'] == "enable"){ $tmpxml .= " <load module=\"mod_say_fr\"/>\n"; }
+ if ($rowhelper['mod_say_it'] == "enable"){ $tmpxml .= " <load module=\"mod_say_it\"/>\n"; }
+ if ($rowhelper['mod_say_nl'] == "enable"){ $tmpxml .= " <load module=\"mod_say_nl\"/>\n"; }
+ if ($rowhelper['mod_say_ru'] == "enable"){ $tmpxml .= " <load module=\"mod_say_ru\"/>\n"; }
if ($rowhelper['mod_say_zh'] == "enable"){ $tmpxml .= " <load module=\"mod_say_zh\"/>\n"; }
$tmpxml .= " </modules>\n";
$tmpxml .= "</configuration>";
@@ -2575,9 +2582,9 @@ function sync_package_freeswitch()
function freeswitch_php_install_command()
{
global $config;
- $freeswitch_package_version = "0.9.2";
- $freeswitch_build_version = "1.0.4 pre 6";
- $freeswitch_build_revision = "13238";
+ $freeswitch_package_version = "0.9.2.2";
+ $freeswitch_build_version = "1.0.4 pre 8";
+ $freeswitch_build_revision = "13775";
//set script execution time limit to 24 hours
set_time_limit (86400);
@@ -2659,7 +2666,9 @@ function freeswitch_php_install_command()
//download lib files
exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libtinfo.so.5.6");
exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libncurses.so.5.6");
+ exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libncurses.so.5.7");
exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libogg.so.5.3");
+ exec("cp /usr/local/lib/libogg.so.5.3 /usr/local/lib/libogg.so.5");
exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libvorbis.so.4");
exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libcurl.so.5");
exec("cd /usr/local/lib/;fetch http://www.pfsense.com/packages/config/freeswitch/libodbc.so.1");
@@ -3188,6 +3197,9 @@ function freeswitch_php_install_command()
if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_spidermonkey']) == 0) {
$config['installedpackages']['freeswitchmodules']['config'][0]['mod_spidermonkey'] = "enable";
}
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_spidermonkey_odbc']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_spidermonkey_odbc'] = "disable";
+ }
if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_perl']) == 0) {
$config['installedpackages']['freeswitchmodules']['config'][0]['mod_perl'] = "disable";
}
@@ -3218,6 +3230,24 @@ function freeswitch_php_install_command()
if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_en']) == 0) {
$config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_en'] = "enable";
}
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_de']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_de'] = "disable";
+ }
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_es']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_es'] = "disable";
+ }
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_fr']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_fr'] = "disable";
+ }
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_it']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_it'] = "disable";
+ }
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_nl']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_nl'] = "disable";
+ }
+ if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_ru']) == 0) {
+ $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_ru'] = "disable";
+ }
if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_zh']) == 0) {
$config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_zh'] = "disable";
}
diff --git a/config/freeswitch/freeswitch.xml b/config/freeswitch/freeswitch.xml
index c786a41b..3ce9d0f2 100644
--- a/config/freeswitch/freeswitch.xml
+++ b/config/freeswitch/freeswitch.xml
@@ -44,7 +44,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>FreeSWITCH Settings</name>
- <version>0.9.2</version>
+ <version>0.9.2.2</version>
<title>FreeSWITCH: Settings</title>
<include_file>/usr/local/pkg/freeswitch.inc</include_file>
<menu>