recording_popup.php from freePBX at Krugle
Show recording_popup.php syntax highlighted
<?php
/**
* @file
* popup window for playing recording
*/
chdir("..");
include_once("./includes/bootstrap.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE>ARI</TITLE>
<link rel="stylesheet" href="popup.css" type="text/css">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<?php
global $ARI_CRYPT_PASSWORD;
$crypt = new Crypt();
$path = $crypt->encrypt($_GET['recording'],$ARI_CRYPT_PASSWORD);
if (isset($path)) {
if (isset($_GET['date'])) {
echo($_GET['date'] . "<br>");
}
if (isset($_GET['time'])) {
echo($_GET['time'] . "<br>");
}
echo("<br>");
echo("<embed src='audio.php?recording=" . $path . "' width=300, height=20 autoplay=true loop=false></embed><br>");
echo("<a class='popup_download' href=/recordings/misc/audio.php?recording=" . $path . ">" . _("download") . "</a><br>");
}
?>
</body>
</html>
See more files for this project here
FreePBX is the most powerful GUI (Web Based) configuration tool for Asterisk. It provides everything that a standard legacy phone system can, plus a huge amount of new features. All documentation and information is avalable from http://www.freepbx.org
Project homepage:
http://sourceforge.net/projects/amportal
Programming language(s): PHP,Shell Script,SQL
License: other
audio.php
popup.css
recording_popup.php