Another frustrating problem is induced by the time-to-live of inactive or idle TCP sessions on firewall or switch configurations. At some companies this is put aggressively low so that TCP sessions that have no activity for 1 minute or even 30 seconds are being dropped. If you are using an SSH connection over such a network device, you have to take care to send keep-alive packets over your idle session. To do this go to Category: Connection and set Seconds between keepalives (0 to turn off) to 25.You Are DONE!!...
The Guru Of Tech - Gobind
Asterisk Insall, Codec Install, Vicidial Install.
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS
All in One
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS.
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS
Vicidial, Asterisk, Web-MeetMe, MySQL, OTRS.
Saturday, September 22, 2012
Friday, September 21, 2012
Guide to install Web-MeetMe. by Sunny Khetarpal
12:06 AM
15 comments
1. Download and extract Web-MeetMe gui in the root direcotry of your
Web Server (usually /var/www/). The actual version of the package is
1.3.3. Run :
wget http://www.fitawi.com/Asterisk/Web-MeetMe_v1.3.3.tgz
As root run:
cd /var/www/
mv Web-MeetMe_v1.3.3.tgz /var/www/
tar -xzf Web-MeetMe_v1.3.3.tgz
mv Web-MeetMe web-meetme (it's not necessary, if you do this you'll
have to edit the index.html file in the same folder in order to match
the address)
2. Edit the file Web-MeetMe/lib/defines.php in order to match the
configuration of your system (...
Wednesday, September 12, 2012
How to delete all the files from the directory in PHP
9:23 PM
No comments
<?PHP
emptyDir("/home/DIR_NAME/public_html");
FUNCTION emptyDir($path) {
// init the debug string
$debugStr = '';
$debugStr .= "DeletingContents Of: $path<br /><br />";
// parse the folder
IF ($handle = OPENDIR($path)) {
WHILE (FALSE !== ($file = READDIR($handle))) {
IF ($file != "." && $file != "..") {
// If it's a file, delete it
IF(IS_FILE($path."/".$file)) {
IF(UNLINK($path."/".$file)) {
$debugStr...
Monday, August 13, 2012
Generate XML from MySQL database via PHP
1:40 AM
7 comments
<?phpmysql_connect('localhost', 'root', 'admin');mysql_select_db('xml');$sql = "SELECT udid, country,code FROM country ORDER BY udid";$res = mysql_query($sql); $xml = new XMLWriter();$xml->openURI("php://output");$xml->startDocument();$xml->setIndent(true);$xml->startElement('countries');while ($row = mysql_fetch_assoc($res)) { $xml->startElement("udid"); $xml->writeRaw($row['udid']); $xml->endElement(); $xml->startElement("country"); $xml->writeAttribute('udid',...
Thursday, June 21, 2012
Sending Email From the dialplan
exten => s,1,NoOp()
exten => s,n,System(echo "To: simplesunny@gmail.com" > /opt/etc/init.d/calls)
exten => s,n,System(echo "Subject: [PBX]: Service Down" >> /opt/etc/init.d/calls)
exten => s,n,System(echo "" >> /opt/etc/init.d/calls)
exten => s,n,System(echo "service down at ${STRFTIME(%C%m%d%y%H%M)}" >> /opt/etc/init.d/calls)
exten => s,n,System(sendmail -t -f noc@gmail.com < /opt/etc/init.d/calls)
exten => s,n,Hangup
sub mailSend {
my ($subj, $body) = @_;
my(@da, @day, @mon, $datetime, $expTO, $mail,...
Friday, June 1, 2012
Backup Your MySQL Database Using PHP
One of the most important tasks any developer needs to do often is back up their MySQL database. In many cases, the database is what drives most of the site. While most web hosts do a daily backup of a customer's database, relying on them to make backups and provide them at no cost is risky to say the least. That's why I've created a database backup function that I can call whenever I want -- including nightly CRONs.
The PHP & MySQL Codebackup_tables('localhost','username','password','databasename'); /* backup the db OR just...
Saturday, May 19, 2012
nth occurance of a character in Excel
To find the last occurance of "," (comma) in a string in excel
=RIGHT(A1,LEN(A1)-FIND("|",SUBSTITUTE(A1,",","|",LEN(A1)-LEN(SUBSTITUTE(A1,",","")))))
This will find the last occurance of the string after the last "," (comma)...
Windows 7: How to Add & Remove the Taskbar
Do you want to remove the Windows 7 taskbar from the desktop? Since the Windows 7 taskbar takes up space on the desktop, many prefer to remove the taskbar. Like other Windows operating systems, Windows 7 taskbar also includes the Start menu, shortcuts for open documents as well as programs, and notifications. After removing, if you want you can also easily add the taskbar back.
Let’s take a look at the following steps.
• Step 1: Click “Start,” then “Control Panel,” “Appearance and Personalization” and “Taskbar and Start Menu.”
• ...
Windows 7 GodMode
Windows 7 has a useful but hidden GodMode that displays all the operating system's administration tools and control options on a single screen, giving you instant access to settings that can customise and enhance your PC.
TO Activate GodMode
Go to Start, Computer and Select C: Drive
Right Click and Create New Folder
Highlight and Rename the Folder by pressing F2 and rename it to;
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} and press enter
The Folder Changes to Control Panel Icon and GodMode Options will be enabl...
Thursday, April 26, 2012
Samsung Galaxy S3 manual leak

Samsung's unprecedented secrecy about the Galaxy S3 has paid off so far, despite that the days that ramp up to its May 3 unveiling saw a fair amount of leaks.
We still haven't seen the design, but the latest unauthorized report today is a page derived from the service manual on a Samsung GT-I9300, which shows a render with a physical home button, just as rumored. A 4.8" Super AMOLED screen is listed, of the MIPI (C-type) variety, which...
Wednesday, April 25, 2012
OTRS Using Ticket Last Updated Time Instead of Age Solution
::Printing Last Update Time On The Agent Ticket Queue View::
----------------------------------------------------------------------------------------------------
----------
Locate:
----------
Kernel\Output\HTML\Standard\AgentTicketQueueTicketView.dtl ----------
Look for:
----------
$Env{"Box0"}$Text{"Age"}: $Data{"Age"}$Env{"Box1"} ----------
Change to:
----------
$Env{"Box0"}$Text{"LastUpdated"}: $Data{"LastUpdated"}$Env{"Box1"} ----------
Look for:
----------
<tr>
...
Thursday, March 29, 2012
36 Great free Asterisk applications
Hi, I was looking round on the Internet and saw there was no definitive list of free applications available for use with Asterisk, so I thought I'd compile a list for you all. If there's anything that you know of that is actively maintained but not in the list below, let me know (bear in mind I'm not including distros or Asterisk packagings in this list).
Hopefully there are a few programs in the list that even the most seasoned Asterisk professionals...
Subscribe to:
Posts (Atom)