CentOS 7 Asterisk + FreePBX 安装:

CentOS 7 Asterisk + FreePBX 安装:

我尝试在 FreePBX 安装上运行 ./install -n 并得到:

=====
Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Error!
Could not determine Asterisk version (got: No ethernet interface found for seeding global EID. You will have to set it manually.). Please report this.
=====

在 Asterisk 上执行 core show version 会给我No ethernet interface found for seeding global EID. You will have to set it manually.下面一行上的版本号。

我四处寻找,却找不到解决方案

答案1

在源文件 freepbx/installlib/installcommand.class.php 中

替换行266如下所示:

$lastline = exec("runuser" . $answers['user'] . ' -s /bin/bash -c "cd ~/ && asterisk -rx \'core show version\' | grep ^Asterisk 2>&1"', $tmpout, $ret);

代替:

$lastline = exec("runuser" . $answers['user'] . ' -s /bin/bash -c "cd ~/ && asterisk -rx \'core show version\' 2>&1"', $tmpout, $ret);

相关内容