Upload
mobme-technical
View
5.432
Download
10
Tags:
Embed Size (px)
Citation preview
1
Setting up and Configuring Kannel
2
KANNEL
A compact and powerful open source WAP/SMS Gateway
3
INSTALLATION
# mkdir Kannel# cd Kannel# tar xfz ../downloads/gateway-1.4.1.tar.gz# cd gateway-1.4.1
# make# sudo make installpassword: ************
4
CONFIGURATION – GROUPS
• CORE• SMSC• SMSBOX• SENDSMS-USER• SMS-SERVICE• WAPBOX• MYSQL-CONNECTION• SQLBOX .....
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"
6
CONFIGURATION
THE SMSBOX GROUP
group = smsboxbearerbox-host = 127.0.0.1sendsms-port = 13013global-sender = mobmelog-level = 0
7
CONFIGURATION
group = smscsmsc = smpphost = "xxx.xxx.xxx.xxx"port = 1234smsc-username = "foo"smsc-password = "bar"system-type = ""
THE SMSC GROUP
8
CONFIGURATION
THE SENDSMS GROUP
group = sendsms-userusername = kanneluserpassword = foobarconcatenation= truemax-messages = 3
9
RUNNING THE GATEWAY
# bearerbox -v 0 kannel.conf # smsbox -v 0 kannel.conf
10
SENDING MESSAGES
URL : http:/localhost:13013/cgi-bin/sendsmsusername = foopassword = barto = 919895433183text = ”Hello World!!!”From = FastAlerts
11
???