You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
754 B
14 lines
754 B
diff --git a/framework/install_amp b/framework/install_amp
|
|
index 3279e840..7c8d547c 100755
|
|
--- a/framework/install_amp
|
|
+++ b/framework/install_amp
|
|
@@ -1361,7 +1361,7 @@ $verinfo = $tmpout;
|
|
outn("Checking for Asterisk version..");
|
|
if ((preg_match('/^Asterisk (\d+(\.\d+)*)(-?(.*))$/', $verinfo, $matches)) ||
|
|
(preg_match('/^Asterisk SVN-(\d+(\.\d+)*)(-?(.*))$/', $verinfo, $matches)) ||
|
|
- (preg_match('/^Asterisk certified\/(\d+(\.\d+)*)(-?(.*))$/', $verinfo, $matches))) {
|
|
+ (preg_match('/^Asterisk certified.(\d+(\.\d+)*)(-?(.*))$/', $verinfo, $matches))) {
|
|
if ((version_compare($matches[1], "1.6") < 0)) {
|
|
fatal("Asterisk 1.6, 1.8 or 10 is required for this version of IssabelPBX. Detected version is: ".$matches[1]);
|
|
}
|