diff options
author | nagyrobi <robreg@zsurob.hu> | 2013-09-23 14:22:52 +0200 |
---|---|---|
committer | nagyrobi <robreg@zsurob.hu> | 2013-09-23 14:22:52 +0200 |
commit | 2b37f318ab393e8603626e6dd814acd42f1e496f (patch) | |
tree | 9edbdd633def78c620fefacd9c085c747d129e04 /config/asterisk/asterisk_cmd.php | |
parent | 217ea982c36f6b4a5b0421a0eab9214dba785f75 (diff) | |
download | pfsense-packages-2b37f318ab393e8603626e6dd814acd42f1e496f.tar.gz pfsense-packages-2b37f318ab393e8603626e6dd814acd42f1e496f.tar.bz2 pfsense-packages-2b37f318ab393e8603626e6dd814acd42f1e496f.zip |
Update asterisk_cmd.php
Added input field to type in any desired command to manage Asterisk.
Diffstat (limited to 'config/asterisk/asterisk_cmd.php')
-rw-r--r-- | config/asterisk/asterisk_cmd.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/asterisk/asterisk_cmd.php b/config/asterisk/asterisk_cmd.php index 2278b982..d689a4c2 100644 --- a/config/asterisk/asterisk_cmd.php +++ b/config/asterisk/asterisk_cmd.php @@ -4,7 +4,7 @@ status_asterisk.php part of pfSense Copyright (C) 2009 Scott Ullrich <sullrich@gmail.com>. - Copyright (C) 2012 robi <robreg@zsurob.hu> + Copyright (C) 2013 robi <robreg@zsurob.hu> All rights reserved. originally part of m0n0wall (http://m0n0.ch/wall) @@ -96,14 +96,14 @@ $pfile = $break[count($break) - 1]; echo "<td align='center'><a href='$pfile?cmd=core+show+codecs+audio'><input type='button' name='command' value='Codecs' class='formbtns' style='width: 100px'></a></td>"; echo "<td align='center'><a href='$pfile?cmd=core+show+translation+recalc+10'><input type='button' name='command' value='Translation' class='formbtns' style='width: 100px'></a></td>"; echo "<td align='center'><a href='$pfile?cmd=sip+show+settings'><input type='button' name='command' value='SIP Settings' class='formbtns' style='width: 100px'></a></td>"; - echo "</tr></tr>"; - echo "<td></td>"; + echo "</tr><tr>"; + //echo "<td></td>"; echo "<td align='center'><a href='$pfile?cmd=sip+reload'><input type='button' name='command' value='Reload SIP' class='formbtns' style='width: 100px'></a></td>"; echo "<td align='center'><a href='$pfile?cmd=dialplan+reload'><input type='button' name='command' value='Reload Extensions' class='formbtns' style='width: 100px'></a></td>"; echo "<td align='center'><a href='$pfile?cmd=core+reload'><input type='button' name='command' value='Reload Core' class='formbtns' style='width: 100px'></a></td>"; echo "<td align='center'><a href='$pfile?cmd=core+show+uptime'><input type='button' name='command' value='Uptime' class='formbtns' style='width: 100px'></a></td>"; echo "<td align='center'><a href='$pfile?cmd=core+restart+now'><input type='button' name='command' value='Restart Asterisk' class='formbtns' style='width: 100px'></a></td>"; - echo "<td></td>"; + echo "<td align='right' colspan='2'><form name='input' action='$pfile' method='get'><input type='text' name='cmd' style='width: 145px'><input type='submit' value='SEND' class='formbtns' style='width: 50px'></form> </td>"; ?> </tr></table> </td> |