FreePBX-AvantFAX/views/main.tpl
2013-06-02 20:58:21 -04:00

24 lines
762 B
Smarty

<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>
<h5>Available AMP Configuration Globals?<hr></h5>
<textarea rows="20" cols="180">
<?php foreach($amp_conf as $command => $description) {?>
<?php echo $command?>=><?php echo $description . "\n"?>
<?php } ?>
</textarea>