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

No PJSip trunks register after update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not an issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core - Trunks/Routing
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.12.1
    • Distro Version:
      10.13.66-17
    • Distro:
      FreePBX Distro

      Description

      Accepting all pending module updates to latest version broke stable track FreePBX; no PJSip trunks register after reboot of FreePBX distro.

      We run into the same send_connected_line=false issue as described here: https://issues.freepbx.org/browse/FREEPBX-20843

      Removing the send_connected_line instances manually from /etc/asterisk/pjsip.endpoint.conf fixes the issue, but they are written back when configuration is updated from the web UI.

      According to https://github.com/asterisk/asterisk/blob/13/CHANGES, the send_connected_line option has been added in 13.24.0 We are at 13.12.1. In the file /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php, I find this:

      $ver_list = array("13.0.24", "16.1.0"); // include all versions to test.
      if(version_min($this->freepbx->Config->get('ASTVERSION'), $ver_list) == false)

      { unset($conf['pjsip.endpoint.conf'][$tn]['send_connected_line']); }

      Is this a typo in checking for 13.0.24 instead of 13.24.0? We should not be getting the send_connected_line in the config since we are at ASTVERSION 13.12.1, where the feature does not exist.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ltm ltm
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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