FreePBX-AvantFAX/views/main.tpl

17 lines
543 B
Smarty
Raw Normal View History

2013-05-03 14:44:25 -04:00
<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>