Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20558

Installation with Asterisk 17 Fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: FreePBX Framework
    • Labels:
      None
    • Asterisk Version:
      17
    • Distro Version:
      N/A

      Description

      FreePBX installer reports:

      Unsupported Version of 17.0.0
      Supported Asterisk versions: 13, 14, 15, 16, 17

      
      if (version_compare($engine_info['version'], "13", "lt") || version_compare($engine_info['version'], "17", "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</error>");
              exit(1);
      

      needs to be changed to

      
      if (version_compare($engine_info['version'], "13", "lt") || version_compare($engine_info['version'], "18", "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</error>");
              exit(1);
      

      in

      amp_conf/htdocs/admin/libraries/Console/Reload.class.php
      installlib/installcommand.class.php
      install.php

      of the framework module and the freepbx-15.0-latest.tgz installer.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                reraikes RonR
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: