SMS Based Applications: Behind the scene

Preview:

Citation preview

SMS based Applications: Behind the scene

Bhabishyat Bikram KCAnjesh TuladharYoung Innovations

SMS?

Short Messaging Service

Imagine sending same SMS to 100 people from your mobile phone ....

Using SMS as Data

● SMS can be structured in a way that it represented data

● [string] [number] [string]....

Why using SMS as Data?

● Ubiquitous● Accessible● Mobile Internet still an issue

Frontline SMS

● Free and open source software● Can work without internet, only with cell phone

and computer

Kannel

● Open Source Sms gateway.● Gateway between SMSC (smpp protocol) and

web application (http)● Works in linux environment.● Can handle thousands of requests.

Kannel

● Kannel consists of three parts● Bearerbox ( common interface for sms and wep

services)● Smsbox ( interface for sms service)● Wapbox ( interface for wap service)● Different logs are maintained. ● e.g Bearerbox-access.log , smsbox-access.log

● 2012-04-28 09:59:21 Receive SMS [SMSC:NTNepal5005] [SVC:] [ACT:] [BINF:] [FID:] [from:+9779841000000] [to:5005] [flags:-1:0:-1:0:-1] [msg:5:MS 14] [udh:0:]

● 2012-04-28 09:59:21 Sent SMS [SMSC:NTNepal5005] [SVC:default] [ACT:] [BINF:] [FID:] [from:5005] [to:+9779841000000] [flags:-1:0:-1:-1:-1] [msg:88:Thank you for voting .] [udh:0:]

Integration with Telecom Operators

● VPN (using racoon)● Leaseline

System

NTC

ncell

Smart Telecom

Kannel

Drupal based system

Vpn connections

Blackmyna.com

Lease line

UTL

Push and Pull SMS

● Sms services : pull and push● Getting service as requested - pull● Services sent by server itself - push● Short codes or short numbers can be used for

SMS or MMS● Easier to read and remember.● Keywords are used to separate messages on

shared shortcodes.

Drupal based MIS

● System to send and receive sms using web interface. ( blackmyna.com )

● Services provided :● Pull : Poll , Basicnews and couple of other

client based services. ● Push: General push, Scheduled push.

Working of Drupal based MIS

Drupal core

Drupal custom modules

Custom Classes

Sms daemon

Scheduler

KannelPull

Push

User

Not enough for extensions

● Not extensible, difficult to cope up with the specific needs of the client.

API development

● Developed based on OneAPI standards.● OneAPI defines commonly supported web friendly

api that allows to expose mobile and other network operators capabilities to web.

● Provides API for developing systems for push and pull sms.

● Easy to use and easy to maintain.● Sms/1/smsmessaging/outbound?

senderAddress=4266&address=9841000000&message=check

System extended via API

Kannel

API Third Party Software

Drupal based System

National Immunization Programme

● In partnership with UNICEF and GoN Child Health Division

● For real time reporting via SMS by health workers

● www.nip.org.np

NIP: Workflow

Thank you.