Changeset 6553 for modules

Show
Ignore:
Timestamp:
09/04/08 01:33:32 (5 years ago)
Author:
p_lindheimer
Message:

closes #3142 delete all forms of a recorded file before re-recording so that there are not transcoded versions left around that say some thing different

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/core/functions.inc.php

    r6550 r6553  
    17251725      $exten = 'dorecord'; 
    17261726       
     1727      // Delete all versions of the current sound file (does not consider languages though 
     1728      // otherwise you might have some versions that are not re-recorded 
     1729      // 
     1730      $ext->add($context, $exten, '', new ext_system('rm ${ASTVARLIBDIR}/sounds/${RECFILE}.*')); 
    17271731      $ext->add($context, $exten, '', new ext_record('${RECFILE}:wav')); 
    17281732      $ext->add($context, $exten, '', new ext_wait(1));