James Kanne l
-
Upload
rene-lefab -
Category
Documents
-
view
224 -
download
0
description
Transcript of James Kanne l
-
A d i D M bil S l ti fAcademic Day on Mobile Solutions for Sngal 2010g
http://www.mobilesenegal.com
Dr. Christelle [email protected] University
Jean-Marie [email protected]
James [email protected] 1
-
Academic Day on Mobile Solutions for Sngal 2010Sngal 2010
Training Faculty on:Training Faculty on:Training Faculty on: Java ME/Android, Web Mobile &
SMS Gateway
Training Faculty on: Java ME/Android, Web Mobile &
SMS Gateway SMS Gateway SMS Gateway
WARC/CROA 7 8 & 9 J 2010WARC/CROA 7 8 & 9 J 2010WARC/CROA. 7, 8 & 9 June 2010WARC/CROA. 7, 8 & 9 June 2010
Dr. Christelle Scharffcscharff@pace edu
Jean-Marie Preirapreira@esmt sn
James Tamgnotamgno@esmt [email protected]
Pace [email protected]
2
-
Objectifsj
Understanding
F t f SMS G tFeatures of SMS Gateway;
Implement
A value added service base on SMS ;
3
-
Description de la technologie SMS
Prsentation de la passerelle kannel
Architecture et fonctionnement
p
PlanI t ti d i l j t
Architecture et fonctionnementPlanIntgration dun service valeur ajoute
Test et Administration
4
-
Description de la technologie SMS
What is SMS ?Short Message Service (SMS).
?g
99It is a telecommunication protocol that enables the sending and receiving of shortenables the sending and receiving of short (160 characters or less) text messages between mobile phones
5
-
Description de la technologie SMS
What Makes SMS Messaging So Successful ?SMS Messages
?g
9Can be Sent and Read at Any Time, anywhere9Can be Sent to an Offline Mobile PhoneCan be Sent to an Offline Mobile Phone9Are Less Disturbing While You can Still Stay in Touch9Are Supported by 100% GSM Mobile Phones 9Are Supported by 100% GSM Mobile Phones 9Can be Exchanged between Different Wireless C rri rCarriers9Are Suitable Technology for Wireless Applications to B ild Build on
6
-
Description de la technologie SMSExample Applications of SMS Messaging
Person-to-Person Text Messaging
7
-
Description de la technologie SMSExample Applications of SMS Messaging
Provision of InformationD l diDownloadingAlerts and NotificationsEmail, Fax and Voice Message NotificationsE-commerce and Credit Card Transaction AlertsStock Market AlertsRemote System Monitoringy g
Two-way Interactive Text Messaging ApplicationsApplicationsSMS Marketing 8
-
Description de la technologie SMSWhat is an SMS Center / SMSC?
The SMSC?
9Is The post office that serves the SMS traffic on GSM network9Acts as a platform for recording & transfer (store & forward) forward) 9Main duty is to route SMS & regulate the process9S diff f h i 9Supports different types of messages that increase the usage of SMS (bells, picture, icons, melodies, sounds, animations)
9
-
Description de la technologie SMSWhat is an SMS Center / SMSC?
The SMSC?
9Can use many type of protocols to connect to various external entitiesTo mobile network trough Signaling Interface Unit (SIU)Short Message Peer to Peer (SMPP)g ( )External Machine Interface (EMI/UCP) or CIMD of NokiaOpen Interface Specification (OIS)9Can use either TCP/IP protocol as a carrierCan use either TCP/IP protocol as a carrier
10
-
Description de la technologie SMSWhat is an SMS Gateway?
The SMS Gateway?
9Acts as a relay between the two SMSCs9T l t SMSC t l t 9Translates one SMSC protocol to another onea other o e
11
-
Description de la technologie SMSWhat is an SMS Gateway?
The SMS Gateway9C b h dl h i
?9Can be set up to handle the connections to the SMSCs, to support many type of Protocols pp y ypto connect to the external entity
12
-
Description de la technologie SMSWhat is an SMS Gateway?
The SMS Gateway?
9Is capable of handling the connections to mobile phones and GSM/GPRS modems using AT p / gcommands.
13
-
Prsentation de la passerelle kannel
What is Kannel?An Open Source project to make SMS/WAP
?An Open Source project to make SMS/WAP Gateway (http://www.kannel.org)A f G S b Acts as a uniform Gateway Service between various types of SMSc(s) for transporting SMS yp ( ) p gmessagesS l O ki G kii G See also Ozeki, Gnokii, Gammu,
14
-
Architecture et fonctionnement
How Kannel works?Architecture of kannel
?Architecture of kannel
SMSBoxSMSC
BearerBoxHTTP
Requests
SMS Protocols
TCP
WAPBox
BearerBox RequestsWAP protocol stack
15WAP
phone Kannel
-
Architecture et fonctionnement
How Kannel works?SMSBox9R SMS f h B B
?9Receives SMS messages from the BearerBox via its TCP connection;9Parses each of them in order to extract keywords and parameters from it;and parameters from it;9And then executes a service according to which keyword the message contains;keyword the message contains;9Listens to SMS messages via HTTP and converts h SMS fthem into true SMS format.
16
-
Architecture et fonctionnement
How Kannel works?BearerBox
?BearerBox9Receives UDP messages from mobile phone via SMSC(s); 9Routes UDP packets (Send & receives) 9Routes UDP packets (Send & receives) to SMSBox;;9Sends the UDP message back to mobile
hphone.17
-
Architecture et fonctionnement
How Kannel works? Gateway design
?
HTTP request to forward SMS Text
USB/RS 232USB/RS-232AT Commands
AT+CNMI=1,2,0,1,1SMS Text
18Modem GSM/GPRS
-
Intgration dun service valeur ajoute
What Things do we needg j
?Hardware
?9A computer9GSM/GPRS modems using AT commands, with usb/serialSoftware9Linux OS with Mysql-Server-5 0 php5 phpmyadmin9Linux OS with Mysql-Server-5.0, php5, phpmyadmin9Kannel (http://www.kannel.org)9 l (h // l f )9playSMS (http://playsms.sourceforge.net)
19
-
Intgration dun service valeur ajoute
What are the steps to setup SMS Gatewayg j
??11
44
Testing upTesting up
44
g pg p
22
33
20
-
Intgration dun service valeur ajouteg j
What are the steps to setup SMS Gateway?1 Setting up GSM modem
?1.Setting up GSM modem
a Put SIM card into the GSM modema. Put SIM card into the GSM modem
b O i l d d il f / /l /b. Open terminal and do tail f /var/log/messages
c. Plug GSM modem into the usb/serial port, watch b.
21
-
Intgration dun service valeur ajouteg j
What are the steps to setup SMS Gateway?2 Install & setup kannel
?2.Install & setup kannel
be sure that libxml2-dev & libxml are installeda. aptitude install kannel kannel-develb f 1 4 3b. from source : gateway-1.4.3.tar.gz
(tar xzvf gateway-1.4.3.tar.gz , cd( g y 4 g ,gateway-1.4.3 ; ./configure ; make ;
k i t ll)make install)22
-
Intgration dun service valeur ajouteg j
What are the steps to setup SMS Gateway?2. Install & setup kannel : /etc/kannel.conf
?1 2 3
Ports & logs files
Handle SMSC specific protocol
and message
Contents modem description
and message releying
23TUTO NTUTO N 11
-
Intgration dun service valeur ajouteg j
What are the steps to setup SMS Gateway??2. Install & setup kannel : /etc/kannel.conf
1Higher level
2 3
Higher-level SMS handling
Interprets them i
Handle SMSC specific protocol
and message
Contents modem description
as service requests
greleying
24TUTO NTUTO N 11
-
Intgration dun service valeur ajouteg j
What are the steps to setup SMS Gateway?2 Install & setup PlaySMS
?2.Install & setup PlaySMS
TUTO NTUTO N 22TUTO NTUTO N 22
25
-
Test et Administration
How to proceed?pStart kannel
?Start kannel
/ /i i d/k l a. /etc/init.d/kannel restart
b. bearerbox -v 1 /etc/kannel/kannel.conf &
c. smsbox -v 1 /etc/kannel/kannel.conf &
26
-
Test et Administration
How to proceed?Open playSMS website
p ?a. First, restart apache2: /etc/init.d/apache2 restart , p / / / pb.http://localhost/~playsms c Logon with username: admin & password: adminc. Logon with username: admin & password: admind. Send text message from the website to handset
27
-
Conclusion
Enjoy Yourself!Enjoy Yourself!
28
-
29