Generic SMS Gateway for AtLink Enterprise Voice Integration Instructor Mentor : Dr. Kwok-Bun Yue, Ph.D : Mr. Dilhar De Silva Team #6 : Dang Nguyen Huy Do Tan Nguyen Thang Nguyen 1 Table of contents Overview of project Project requirements Project design specification SMS gateway providers Project plan References Questions and Answers 2 Overview of project This project is sponsored by AtLink company. Build a HTTP and a SMPP SMS client. Integrate with a hosted SMS gateway Capability to bind with any open SMS gateway by customizing required parameters 3 Project requirements Build a web based SMS application that satisfy the following requirements: Support HTTP and SMPP protocols Support Two-Way SMS capabilities. Coverage US and EU Change the binding to any gateway dynamically by changing binding parameters Should integrate with EVI Communication profiles 4 Project requirements Development tool requirements for project as follows: AJAX and HTML for User Interface. JAVA as a development language and Eclipse as a dev environment. MySQL as database server. An open source UML tool (TBD) for analysis & design specifications. 5 Project design specification Introduction to SMS Messaging Basic concepts of SMS Technology SMS gateway protocols How to send/receive SMS Project architecture 6 Introduction to SMS Messaging SMS stands for Short Message Service Enables the sending and receiving of messages between mobile phones One SMS message can contain at most 140 bytes 160 characters (7-bit character) 70 characters (16-bit Unicode) SMS messages can also carry ringtones, pictures, operator logos, wallpapers, animations 7 Applications of SMS Person-to-Person Text Messaging Provision of Information Downloading Alerts and Notifications Email, Fax and Voice Message Notifications E-commerce and Credit Card Transaction Alerts Stock Market Alerts Remote System Monitoring Two-way Interactive Text Messaging Applications SMS Marketing 8 Basic concepts of SMS Technology SMS Center: responsible for handling the SMS operations of a wireless network Intra-operator SMS Messages: involves only one SMS center 9 Basic concepts of SMS Technology Inter-operator SMS message involves one or more SMS centers 10 Basic concepts of SMS Technology SMS Gateway: acts as a relay between the two SMSCs. It is needed when two SMSCs does not support a common protocol An SMS message may need to pass through more than one network entity (e.g. SMSC and SMS gateway) before reaching the destination 11 Basic concepts of SMS Technology SMS Gateway 12 SMS gateway protocols HTTP/S API: used in the form of an HTTP/Internet Post SMTP [E-mail to SMS]: allows messages that are sent via e-mail to be converted to SMS. SMPP: suitable for customers who send large volumes of traffic XML: XML over HTTP FTP: Suitable for high volume messaging COM Object API: Popular with windows-based developer, integrate SMS sending into their programs or ASP pages 13 How to send SMS 1. User would log on to sms2email account. 2. Once user has logged on/signed up, you would click on "textback". Under this heading you can then reserve your keywords (subject to availability) 3. Once you have your keyword(s), user can start a campaign. Any text message sent to 07766 40 41 42 with user keyword at the start of the message will be forwarded to user by email and also stored on SMS Gateway service provider database so user can download them at a later date. NOTE : This service is free to all accountholders. However, it is subject to a fair-usage policy. If you are using this service for business purposes, we would recommend contacting us for a dedicated number. Note: (1) Application Web Server of SMS Gateway service provider. (2) Internet (3) SMPP Traffic (4) SMSC 14 (5) GSM Network How to receive SMS 1. Installing it in a SIM slot in one of GSM modems (1). 2. SMS Gateway Service Provider application servers check user SIM card (2) for content every 3 seconds. Note: SIM based technology, the maximum throughput of messages is one per 3 seconds, up to a limit of 30,000 per month 3. The incoming messages are processed and entered into the secure database (3) and all messages are associated with user sms2email account login. 4. In order to view the incoming messages, you can log in to your sms2email.com account and download them in Microsoft excel compatible csv format, or (at no extra cost) you can have the messages forwarded to you via email (4), or HTTP POST'ed (5) to your own application server Note: (1) GSM Modem (2) SMS Gateway Service Provider Application Server (3) Secure database (4) Email Gateway (5) HTTP/HTTPS Interface 15 Project architecture SMS Center SMSC Protocol 1 SMS Center SMS Center SMSC Protocol 2 SMSC Protocol 3 SMS Center SMSC Protocol 4 SMS gateway HTTP/ HTTPS SMPP Web Service Web Browser Mail Server Web Application Sessions Profile EVI My SQL Database 16 Project architecture Web Browser: Running on client-side, it allows users log in and send SMS messages. EVI (Enterprise Voice Integration) profile: contain the information of customers SMS Gateway: an SMS gateway can be set up to handle the connections to the SMSCs SMS Center: A SMS center (SMSC) is responsible for handling the SMS operations of a wireless network Web Application: Running in the server-side, it handles requests from SMS users for sending and receiving SMS message 17 Use cases Register Create User Manage User Login Configure System Administrator User Create Profile Manage SMS Gateway Account Send SMS Message Login Reply SMS Message Send back SMS Message Mobile Reply SMS Message 18 SMS gateway providers Criteria Cost for sending SMS messages Network coverage Protocols or interfaces supported API documents Number of free SMS messages or credits 2-way SMS messaging Support service 19 SMS gateway providers SMS Gateway Provider Research Chosen SMS Gateway Provider Clickatell (http://www.clickatell.com) SMS2Email (http://www.sms2email.com) MXTelecom (http://www.mxtelecom.com) 20 Project plan Detail of the project plan 21 References http://www.developershome.com/sms/ http://www.clickatell.com http://www.smsforum.net http://www.wikipedia.org 22 Thank you 23