Two things are essential for running kannel on a windows machine :
2.Kannel source code
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)
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.
cygrunsrv -I kannel_smsbox -d “Kannel SMS box” -p c:/gateway-1.4.1/gw/smsbox.exe -a c:/gateway-1.4.1/gw/smskannel.conf (Added service)
Running a service
Open the Cygwin command prompt
cygrunsrv -S kannel_smsbox (Started the service)
You can check in the task manager is the service is really running or not.To stop a service using cygwin :
cygrunsrv -E kannel_smsbox (Stopped the service)
To remove a service using cygwin :
cygrunsrv -R kannel_smsbox (Removed the serive)