Kannel Installation On Windows

Download the cygwin setup file from the link given on this page and then install cygwin into some directory. Remember you have to install the development tools required to compile kannel.

Beacuse it will be needed to compile the source code of kannel. These are as given in the Official kannel documentation on www.kannel.org

Extract the Kannel source code .zip file into some directory.

Using cygwin command prompt , compile and install kannel

./configure (Hit enter)

make(Hit enter)

Starting the services :

Add three services viz. kannel_bearerbox , kannel_smsbox and kannel_wapbox to the registry using cygwin command prompt. For example the following lines of code will add smsbox.exe service to the registry, and after that you will be able to run the service using the next command.

There are plenty of options that you can use to send messages. The simplest approach would be developing a simple webpage/service which will provide you with an interface that you can connect to your kannel box and send message. Simply by doing this you will be making a bridge between your web service and your sms service for user simplicity. I hope this helps.

1) I have tested this procedure on windows and its works perfectly alright. I have tested with own sms box as well as skype services, works very well with both.

2) The only major difference between using it on linux and kannel is actually not a big difference. Just commands are a little different, if you are familiar with linux, use sshd instead of cygrunsrv and change the paths accordingly. Thats all there is to it. And secondly configure and make commands will execute similarly on both so there you go.

I am new user of Kannel,I just installed Cygwin into my laptop right now,i intend to run kannel on windows vista.But apparently,i have installed Cygwin and installed all kannel features.I have also started Cygwin environment which obviously looks like Unix system environment. I have also downloaded the zip file of kannel [gateway-1.4.3]into my system.

My question now is,which folder do i extract the gateway-1.4.3 source code? and what are the necessary steps to compile it and run?

There is no particular directory in which you have to compile the gateway, just download the source in any directory , use the terminal to go into the directory and then use the configure and make commands, this should do it. And while running services just replace the path, “c:/gateway-1.4.1/gw/smsbox.exe” with the path that you have used for the source code compilation.