mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update xml_cdr.php
This commit is contained in:
@@ -1034,6 +1034,9 @@ if (!class_exists('xml_cdr')) {
|
||||
if ($file_ext == "mp3") {
|
||||
header("Content-Type: audio/mpeg");
|
||||
}
|
||||
if ($file_ext == "ogg") {
|
||||
header("Content-Type: audio/ogg");
|
||||
}
|
||||
}
|
||||
header('Content-Disposition: attachment; filename="'.$record_name.'"');
|
||||
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
||||
|
||||
Reference in New Issue
Block a user