Trixbox change Apache port

 

The idea is to use the apache server on trixbox to host a home page on port 80 other than trixbox’s default home page, but being able to access the latter via an alternate port. I have a static ip address, and without purchasing an additional domain name I wanted to set something like this up for testing purposes. So using Webmin, you must go to servers –> apache webservers
–>click on ‘edit config files’ which allows you to easily edit /etc/httpd/conf/httpd.conf as follows Continue reading “Trixbox change Apache port”

Feature Codes for Trixbox

Handset Feature Code Action
*30 Blacklist a number
*31 Remove a number from the blacklist
*32 Blacklist the last caller
*52 Call Forward No Answer/Unavailable Activate
*53 Call Forward No Answer/Unavailable Deactivate
*72 Call Forward All Activate
*73 Call Forward All Deactivate
*74 Call Forward All Prompting Deactivate
*90 Call Forward Busy Activate
*91 Call Forward Busy Deactivate
*92 Call Forward Busy Prompting Deactivate
*70 Call Waiting – Activate
*71 Call Waiting – Deactivate
*28 Day/Night Control Toggle
*78 DND Activate
*79 DND Deactivate
*97 My Voicemail
*98 Dial Voicemail

Making scrolling text with the use of the marquee tag on DIV

Scrolling upward text or vertical text.

<div
align=”center”> <marquee bgcolor=”#000080″ scrollamount=”2″
direction=”up” loop=”true” width=”35%”> <center>
<font color=”#ffffff” size=”+1″><strong> THIS
IS A COOL WAY<br> TO MAKE YOUR TEXT<br> SCROLL UPWARDS<br> <br>
IT IS EASY AND FAST LOADING </strong></font> </center> </marquee></div>

CSS Alternate Colors Table Loop

CSS

.rol_1{
background-color:#FFFFFF}
.rol_2{
background-color:#CCCCCC}
.rol_Hover{
background-color:#FFFF99}

PHP Script On <TR>

<?php do { ?>
<tr class=”<?php echo ($ac_sw1++%2==0)?”rol_1″:”rol_2″; ?>” onmouseover=”this.oldClassName = this.className; this.className=’rol_Hover’;” onmouseout=”this.className = this.oldClassName;”>

<td>loop</td>
</tr>
<?php } while ($row_travel_schedule = mysql_fetch_assoc($schedule)); ?>

Tiny MCE HTML editor Set Height / Width

<script language=”javascript” type=”text/javascript”>
// Notice: The simple theme does not use all options some of them are limited to the advanced theme
tinyMCE.init({
mode : “textareas”,

height : “380”,
width : “380”,

theme : “advanced”,
valid_elements : “a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote”,
entity_encoding : “utf-8”

});

</script>