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

Installation with Asterisk 17 Fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: FreePBX Framework
    • Labels:
      None
    • Sprint:
      Sprint 21
    • ToDo:
    • Asterisk Version:
      17
    • Distro Version:
      N/A
    • Module Fix Version:

      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:
                kgupta Kapil Gupta
                Reporter:
                reraikes RonR
              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.