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

callrecording should locate php scripts via ${AMPBIN}

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: Call Recording
    • Labels:
      None
    • Asterisk Version:
      13.10.0

      Description

      The callrecording module emits a couple of dialplan rules, that execute php
      scripts.

      Currently (well, module version 13.0.11), these scripts are found via:

      
      FreePBX::Config()->get('ASTVARLIBDIR').'/bin/stoprecording.php
      

      and

      
      FreePBX::Config()->get('ASTVARLIBDIR').'/bin/one_touch_record.php
      

      It would be superior to just execute them as:

      
      ${AMPBIN}/stoprecording.php
      

      and

      
      ${AMPBIN}/one_touch_record.php
      

      respectively.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tm1000 Andrew Nagy
                Reporter:
                kurtlidl kurtlidl
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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