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

Recording Module Exception Error

    XMLWordPrintable

    Details

    • ToDo:
    • Asterisk Version:
      Asterisk 13
    • Distro Version:
      FreePBX 13.0.1beta3.60
    • Distro:
      FreePBX Distro

      Description

      Last Recordings module upgrade to 12.0.8 to 13.0.1beta5 is creating an exception error. Apparently it is trying to look for directories with Announcement names and IVR destinations.
      This is the error I get:

      
      
      
      7. Whoops\Exception\ErrorException
      /­var/­www/­html/­admin/­modules/­recordings/­install.php58
      6. Whoops\Run handleError
      <#unknown>0
      5. rename
      /­var/­www/­html/­admin/­modules/­recordings/­install.php58
      4. include_once
      /­var/­www/­html/­admin/­libraries/­modulefunctions.class.php2363
      3. module_functions _doinclude
      /­var/­www/­html/­admin/­libraries/­modulefunctions.class.php2315
      2. module_functions _runscripts
      /­var/­www/­html/­admin/­libraries/­modulefunctions.class.php1878
      1. module_functions install
      /­var/­www/­html/­admin/­page.modules.php283
      0. include
      /­var/­www/­html/­admin/­config.php354
      
      $recordings = $sth->fetchAll(\PDO::FETCH_ASSOC);
      foreach($recordings as $recording) {
      	$files = explode("&",$recording['filename']);
      	$filenames = array();
      	foreach($files as $file) {
      		//move all custom files first
      		if(preg_match("/^custom\/(.*)/",$file,$matches)) {
      			rename($dir."/".$recording['filename'],$dir."/en/".$matches[1]);
      			$filenames[] = $matches[1];
      		} elseif(preg_match("/^\w{2}\_\w{2}|\w{2}\//",$file)) {
      
      
      

      Unable to revert Recording module to get to working condition.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

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