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"); ?>

Filename
Name of the file
e.g. example.wav
Recording Name
Recording Name
e.g. recordingx
Description
You may enter a description here for your reference (not parsed).