Archive for January, 2009

Tune up Windows Vista Internet Speed

Written on January 21, 2009 – 8:42 pm | by Sanil S
This entry is part 10 of 8 in the series Windows Vista Performance Tweak

Unlike other operating system Windows vista is notorious in its performance. There are lot of performance issues with Windows Vista, which includes memory and network performance. I had experienced lots of performance issue; most annoying problem is the network speed. I found out some interesting mechanism to improve TCP network performance. This uses the Window resize of the TCP packet to improve network speed. I already discussed lots memory improvement techniques for Vista in my blog.

The Proc

You need an administrative privilege, Make sure to run your command prompt as administrator. Right click in the command prompt, which shows a menu item called “Run as Administrator”, and of course the path of the command prompt is Start –> All Programs –> Accessories, Command. Type in your command prompt following command.

netsh int tcp set global autotuninglevel=disable

This will resize TCP window, their by more data on single request from the network. After restarting the system you can experience a considerable improvement in the network performance. If you are not experiencing the speed difference try to un-do the above configuration. You can use “netsh interface tcp set global autotuninglevel=normal“, remember to do this command again in administrator level.

Thanks to minasi.

Post to Twitter Tweet This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Facebook Facebook Post to MySpace MySpace Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Posted in » Operating systems4 Comments

Asterisk Choking (Missing outbound calls)

Written on January 19, 2009 – 5:00 pm | by Sanil S

When we deal with bulk outbound calls sometime there is a chance to miss calls if you are using call file as a mechanism for auto dial out. This is called asterisk choking. when too many files are moved simultaneously into the outgoing directory. Therefore it may be advisable to move them step-by-step with a slight delay.

Solutions to overcome this Asterisk choking

1) Using Manager API is a solution

2) Feed the outgoing folder with less number of calls simultaneously.

3) Find the cause and fix it in the source code.

4) Find out apt time delay between copying of call files.

Post to Twitter Tweet This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Facebook Facebook Post to MySpace MySpace Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Posted in » Asterisk1 Comment

Asterisk Wi-Fi HotSpot Finder

Written on January 13, 2009 – 2:08 pm | by Sanil S

This application works only for zip codes in the United States. This tools is not available for commercial use. However we can use this for educational and personal use. The application pull up information from 4INFO.net’s WAP service.

There are certain prerequisites to make the application works.

1) Internet connection enabled asterisk server for pulling information from 4INFO.

2) Ceptral voice synthesizer for asterisk

Add a SIP user with an that points to the context “hotspot” with extension 9434 which is actually WiFi on the keypad of the softphone or mobile phone.

Add dialplan for the context hotspot in extension.conf.

[hotspot]

exten => 9434,1,Answer
exten => 9434,2,Wait(1)
exten => 9434,3,Set(TIMEOUT(digit)=7)
exten => 9434,4,Set(TIMEOUT(response)=10)
exten => 9434,5,Flite(“At the beep enter the zip code for the Why Fye Hot Spots list to retrieve.”)
exten => 9434,6,Read(ZIPCODE,beep,5)
exten => 9434,7,Flite(“Please hold a moment while we contact Four Info dot Net for your report.”)
exten => 9434,8,AGI(nv-wifi.php|${ZIPCODE})
exten => 9434,9,NoOp(Wave file: ${TMPWAVE})
exten => 9434,10,Playback(${TMPWAVE})
exten => 9434,11,Hangup

Log on to the server as root and navigate the folder “/var/lib/asterisk/agi-bin” using the terminal.

cd /var/lib/asterisk/agi-bin
wget http://nerdvittles.com/wp-content/nv-wifi.zip
mv nv-wifi.php nv-wifi.old.php
unzip nv-wifi.zip
rm -f nv-wifi.zip
chmod 775 nv-wifi.php
chown asterisk:asterisk nv-wifi.php

vim /var/lib/asterisk/agi-bin/bv-wifi.php

Update this variables.

$paywifi = 1 ;
$freewifi = 1 ;

$ttspick=1;

We have to create a tts directory which is the place where sound files created during the execution of AGI.

Log on to the server as root and navigate the folder “/var/lib/asterisk/sounds” using the terminal.

cd /var/lib/asterisk/sounds
mkdir tts
chmod 775 tts
chown asterisk:asterisk tts

Done with configurations. You have to clean the tts folder on a periodic basis, use some crontab for that. If you are not doing this some kind of issue may pop-up which destabilize the asterisk sever with signal and sound issues.

How it operate with a phone?

1) Dial 9434

2) It will prompt you to enter a 5 digit zip code in US.

Now you can hear hear the report, if you are not hearing anything, that means no hot spot available.

Post to Twitter Tweet This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Facebook Facebook Post to MySpace MySpace Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Posted in » Asterisk, TelephonyNo Comments

Backup Your Flickr Photos Using Flickrfs

Written on January 6, 2009 – 9:46 pm | by Sanil S

Flickrfs is a virtual file mounting system that enable us to mount Flickr account like a partition in your Linux machine. Once mounted the flickr photo information can be accessed from the drive. This drive is similar to gmail drive. Another advantage is, after mounting the device any pictures copied into the drive will be automatically updated with your flickr account. All the files in the mount have a meta file which provide page titles, tags description etc..

Installation

Use package manager or apt-get for installing in Ubuntu.

Step 1

$ sudo apt-get install libfuse2 fuse-utils python2.4-fuse Imagemagick

Step 2

$ sudo modprobe fuse

$ sudo chmod 755 /usr/bin/fusermount

$ sudo chmod u+s /usr/bin/fusermount

$ sudo chmod 666 /dev/fuse

Step 3

Download flickrfs package from sourceforge, and untar it:

$ tar -xzvf flickrfs-*.tar.gz

OR, CVS version:

$ cvs -d:pserver:anonymous@flickrfs.cvs.sf.net:/cvsroot/flickrfs login

$ cvs -z3 -d:pserver:anonymous@flickrfs.cvs.sf.net:/cvsroot/flickrfs co -P flickrfs

Step 4

When you start the application for the first time, it will create configuration file called config.txt which can be updated. Where you can set the image size, syncing interval etc..

For more help visit flickrfs.

Post to Twitter Tweet This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Facebook Facebook Post to MySpace MySpace Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Posted in » WebNo Comments
Get Adobe Flash playerPlugin by wpburn.com wordpress themes