Update xml_cdr.php
This commit is contained in:
parent
43c04da9c2
commit
35e069f3a8
|
|
@ -1034,6 +1034,9 @@ if (!class_exists('xml_cdr')) {
|
||||||
if ($file_ext == "mp3") {
|
if ($file_ext == "mp3") {
|
||||||
header("Content-Type: audio/mpeg");
|
header("Content-Type: audio/mpeg");
|
||||||
}
|
}
|
||||||
|
if ($file_ext == "ogg") {
|
||||||
|
header("Content-Type: audio/ogg");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
header('Content-Disposition: attachment; filename="'.$record_name.'"');
|
header('Content-Disposition: attachment; filename="'.$record_name.'"');
|
||||||
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue