Академический Документы
Профессиональный Документы
Культура Документы
Academic
D on M
Mobile
bil Solutions
S l ti
for
f
Sngal
g 2010
http://www.mobilesenegal.com
Jean-Marie Preira
preira@esmt.sn
ESMT
James Tamgno
tamgno@esmt.sn
ESMT
Jean-Marie Preira
preira@esmt sn
preira@esmt.sn
ESMT
James Tamgno
tamgno@esmt sn
tamgno@esmt.sn
ESMT
Objectifs
j
Understanding
F t
Features
off SMS Gateway;
G t
Implement
A value added service base on SMS ;
Plan
Architecture et fonctionnement
I t
Intgration
ti dun
d service
i valeur
l
ajoute
j t
Test et Administration
4
Short Message
g Service (SMS).
SMS Messages
g
9Can
Can use either TCP/IP protocol as a carrier
10
11
9Can be
9C
b set up to handle
h dl the
h connections
i
to
pp manyy type
yp of Protocols
the SMSCs, to support
to connect to the external entity
12
13
What is Kannel
14
Architecture et fonctionnement
SMSBox
SMS Protocols
BearerBox
TCP
WAP
phone
HTTP
Requests
Kannel
WAPBox
15
Architecture et fonctionnement
Architecture et fonctionnement
Architecture et fonctionnement
SMS Text
USB/RS-232
USB/RS 232
AT Commands
AT+CNMI=1,2,0,1,1
Modem GSM/GPRS
18
Intgration
g
dun service valeur ajoute
j
9A computer
9GSM/GPRS modems using AT commands, with usb/serial
Software
9Linux OS with Mysql-Server-5.0,
Mysql-Server-5 0 php5
php5, phpmyadmin
phpmyadmin
9Kannel (http://www.kannel.org)
9 l
9playSMS
(http://playsms.sourceforge.net
h // l
f
)
19
Intgration
g
dun service valeur ajoute
j
1
4
Testing
g up
p
2
3
20
Intgration
g
dun service valeur ajoute
j
Intgration
g
dun service valeur ajoute
j
b from
b.
f
source : gateway-1.4.3.tar.gz
143
((tar xzvf ggateway-1.4.3.tar.gz
y 4
g , cd
gateway-1.4.3 ; ./configure ; make ;
make
k install)
i t ll)
22
Intgration
g
dun service valeur ajoute
j
Handle SMSC
specific protocol
and message
releying
Contents modem
description
TUTO N 1
23
Intgration
g
dun service valeur ajoute
j
Higher-level
Higher
level
SMS handling
Interprets them
as service
i
requests
Handle SMSC
specific protocol
and message
g
releying
Contents modem
description
TUTO N 1
24
Intgration
g
dun service valeur ajoute
j
25
Test et Administration
How to p
proceed
Start kannel
a. /etc/init.d/kannel
/ /i i d/k
l restart
b. bearerbox -v 1 /etc/kannel/kannel.conf &
c. smsbox -v 1 /etc/kannel/kannel.conf &
26
Test et Administration
How to p
proceed
Open playSMS website
b.http://localhost/~playsms
cc. Logon with username: admin & password: admin
d. Send text message from the website to handset
27
Conclusion
Enjoy Yourself!
28
29