|
0) { $recordingent['recordingid'] = $_POST['recordingid']; } else { $recordingent['recordingid'] = guid(); } $recordingent['filename'] = $_POST['filename']; //if file name is not the same then rename the file if ($_POST['filename'] != $_POST['filename_orig']) { rename('/usr/local/freeswitch/recordings/'.$_POST['filename_orig'], '/usr/local/freeswitch/recordings/'.$_POST['filename']); } $a_recordings[$id] = $recordingent; } else { //add $recordingent['filename'] = $_POST['filename']; $a_recordings[] = $recordingent; } write_config(); header("Location: freeswitch_recordings.php"); exit; } } $pgtitle = "FreeSWITCH: Recordings: Edit"; include("head.inc"); ?>
=$pgtitle?>
|