Tuesday, September 27, 2011

List of Countries & short codes to follow tweets via sms


Instruction to follow via SMS

Go on your Write message (SMS) 
type f (space) username
send to 40404 or short code from the list below.

e.g 
My company new twitter ID is WWWICT and you like to follow our tweets;
On write message (SMS) type: f  WWWICT
send it to: 40404 (for most countries including Pakistan or check the list below)

to follow my personal type: f shomail
and send it to your countries short code.

Short Codes

-->
Twitter currently support 2-way (sending and receiving) Twitter SMS via short codes for the below listed countries.
Get started by sending a text to any of these Twitter numbers:
    Afghanistan: 40404 (Roshan)
    Argentina: 89338 (Movistar, Personal, Nextel customers. Nextel only supports sending updates to Twitter)
    Aruba: 176 (Digicel)
    Antigua: 176 (Digicel customers)
    Anguilla: 176 (Digicel customers)
    Australia: 0198089488 (Telstra customers)
    Bahrain 88000 (VIVA), 98555 (Zain customers)
    Bangladesh: 9594(Citycell customers)
    Belarus: 40404 (life:) customers)
    Bermuda: 176 (Digicel customers)
    Brasil: 40404 (TIM, Nextel customers)
    Bhutan 40404 (B-mobile)
    Bolivia: 40404 (Viva, Tigo customers)
    Bonaire: 176 (Digicel)
    Canada: 21212
    Colombia: 40404 (Tigo)
    Cambodia: 40404 (Cellcard, Smart Mobile)
    Cameroon: 8711(MTN)
    Curacao: 176 (Digicel)
    Democratic Republic Congo: 40404 (Tigo customers)
    Denmark: 40404 (Telmore)
    Egypt: 4040 (Vodafone customers), 2222 (Mobinil customers)
    El Salvador: 40404 (Digicel and Tigo customers)
    Fiji: 40404 (Digicel, Vodafone)
    Georgia: 40404 (Beeline customers)
    Grenada: 176 (Digicel customers)
    Guatemala: 40404 (Tigo)
    Guyana: 1443 (Digicel customers)
    Haiti: 40404 (Digicel customers)
    Honduras: 40404 (Digicel customers)
    India: 53000 (Bharti Airtel, Reliance, Videocon, and TATA DOCOMO customers)
    Indonesia: 89887 (AXIS, 3, Telkomsel, XL Axiata, TelkomFlexi, and Indosat)
    Iraq: 71117 (Zain); 1432 (Asiacell)
    Ireland: 51210 (Vodafone, Meteor Mobile customers)
    Isle of Man: 89887 (Manx customers)
    Italy: 4880804 (Wind customers), +3424486444 (Vodafone customers)
    Jamaica: 176 (Digicel customers)
    Jordan: 90903 (Zain customers); 98788 (Umniah customers)
    Kazakhstan: 4040 (Beeline, Kcell/Activ customers); 40404 (Airtel customers)
    Kenya: 89888 (Safaricom customers); 40404 (Airtel customers)
    Kuwait: 89887 (Zain customers)
    Korea: #1234 (LG U+ customers)
    Kyrgyzstan: 4040 (Megacom, Beeline Customers)
    Macedonia: 40404 (VIP customers)
    Madagascar: 40404 (VIP)
    Malaysia: 28933 (Maxis, Tune Talk, DiGi)
    Maldives: 4040 (Wataniya customers)
    Mexico: 6464 (Telcel customers, only supports sending updates to Twitter)
    Nauru: 40404 (Digicel customers)
    New Zealand: 8987 (Vodafone and Telecom NZ customers)
    Nicaragua: 89887 (Movistar)
    Nigeria: 40404 (Zain and MTN customers ); 20644 (Glo Mobile customers)
    Pakistan: 40404 (Mobilink, Zong, Ufone, and Telenor customers)
    Palestinian Territories: 40404 (Wataniya customers); 37373 (Jawwal customers)
    Panama: 3010 (Digicel customers)
    Papua New Guinea: 40404 (Digicel customers)
    Paraguay: 40404 (Personal)
    Romania: 89338 (Vodafone and Cosmote customers)
    Russia: 8080 (Beeline customers)
    Rwanda: 3434 (MTN customers)
    Saudi Arabia: 840404 (STC customers)
    Saudi Arabia: 710001 (Zain customers)
    Saudi Arabia: 606040 (Mobily customers)
    Serbia: 40404 (Vip mobile, mt:s, and Telenor customers)
    Sri Lanka: 40404 (Dialog, Telecom Mobitel, and Etisalat Lanka customers)
    St. Lucia: 176 (Digicel customers)
    St. Vincent: 176 (Digicel customers)
    St. Kitts: 176 (Digicel customers)
    Sudan: 40404 (Zain customers)
    Sweden: 71017(3 customers)
    Tonga: 40404 (Digicel customers)
    Trinidad and Tobago: 40404 (Digicel customers)
    Turkey: 2444 (Vodafone customers)
    Uganda: 179 (MTN customers)
    UK: 86444 (Vodafone, Orange, 3 and O2 customers)
    Ukraine: 40404 (life:) customers)
    United Arab Emirates: 335640404 (Zain)
    Uruguay: 40404 (Antel)
    US: 40404
    Uzbekistan: 89338 (Beeline, Ucell customers)
    Venezuela: 89338 (Movistar)
    Yemen: 7070 (MTV)

