From 89681409d5fad7f2b272187cd3a31687d4d7982a Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Nov 2015 13:16:58 +0100 Subject: Fix siproxd_chroot configuration --- config/siproxd/siproxd.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/siproxd/siproxd.inc b/config/siproxd/siproxd.inc index 9eae2567..eb5658b9 100644 --- a/config/siproxd/siproxd.inc +++ b/config/siproxd/siproxd.inc @@ -146,6 +146,7 @@ function sync_package_siproxd() { } $siproxd_conffile = SIPROXD . '/etc/siproxd.conf'; $siproxd_pwfile = SIPROXD . '/etc/siproxd_passwd.cfg'; + $siproxd_chroot = "/var/siproxd/"; $pfs_version = substr(trim(file_get_contents("/etc/version")), 0, 3); if ($pfs_version == '2.2') { -- cgit v1.2.3 From d9a698a837378a8f55320cd31625472359e91e5b Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Nov 2015 13:18:16 +0100 Subject: Bump siproxd package version --- pkg_config.10.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 4dfe3a56..37935d71 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -568,7 +568,7 @@ net/siproxd - 1.0.7 + 1.0.8 BETA 2.2 siproxd.xml -- cgit v1.2.3 From 5c0e0f62620207a012578f0c5a5e93862c147090 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Nov 2015 13:18:50 +0100 Subject: Bump siproxd package version --- pkg_config.8.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index a081c1be..9c1890eb 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -593,7 +593,7 @@ siproxd-0.8.0-i386.pbi https://doc.pfsense.org/index.php/Siproxd_package /usr/ports/net/siproxd - 0.8.0_1 pkg v1.0.7 + 0.8.0_1 pkg v1.0.8 Beta 2.1 siproxd.xml -- cgit v1.2.3 From 9137da9532f1c3c031429ee5db49b7d097e6c297 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Nov 2015 13:19:21 +0100 Subject: Bump siproxd package version --- pkg_config.8.xml.amd64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 7113b826..12782e93 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -580,7 +580,7 @@ siproxd-0.8.0-amd64.pbi https://doc.pfsense.org/index.php/Siproxd_package /usr/ports/net/siproxd - 0.8.0_1 pkg v1.0.7 + 0.8.0_1 pkg v1.0.8 Beta 2.1 siproxd.xml -- cgit v1.2.3 From c099f638fc0ed1bf264a4810fb2c5cd36dfa3392 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Nov 2015 13:28:22 +0100 Subject: Do not produce warnings when registrations file does not exist --- config/siproxd/siproxd_registered_phones.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/siproxd/siproxd_registered_phones.php b/config/siproxd/siproxd_registered_phones.php index 0648aa2f..429b5338 100644 --- a/config/siproxd/siproxd_registered_phones.php +++ b/config/siproxd/siproxd_registered_phones.php @@ -40,8 +40,10 @@ require_once("guiconfig.inc"); -$phonetext = file_get_contents("/var/siproxd/siproxd_registrations"); -$phonedata = explode("\n", $phonetext); +if (file_exists("/var/siproxd/siproxd_registrations")) { + $phonetext = file_get_contents("/var/siproxd/siproxd_registrations"); + $phonedata = explode("\n", $phonetext); +} if (!is_array($phonedata)) { $phonedata = array(); -- cgit v1.2.3