相続、親が弱ってきたら銀行の預金は親の面倒を見ているものが全て解約して管理すべきである、銀行は解約させない!!

FreePBX Asterisk github install

FreePBX
git clone https://github.com/asterisk/asterisk.git
cd /usr/src/freepbx
vi installlib/installcommand.class.php

$astver = “Asterisk 18.3.0 built”; を追記

// If this machine doesn't have an ethernet interface (which opens a WHOLE NEW can of worms),
// asterisk will say "No ethernet interface detected". There may, also, be other errors about
// other modules or configuration issues. The last line, however, is always the version.
$astver = trim(array_pop($tmpout));
$astver = "Asterisk 18.3.0 built";

// Parse Asterisk version.
if (preg_match('/^Asterisk (?:SVN-|GIT-)?(?:branch-)?(\d+(\.\d+)*)(-?(.*)) built/', $astver, $matches)) {
$determined = true;
if (version_compare($matches[1], "13", "lt") || version_compare($matches[1], "19", "ge")) {
$output->writeln("<error>Error!</error>");
$output->writeln("<error>Unsupported Version of ". $matches[1]."</error>");
$output->writeln("<error>Supported Asterisk versions: 13, 14, 15, 16, 17, 18</error>");
exit(1);
}
$output->writeln("Yes. Determined Asterisk version to be: ".$matches[1]);
break;
}
sleep(1);
$c++;
}
FreePBX
スポンサーリンク
シェアする
ふじやんをフォローする
スポンサーリンク

コメント