Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; if (permission_exists('voicemail_view')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support require_once "app_languages.php"; foreach($text as $key => $value) { $text[$key] = $value[$_SESSION['domain']['language']['code']]; } //get the http get values $uuid = $_GET['uuid']; $file_ext = $_GET['ext']; $type = $_GET['type']; //vm $desc = $_GET['desc']; $id = $_GET['id']; //get the domain from the domains array $domain_name = $_SESSION['domains'][$domain_uuid]['domain_name']; //create the event socket connection $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); if (!$fp) { $msg = "
".$text['confirm-socket']."
"; } //show the error message or show the content if (strlen($msg) > 0) { require_once "resources/header.php"; echo "
\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
".$text['label-message']."
$msg
\n"; echo "
\n"; require_once "resources/footer.php"; return; } ?>
voicemail:
\n"; } //object html tag to add flash player that can play the mp3 file if ($file_ext == "mp3") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } ?>