Fresh Freepbx 15 using latest 18 asterisk Unsupported Version of 18.1


#1

i tried editing the install.php and added in 19 to sup 18 still would not work. Still tells me my asterisk is not running under user asterisk?

$engine_info = engine_getinfo();
if (version_compare($engine_info[‘version’], “13”, “lt”) || version_compare($engine_info[‘version’], “19”, “ge”)) {
$output->writeln(“Error!”);
$output->writeln(“Unsupported Version of “. $matches[1].””);
$output->writeln(“Supported Asterisk versions: 13, 14, 15, 16, 17”);
exit(1);
}

is 18 not supported?

using Debian 10
ii php 2:7.3+69 all server-side, HTML-embedded scripting language (default)

ps aux |grep asterisk

asterisk 593 8.6 1.8 1234064 70500 ? Ssl 12:45 0:01 /usr/sbin/asterisk -U asterisk -G asterisk
asterisk 603 0.0 0.2 233500 10476 ? S 12:45 0:00 /usr/sbin/apache2 -k start
asterisk 604 0.0 0.2 233500 10476 ? S 12:45 0:00 /usr/sbin/apache2 -k start
asterisk 605 0.0 0.2 233500 10476 ? S 12:45 0:00 /usr/sbin/apache2 -k start
asterisk 606 0.0 0.2 233500 10476 ? S 12:45 0:00 /usr/sbin/apache2 -k start
asterisk 607 0.0 0.2 233500 10476 ? S 12:45 0:00 /usr/sbin/apache2 -k start
root 739 0.0 0.0 6208 824 pts/0 S+ 12:46 0:00 /bin/grep -s --ignore-case --color=auto asterisk

freepbx# sudo ./install
Database engine [mysql]:
Database name [asterisk]:
Database server address [localhost]:
CDR Database name [asteriskcdrdb]:
Database username [root]:
Database password:
File owner user [asterisk]:
File owner group [asterisk]:
Filesystem location from which FreePBX files will be served [/var/www/html]:
Filesystem location from which Asterisk configuration files will be served [/etc/asterisk]:
Filesystem location for Asterisk modules [/usr/lib/asterisk/modules]:
Filesystem location for Asterisk lib files [/var/lib/asterisk]:
Filesystem location for Asterisk agi files [/var/lib/asterisk/agi-bin]:
Location of the Asterisk spool directory [/var/spool/asterisk]:
Location of the Asterisk run directory [/var/run/asterisk]:
Location of the Asterisk log files [/var/log/asterisk]:
Location of the FreePBX command line scripts [/var/lib/asterisk/bin]:
Location of the FreePBX (root) command line scripts [/usr/sbin]:
Location of the Apache cgi-bin executables [/var/www/cgi-bin]:
Directory for FreePBX html5 playback files [/var/lib/asterisk/playback]:
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /etc/asterisk/asterisk.conf…Done
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Error!
Unsupported Version of 18.1.0
Supported Asterisk versions: 13, 14, 15, 16, 17


(Lorne Gaetz) #2

There is no support in FreePBX framework yet for 18. You can temporarily override this by setting the Asterisk Version in Advanced Settings to make FreePBX think a different version is installed. We should see a fix in edge shortly for this.