Long Codes

Good news ! If your country and carrier is not listed here you can use one of the following one-way long code to post messages to Twitter.
  • UK : +447624800379 (Subscribers may be charged international messages rates)
  • GERMANY : +4915705000021 (Subscribers may be charged regular/local SMS rate)
  • FINLAND : +3584573950042 (Subscribers may be charged regular/local SMS rate)

Sunday, September 11, 2011

Saturday, September 10, 2011

Installing Asterisk


(If you don't have linux install follow this link http://shomail.blogspot.com/2011/09/ubuntu-installation.html)

Most Asterisk configurations are composed of three main packages : the main Asterisk program (asterisk), the telephony drivers (Dahdi), and the PRI libraries (libpri).

If you plan on a pure VoIP network, the only real requirement is the asterisk package, but we recommend installing all three packages; you can choose what modules to activate later. Dahdi required if you are using analog or digital hardware as a timing source.

The libpri library is optional unless you’re using ISDN PRI interfaces, and you may save a small amount of RAM if you don’t load it, but we recommend that it be installed in conjunction with the dahdi package for completeness.

Before installing  above 3 packages, following packages had been installed:

linux-source (needed if you are going to recompile the linux kernel)

linux-headers (needed for compiling dahdi)

openssl           

ssh

build-essential

libncurses5-dev

you may install above 6 packages using command apt-get e.g.: apt-get install openssl

Obtaining the Source Code


The best place  to get source code  for Asterisk and  its packages  is directly  from  the http://www.asterisk.org web site or FTP server.

The easiest way to obtain the most recent release  is through the use of the program wget

Note that we will be making use of the /usr/src/ directory to extract and compile the Asterisk source, although some system administrators may prefer to use /usr/local/src. Also be aware that you will need root access to write files to the /usr/src/ directory and to install Asterisk and its associated packages.

To obtain the latest release source code via wget, enter the following commands on the command line:

# cd /usr/src/

# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8.2.3.tar.gz

# wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz

# wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.11.5.tar.gz

Extracting the Source Code


The packages you downloaded from the FTP server are compressed archives containing the source code; thus, you will need to extract them before compiling. If you didn’t download the packages to /usr/src/, either move them there now or specify the full path to their location. We will be using the GNU tar application to extract the source code from the compressed archive. This is a simple process that can be achieved through the use of the following commands:

#tar –xvzf asterisk-1.8.2.3.tar.gz

#tar –xvzf dahdi-linux-complete-2.4.0+2.4.0.tar.gz

#tar –xvzf libpri-1.4.11.5.tar.gz

Compiling Dahdi


This is a simple-to-install 'complete' DAHDI kit for Linux users. It is designed to be a drop-in replacement for users used to building Zaptel 1.2 or 1.4 for their system without specifying any special build options, file locations, or anything else. If you need to influence the build or installation process in any way outside the defaults, you will need to use the installation steps specific to the dahdi-linux and dahdi-tools packages separately (both of which are located in subdirectories of the dahdi-complete package).

To install this package, execute these commands:

# cd /usr/src/dahdi-version

# make all

# make install

# make config


Compiling libpri


The libpri libraries do not make use of the autoconf build environment thus, the installation is simplified. libpri is used by various makers of Time Division Multiplexing (TDM) hardware, but even  if you don’t have the hardware installed, it is safe to compile and install this library. You must compile and install libpri before Asterisk, as it will be detected and used when Asterisk is compiled. Here are the commands (replace version with your version of libpri):

# cd /usr/src/libpri-version

# make clean

# make

# make install

Compiling Asterisk

Once you’ve compiled and installed the dahdi and libpri packages (if you need them), you can move on to Asterisk. This section walks you through a standard installation.

# cd /usr/src/asterisk-version           

# make clean

# ./configure

# make all

# make install

# make samples  

Run the make samples command to install the default configuration files. Installing these files  (instead of  configuring  each  file manually) will  allow  you  to get  your Asterisk system up and running much faster. Many of the default values are fine for Asterisk.

Running Asterisk

Once you’ve successfully installed asterisk, simply type:

#asterisk

Wednesday, September 7, 2011

Ubuntu Installation


What is Ubuntu?

Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities, and that people should have the freedom to customize and alter their software in whatever way they see fit.


  • Ubuntu will always be free of charge, and there is no extra fee for the “enterprise edition”, we make our very best work available to everyone on the same Free terms.
  • Ubuntu includes the very best in translations and accessibility infrastructure that the Free Software community has to offer, to make Ubuntu usable by as many people as possible.
  • Ubuntu is shipped in stable and regular release cycles; a new release will be shipped every six months. You can use the current stable release or the current development release. A release will be supported for 18 months.
  • Ubuntu is entirely committed to the principles of open source software development; we encourage people to use open source software, improve it and pass it on.

Ubuntu is suitable for both desktop and server use. The current Ubuntu release supports Intel x86 (IBM-compatible PC), AMD64 (Hammer) and PowerPC (Apple iBook and Powerbook, G4 and G5) architectures.


Ubuntu includes more than 1000 pieces of software, starting with the Linux kernel version 2.6 and GNOME 2.30, and covering every standard desktop application from word processing and spreadsheet applications to internet access applications, web server software, email software, programming languages and tools and of course several games.



Getting Ubuntu

For information on how to download Ubuntu from the Internet, see the download web page. The list of Ubuntu mirrors contains a full set of official Ubuntu mirrors, so you can easily find the nearest one.

Ubuntu can be upgraded after installation very easily. The installation procedure will help set up the system so that you can make those upgrades once installation is complete, if need be.



Installation

Insert your installation CD into your CD-ROM drive and reboot the computer. The installation system is started immediately when booting from the CD-ROM. Once initialized, your first screen will appear.

At this point, read the text on the screen. You may want to read the help screen provided by the
installation system. To do this, press F1.

To perform a default server installation, select “Install to the hard disk” and press Enter. The
installation process will be started. Simply follow the on-screen instructions, and your Ubuntu system will be installed.

Ubuntu is one of the few Linux distributions out there that will not enable the root account. If you want to do something with root permission on the console you have to type sudo before the command.

Sudo” means superuser do. “sudo” will prompt for “Password:”. Please specify user password

As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process. Because of this your root account is inactive.

If you want to enable root account (which is not recommended) enter the following command.

$sudo passwd root

This will prompt for a new root password and once you confirm it, you can start using the root account to login

Apt-Get

The apt-get command is a powerful command-line tool used to work with Ubuntu's Advanced

Packaging Tool (APT) performing such functions as installation of new software packages, upgrade
of existing software packages, updating of the package list index, and even upgrading the entire
Ubuntu system.

Being a simple command-line tool, apt-get has numerous advantages over other package management tools available in Ubuntu for server administrators. Some of these advantages include ease of use over simple terminal connections (SSH) and the ability to be used in system administration scripts, which can in turn be automated by the cron scheduling utility.

Some examples of popular uses for the apt-get utility:

• Install a Package: Installation of packages using the apt-get tool is quite simple. For example, to install the editor vim, type the following:

 #apt-get install vim

• Remove a Package: Removal of a package or packages is also a straightforward and simple
process. To remove the vim package installed in the previous example, type the following:

 #apt-get remove vim

Update the Package Index: The APT package index is essentially a database of available
packages from the repositories defined in the /etc/apt/sources. list file. To update the local
package index with the latest changes made in repositories, type the following:

 #apt-get update

• Upgrade Packages: Over time, updated versions of packages currently installed on your computer may become available from the package repositories (for example security updated). To upgrade your system, first update your package index as outlined above, and then type:

 #apt-get upgrade

If a package needs to install or remove new dependencies when being upgraded, it will not be
upgraded by the upgrade command. For such an upgrade, it is necessary to use the dist-upgrade
command.

For further information about the use of APT, read the comprehensive Debian APT User Manual
[http://www.debian.org/doc/user-manuals#apt-howto] or type:

#apt-get help