Kannel is an open source WAP gateway and SMS gateway for GSM networks. The main use for Kannel is to link HTTP based services to various SMS centers using obscure protocols.Kannel is mainly being developed on Linux systems, and should be fairly easy to port to other Unix-like systems. However, kannel don’t yet support other platforms.
Kannel Installation and Configuration as SMS gateway Server
Installation
1 Before installing kannel you will need to install libxml. Download the source and follow the next steps for installation.We can download it from following link. ftp://gd.tuwien.ac.at/pub/libxml/
2 Unzip it into some directory
3 Cd into directory where libxml is unzipped and then type the following commands
4 Type ./configure
5 Type make
6 Type make install
now you have libxml
7 Download latest version of Kannel http://www.kannel.org/download.shtml and Unzip it into some directory or use svn co https://svn.kannel.org/gateway/trunk to download latest version of gateway
8 cd into directory where Kannel is unzipped and then type the following commands
9 Type ./configure –prefix=/usr/local/kannel-1.5.0 –enable-start-stop-daemon –with-mysql
10 Type make
11 Type make install
Now kannel is ready
Next step is to add configuration
Kannel consists of three programs, usually run as daemons: bearerbox, wapbox, and smsbox. They implement the connection to the phone (SMS or UDP), the WAP protocol stack, and the SMS based services, respectively.
We will need only bearerbox and smsbox as we are going to setup it as SMS gateway server. Bearerbox is the main queue and smsbox handles the smscs.
Create a file named kannel.conf and add following configuration
Now start SMS box and bearer box using
To see running process use
To stop the kannel service
To see kannel logs
Now you can send sms using send sms url
If you are keen to learn more about this , Refer Here
For Sample kannel configuration, check Here
Kannel Installation and Configuration as SMS gateway Server
Installation
1 Before installing kannel you will need to install libxml. Download the source and follow the next steps for installation.We can download it from following link. ftp://gd.tuwien.ac.at/pub/libxml/
2 Unzip it into some directory
3 Cd into directory where libxml is unzipped and then type the following commands
4 Type ./configure
5 Type make
6 Type make install
now you have libxml
7 Download latest version of Kannel http://www.kannel.org/download.shtml and Unzip it into some directory or use svn co https://svn.kannel.org/gateway/trunk to download latest version of gateway
8 cd into directory where Kannel is unzipped and then type the following commands
9 Type ./configure –prefix=/usr/local/kannel-1.5.0 –enable-start-stop-daemon –with-mysql
10 Type make
11 Type make install
Now kannel is ready
Next step is to add configuration
Kannel consists of three programs, usually run as daemons: bearerbox, wapbox, and smsbox. They implement the connection to the phone (SMS or UDP), the WAP protocol stack, and the SMS based services, respectively.
We will need only bearerbox and smsbox as we are going to setup it as SMS gateway server. Bearerbox is the main queue and smsbox handles the smscs.
Create a file named kannel.conf and add following configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|
1 2 |
|
1
|
|
1
|
|
1
|
|
1
|
|
For Sample kannel configuration, check Here
Comments
Thanks for this. The send SMS from kannel is not any troublesome. Would you do a guide on receiving SMSs? I have tried everything and but still I cannot received SMS from the same e220 modem that works fine sending from kannel. Thanks again, you guide so far has been very usefull
Start bearerbox first. Smsbox needs to connect to an already running bearerbox instance.