aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/freeswitch/freeswitch.inc12
-rw-r--r--packages/freeswitch/freeswitch.xml2
-rw-r--r--pkg_config.7.xml2
3 files changed, 10 insertions, 6 deletions
diff --git a/packages/freeswitch/freeswitch.inc b/packages/freeswitch/freeswitch.inc
index c0b9ee29..39da15af 100644
--- a/packages/freeswitch/freeswitch.inc
+++ b/packages/freeswitch/freeswitch.inc
@@ -851,14 +851,18 @@ function sync_package_freeswitch_ivr() {
$ent['fielddata'] = '^'.$rowhelper['ivrextension'].'$';
$a_dialplan_include_details[] = $ent;
unset($ent);
-
+
+ $ivrid = str_replace(array("{", "}"), "", $rowhelper['ivrid']);
+
$ent = array();
$ent['dialplanincludeid'] = $dialplanincludeid;
$ent['tag'] = 'action'; //condition, action, antiaction
$ent['fieldtype'] = 'javascript';
- $ent['fielddata'] = 'ivr_'.$rowhelper['ivrid'].'.js';
+ $ent['fielddata'] = 'ivr_'.$ivrid.'.js';
$a_dialplan_include_details[] = $ent;
unset($ent);
+
+ unset($ivrid);
}
if ($action == 'update') {
@@ -1117,7 +1121,7 @@ function sync_package_freeswitch_ivr() {
$x = 0;
if (count($a_ivr_options) > 0) {
- foreach(a_ivr_options as $row) {
+ foreach($a_ivr_options as $row) {
/*
$row['ivrid']
@@ -1796,7 +1800,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.3.1";
+ $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.3.6";
conf_mount_ro();
diff --git a/packages/freeswitch/freeswitch.xml b/packages/freeswitch/freeswitch.xml
index 8841602f..6bce2980 100644
--- a/packages/freeswitch/freeswitch.xml
+++ b/packages/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.3.5</version>
+ <version>0.3.6</version>
<title>FreeSWITCH: Settings</title>
<include_file>/usr/local/pkg/freeswitch.inc</include_file>
<menu>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index 16b40f9c..7b1968b9 100644
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -47,7 +47,7 @@
<category>Services</category>
<config_file>http://www.pfsense.com/packages/config/freeswitch/freeswitch.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.3.5</version>
+ <version>0.3.6</version>
<status>Beta</status>
<required_version>1.2.1</required_version>
<maintainer>markjcrane@gmail.com</maintainer>