aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeswitch/freeswitch.inc
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2008-12-07 04:39:27 +0000
committerMark Crane <mcrane@pfsense.org>2008-12-07 04:39:27 +0000
commit5e1d7d1fd9adbcd9c203b127c903a14956f18fe3 (patch)
tree21cff9eb5d6ae61ebe75de2d6d8a32860cd4a2e1 /packages/freeswitch/freeswitch.inc
parent2d84b6607ec7c35fa429a0ec77e94c70b46416ae (diff)
downloadpfsense-packages-5e1d7d1fd9adbcd9c203b127c903a14956f18fe3.tar.gz
pfsense-packages-5e1d7d1fd9adbcd9c203b127c903a14956f18fe3.tar.bz2
pfsense-packages-5e1d7d1fd9adbcd9c203b127c903a14956f18fe3.zip
PfSense FreeSWITCH Package IVR synch after install and the package is started.
Diffstat (limited to 'packages/freeswitch/freeswitch.inc')
-rw-r--r--packages/freeswitch/freeswitch.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/freeswitch/freeswitch.inc b/packages/freeswitch/freeswitch.inc
index cc021291..96b1b2a8 100644
--- a/packages/freeswitch/freeswitch.inc
+++ b/packages/freeswitch/freeswitch.inc
@@ -1784,9 +1784,12 @@ function freeswitch_php_install_command()
$handle = popen("/usr/local/etc/rc.d/freeswitch.sh start", "r");
pclose($handle);
+ if (pkg_is_service_running('freeswitch')) {
+ sync_package_freeswitch_ivr();
+ }
$config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_version'] = "1.0.1 revision 10638.";
- $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.3";
+ $config['installedpackages']['freeswitchsettings']['config'][0]['freeswitch_package_version'] = "0.3.1";
conf_mount_ro();