aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_recordings_play.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch/freeswitch_recordings_play.tmp')
-rwxr-xr-xconfig/freeswitch/freeswitch_recordings_play.tmp10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/freeswitch/freeswitch_recordings_play.tmp b/config/freeswitch/freeswitch_recordings_play.tmp
index 8dfb90c2..0b198b78 100755
--- a/config/freeswitch/freeswitch_recordings_play.tmp
+++ b/config/freeswitch/freeswitch_recordings_play.tmp
@@ -1,11 +1,11 @@
-<?php
+<?php
/* $Id$ */
/*
freeswitch_recordings_play.php
Copyright (C) 2008 Mark J Crane
All rights reserved.
-
+
FreeSWITCH (TM)
http://www.freeswitch.org/
@@ -45,11 +45,11 @@ $type = $_GET['type']; //moh //rec
<td align='center'>
<b>file: <?=$filename?></b>
</td>
- </tr>
+ </tr>
<tr>
<td align='center'>
<?php
-
+
$file_ext = substr($_GET['filename'], -3);
if ($file_ext == "wav") {
echo "<embed src=\"freeswitch_recordings.php?a=download&type=".$type."&filename=".$filename."\" autostart=true width=200 height=40 name=\"sound".$$filename."\" enablejavascript=\"true\">\n";
@@ -60,7 +60,7 @@ $type = $_GET['type']; //moh //rec
echo "<param name=\"quality\" value=\"high\"/>\n";
echo "<param name=\"bgcolor\" value=\"#E6E6E6\"/>\n";
echo "</object>\n";
- }
+ }
?>
</td>