aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_recordings.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-06-13 23:29:14 -0600
committermcrane <mctch@yahoo.com>2009-06-14 00:00:56 -0600
commit87af9fbf3bc1abed07190fe7240fc8193a5f972d (patch)
treee74aee7e6fa4a7f3e3a2778419e4663e10e9a397 /config/freeswitch/freeswitch_recordings.tmp
parentfd75d753f279e3aa774b0b315193e1589d2ae34d (diff)
downloadpfsense-packages-87af9fbf3bc1abed07190fe7240fc8193a5f972d.tar.gz
pfsense-packages-87af9fbf3bc1abed07190fe7240fc8193a5f972d.tar.bz2
pfsense-packages-87af9fbf3bc1abed07190fe7240fc8193a5f972d.zip
FreeSWITCH package clean up blank recordings, add dialplan default.xml, add dialplan public.xml, adjust wording on setup, and extension pages, create lan profile directory if it doesn't exist, status page add rescan and restart.
Diffstat (limited to 'config/freeswitch/freeswitch_recordings.tmp')
-rw-r--r--config/freeswitch/freeswitch_recordings.tmp10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/freeswitch/freeswitch_recordings.tmp b/config/freeswitch/freeswitch_recordings.tmp
index 15f3be5e..7d504d15 100644
--- a/config/freeswitch/freeswitch_recordings.tmp
+++ b/config/freeswitch/freeswitch_recordings.tmp
@@ -320,6 +320,7 @@ if ($config_change == 1) {
$i = 0;
if (count($a_recordings) > 0) {
foreach ($a_recordings as $recordingent) {
+ if (strlen($recordingent['filename']) > 0) {
?>
<tr>
<td class="listlr" ondblclick="document.location='freeswitch_recordings_edit.php?id=<?=$i;?>'">
@@ -345,7 +346,14 @@ if ($config_change == 1) {
</td>
</tr>
<?php
- $i++;
+ }
+ else {
+ //clean up blank entries
+ unset($a_recordings[$i]);
+ write_config();
+ }
+
+ $i++;
} //end for each
} //end count
?>