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

Incron error after changed spool directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      16.11.1
    • Distro Version:
      14.0.16.4
    • Distro:
      FreePBX Distro

      Description

      I changed spool directory through 'Asterisk Spool Dir' in 'Advanced Settings' from '/var/spool' to '/home/spool'

      After when i tried to change firewall settings i got the error:

      Hook file '/home/spool/asterisk/incron/firewall.addnetwork.CONTENTS' was not picked up by Incron after 5 seconds. Is it not running?

      To fix this error i changed fileĀ /usr/bin/sysadmin_manager:

      I removed this line:

      else

      Unknown macro: { $request = $argv[1]; $filename = "/var/spool/asterisk/incron/$request"; }

      and added this:

      else

      Unknown macro: { $request = $argv[1]; $filename = "/home/spool/asterisk/incron/$request"; }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                TheSeaCapitan Yuriy Kotlov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

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