Top Banner
1 Setting up and Configuring Kannel
11
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to set up and Configure Kannel, A quick start

1

Setting up and Configuring Kannel

Page 2: How to set up and Configure Kannel, A quick start

2

KANNEL

A compact and powerful open source WAP/SMS Gateway

Page 3: How to set up and Configure Kannel, A quick start

3

INSTALLATION

# mkdir Kannel# cd Kannel# tar xfz ../downloads/gateway-1.4.1.tar.gz# cd gateway-1.4.1

# make# sudo make installpassword: ************

Page 4: How to set up and Configure Kannel, A quick start

4

CONFIGURATION – GROUPS

• CORE• SMSC• SMSBOX• SENDSMS-USER• SMS-SERVICE• WAPBOX• MYSQL-CONNECTION• SQLBOX .....

Page 5: How to set up and Configure Kannel, A quick start

5

CONFIGURATION

THE CORE GROUP

group = coreadmin-port = 13000smsbox-port = 13001admin-password = bar#log-file = "/tmp/kannel.log"#log-level = 0box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"

Page 6: How to set up and Configure Kannel, A quick start

6

CONFIGURATION

THE SMSBOX GROUP

group = smsboxbearerbox-host = 127.0.0.1sendsms-port = 13013global-sender = mobmelog-level = 0

Page 7: How to set up and Configure Kannel, A quick start

7

CONFIGURATION

group = smscsmsc = smpphost = "xxx.xxx.xxx.xxx"port = 1234smsc-username = "foo"smsc-password = "bar"system-type = ""

THE SMSC GROUP

Page 8: How to set up and Configure Kannel, A quick start

8

CONFIGURATION

THE SENDSMS GROUP

group = sendsms-userusername = kanneluserpassword = foobarconcatenation= truemax-messages = 3

Page 9: How to set up and Configure Kannel, A quick start

9

RUNNING THE GATEWAY

# bearerbox -v 0 kannel.conf # smsbox -v 0 kannel.conf

Page 10: How to set up and Configure Kannel, A quick start

10

SENDING MESSAGES

URL : http:/localhost:13013/cgi-bin/sendsmsusername = foopassword = barto = 919895433183text = ”Hello World!!!”From = FastAlerts

Page 11: How to set up and Configure Kannel, A quick start

11

???