Changeset 1624

Show
Ignore:
Timestamp:
04/17/06 09:24:28 (7 years ago)
Author:
mheydon1973
Message:

System Recording macro moved back to extensions.conf as the options were conflicting when just in the dialplan

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.1/recordings/functions.inc.php

    r1564 r1624  
    3434          $ext->add($appcontext, $fc_save, '', new ext_macro('user-callerid')); 
    3535          $ext->add($appcontext, $fc_save, '', new ext_wait('2')); 
    36           $ext->add($appcontext, $fc_save, '', new ext_goto('1', 'dorecord')); 
     36          $ext->add($appcontext, $fc_save, '', new ext_macro('systemrecording', 'dorecord')); 
     37          //$ext->add($appcontext, $fc_save, '', new ext_goto('1', 'dorecord')); 
    3738        } 
    3839 
     
    4041          $ext->add($appcontext, $fc_check, '', new ext_macro('user-callerid')); 
    4142          $ext->add($appcontext, $fc_check, '', new ext_wait('2')); 
    42           $ext->add($appcontext, $fc_check, '', new ext_goto('1', 'docheck')); 
     43          $ext->add($appcontext, $fc_check, '', new ext_macro('systemrecording', 'docheck')); 
     44          //$ext->add($appcontext, $fc_check, '', new ext_goto('1', 'docheck')); 
    4345        } 
    4446         
    45          
     47        /* 
     48        MOVED TO A MACRO IN extensions.conf OTHERWISE, DIALING '1' WOULD PICK UP THE DOCHECK ROUTINE 
    4649        $ext->add($appcontext, 'dorecord', '', new ext_record($recordings_save_path.'${CALLERID(number)}-ivrrecording:wav')); 
    4750        $ext->add($appcontext, 'dorecord', '', new ext_wait('1')); 
     
    6972 
    7073        $ext->add($appcontext, 'h', '', new ext_hangup('')); 
     74        */ 
    7175         
    7276      }