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
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
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
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 Bala's Google+ profile. Follow @techgyaan
full-width
Check out Bala's Google+ profile. Follow @techgyaan

Comments
Post a Comment