This commit is contained in:
Andrew Nagy
2013-05-03 14:44:25 -04:00
committed by root
parent 2e1d048030
commit b231ee1cbb
13 changed files with 102 additions and 306 deletions

17
views/main.tpl Normal file
View File

@@ -0,0 +1,17 @@
<h2>Hello World Module</h2>
<h5>Is Asterisk Manager Connected? <?php echo ($astmanconnected) ? 'Yes' : 'No';?></h5>
<h5>Available Asterisk Manager Commands?<hr></h5>
<textarea rows="20" cols="180">
<?php foreach($listcommands as $command => $description) {?>
<?php echo $command?>=><?php echo $description . "\n"?>
<?php } ?>
</textarea>
<h5>Full Asterisk Internal Database?<hr></h5>
<textarea rows="20" cols="180">
<?php foreach($astdatabase as $family => $value) {?>
<?php echo $family?>=><?php echo $value . "\n"?>
<?php } ?>
</textarea>