From bee9786cc25c97a02cf03255d2abb16cbc5f90f1 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 21 Dec 2008 07:26:39 +0000 Subject: FreeSWITCH package added mod_shout (support mp3), mod_siren codec (16kHz G722.1 and 32kHz G722.1C, mod_celt codec (48kHz cd quality), FreeSWITCH revision 10896. --- packages/freeswitch/freeswitch.inc | 23 ++++++++++++++++++++- packages/freeswitch/freeswitch.xml | 2 +- packages/freeswitch/freeswitch_modules.xml | 32 ++++++++++++++++++++++++++++++ pkg_config.7.xml | 2 +- 4 files changed, 56 insertions(+), 3 deletions(-) diff --git a/packages/freeswitch/freeswitch.inc b/packages/freeswitch/freeswitch.inc index e7da6cd1..576b545d 100644 --- a/packages/freeswitch/freeswitch.inc +++ b/packages/freeswitch/freeswitch.inc @@ -609,6 +609,8 @@ function sync_package_freeswitch_modules() if ($rowhelper['mod_amr'] == "enable"){ $tmpxml .= " \n"; } if ($rowhelper['mod_ilbc'] == "enable"){ $tmpxml .= " \n"; } if ($rowhelper['mod_speex'] == "enable"){ $tmpxml .= " \n"; } + if ($rowhelper['mod_siren'] == "enable"){ $tmpxml .= " \n"; } + if ($rowhelper['mod_celt'] == "enable"){ $tmpxml .= " \n"; } if ($rowhelper['mod_h26x'] == "enable"){ $tmpxml .= " \n"; } $tmpxml .= "\n"; $tmpxml .= " \n"; @@ -1796,6 +1798,19 @@ function freeswitch_php_install_command() fclose($fout); unset($filename); + //prepare shout.conf.xml for mod_shout + $fout = fopen("/usr/local/freeswitch/conf/autoload_configs/shout.conf.xml","w"); + $tmpxml = "\n"; + $tmpxml .= " \n"; + $tmpxml .= " \n"; + $tmpxml .= " \n"; + $tmpxml .= " \n"; + $tmpxml .= " \n"; + $tmpxml .= " \n"; + $tmpxml .= ""; + fwrite($fout, $tmpxml); + unset($tmpxml); + fclose($fout); $fout = fopen("/usr/local/freeswitch/conf/autoload_configs/event_socket.conf.xml","w"); $tmpxml = "\n"; @@ -1935,6 +1950,12 @@ function freeswitch_php_install_command() if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_speex']) == 0) { $config['installedpackages']['freeswitchmodules']['config'][0]['mod_speex'] = "enable"; } + if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_siren']) == 0) { + $config['installedpackages']['freeswitchmodules']['config'][0]['mod_siren'] = "enable"; + } + if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_celt']) == 0) { + $config['installedpackages']['freeswitchmodules']['config'][0]['mod_celt'] = "enable"; + } if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_h26x']) == 0) { $config['installedpackages']['freeswitchmodules']['config'][0]['mod_h26x'] = "enable"; } @@ -2041,7 +2062,7 @@ function freeswitch_php_install_command() } $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_version'] = "1.0.1 revision 10638."; - $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.5.3"; + $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.5.4"; conf_mount_ro(); diff --git a/packages/freeswitch/freeswitch.xml b/packages/freeswitch/freeswitch.xml index a97212a3..cde813a4 100644 --- a/packages/freeswitch/freeswitch.xml +++ b/packages/freeswitch/freeswitch.xml @@ -44,7 +44,7 @@ Describe your package requirements here Currently there are no FAQ items provided. FreeSWITCH Settings - 0.5.3 + 0.5.4 FreeSWITCH: Settings /usr/local/pkg/freeswitch.inc diff --git a/packages/freeswitch/freeswitch_modules.xml b/packages/freeswitch/freeswitch_modules.xml index 38b0ac9b..87ad6a44 100644 --- a/packages/freeswitch/freeswitch_modules.xml +++ b/packages/freeswitch/freeswitch_modules.xml @@ -836,6 +836,38 @@ + + mod_siren + mod_siren + Siren codec. + select + + + + + + + mod_celt + mod_celt + Celt codec. + select + + + + + mod_h26x mod_h26x diff --git a/pkg_config.7.xml b/pkg_config.7.xml index dc61f208..ac973f49 100644 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -66,7 +66,7 @@ http://forum.pfsense.org/index.php/topic,11930.0.html http://www.pfsense.com/packages/config/freeswitch/freeswitch.xml http://files.pfsense.org/packages/7/All/ - 0.5.3 + 0.5.4 Beta 1.2.1 markjcrane@gmail.com -- cgit v1.2.3