Skip to main content

How to install Kannel Open Souce SMS Gateway on Cent OS

Kannel is a compact and very powerful open source WAP and SMS gateway, used widely across the globe both for serving trillions of short messages (SMS), WAP Push service indications and mobile internet connectivity.

Documentation Kannel User Guide
For more troubleshoot go through Kannel User Guide 
Download Kannel RPM or Source Code
Kannel Source Code
Download Kannel Source Code
md5: 54a71e14a681641f1b670bf9925decfa gateway-1.4.3.zip
sha1: 515a9aa1df52e3d14c753b95faba580a02c0787c gateway-1.4.3.zip

Kannel RPM's

Download from RPM Repo
Search your Linux version from Here

How to install Kannel on Centos 5.4
# rpm -ivh kannel-1.4.2-1.el5.rf.i386.rpm
# rpm -ivh kannel-devel-1.4.2-1.el5.rf.i386.rpm
$ads=[1]
Edit the default Kannel configuration
# vim /etc/kannel.conf
# Default kannel configuration file without Database
group = core
admin-port = 13000
admin-password = abc
status-password = def
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1

################## SMSC CONFIGURATION ##################
group = smsc
smsc = smpp
smsc-id = smsc1
host = 10.27.23.12
port = 5839
#receive-port = 2775
transceiver-mode = 1
smsc-username = smsuser
smsc-password = smspass
system-type=
source-addr-ton = 1
dest-addr-ton = 1
throughput = 10
connect-allow-ip = "*.*.*.*"
keepalive = 50

################ SMSBOX CONFIGURATION ##################
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
##log-file = "/tmp/smsbox.log"
##log-level = 0
##access-log = "/tmp/access.log"
################ SENDSMS CONFIGURATION ##################
group = sendsms-user
username = tester
password = foobar
concatenation= true
max-messages = 3
################ RECEIVE SMS CONFIGURATION ##################
#group = sms-service
#keyword =
#keyword-regex = .*
#catch-all = yes
#max-messages = 0
#get-url = "http://localhost/sms?phone=%p&text=%a"
How to start & stop the bearerbox & smsbox
# /usr/sbin/smsbox /etc/kannel.conf &
# /usr/sbin/bearerbox /etc/kannel.conf &
How to Stop the kannel service
# /etc/init.d/kannel stop
How to check logs for kannel
# tail -20f /sdp/wap_push_promotion/bearerbox.log
How to check the kannel process is running or not?
#  ps -ef | grep kannel
root     11314 11281  0 14:05 pts/2    00:00:00 grep kannel
kannel   20609     1  0 Aug02 ?        00:00:00 /usr/sbin/bearerbox /etc/kannel.conf
kannel   20628     1  0 Aug02 ?        00:00:00 /usr/sbin/smsbox /etc/kannel.conf

Feedbacks: We appreciate your feedbacks and suggestions about our website bala@techgyaan.org
Check out . Follow @techgyaan  full-width

Comments

Popular posts from this blog

Download of the Day!

Amarok 2.0.2 has released Amarok is an open source alternative music player for iTunes. Amarok supports Linux, Unix, MacOSX and windows Operating system. It is smiliar to iTunes just drag & drop the songs to play list. Amarok also lets you listen to internet radio ( mp3 streaming ) including music from last.fm . Features Automatic cover Lyrics download Dynamic playlists Visualizations and Podcasting. These are only some of the great new features of Amarok 2. Give it a try! Download here An least but not last - Amarok will also synchronize your music to your iPod. For the more technical users a scripting interface allows you to extend the functionality of Amarok. Print Page Feedbacks: We appreciate feedbacks and suggestions about our website info@techgyaan.org

How to install WebLogic 8 on Solaris 10

Lets start the installation Login to solaris box use sudo command to install the application. $ ./server814_solaris32.bin Extracting 0%……………………………………………………………………………………….100% Unable to instantiate GUI, defaulting to console mode. Welcome: ——– ————— This installer will guide you through the installation of WebLogic Server 8.1 SP4. Type “ Next” or enter to proceed to thenext prompt. If you want to change data entered previously, type “Previous”. You may quit the installer at any time by typing “ Exit”. Enter [Exit][Next]> BEA Systems License Agreement: —————————— BEA SYSTEMS, INC. SOFTWARE LICENSE AGREEMENT USE OF SOFTWARE ORDERED FROM BEA SYSTEMS, INC. (”BEA”) IS PROVIDED ONLY UNDER LICENSE FROM BEA. PLEASE READ THE FOLLOWING LICENSE CAREFULLY AND INDICATE YOUR ACCEPTANCE BY CLICKING THE ACCEPTANCE BOX. CERTAIN CAPITALIZED TERMS ARE DEFINED IN SECTION 11. 1. LICENSE TERMS a. Workshop Free Use. The terms of this Section 1(a) are applicable to you if you h...

Sysadmin Daily Commands

Some of these commands are used by unix/linux administrator in his/her day-to-day activities  cat to concatenate files to standard output chgrp to change file group ownership chmod to change file access permissions chown to change file owner and group cp to copy files and directories date to print or set the system data and time dd to convert and copy a file df to report filesystem disk space usage dmesg to print or control the kernel message buffer echo to display a line of text hostname to show or set the system's host name kill to send signals to processes ln to make links between files login to begin a session on the system ls to list directory contents mkdir to make directories mknod to make block or character special files more to page through text mount to mount a filesystem mv to move/rename files ps to report process status pwd to print na...