Table of Contents
GSOC End Summary for Messaging Module/SMS
Author: Ajay Kumar [ ajuonline at gmail dot com ]
Date: August 17 2008 09:36 pm IST
Overview of Features Added:
- Login to Sahana system
- List of Predefined keywords
- Data base interaction with Sahana core using sysconf.inc
- Input data to Sahana DB
- Get data as per Query result from Sahana DB
- SMS Event handler added works on Windows/Linux.[in place of smsfwd.c]
- Text Menus:
- SMS Main Menu after “HELP” is sent - Main SMS HELP Menu sent as response
- SMS Main Menu confirming login of user & sending Main menu - Acknowledgement to user with his Name & Main Menu
- Proof of concept. 2 Module functions added to demonstrate working of API.
- Situation Awareness Module - Search Within a Radius of a GPS coordinate
- Input Text “sm search lat long radius” E.g. “sm search 77 77 100”
- Situation Awareness Module - Add a Situation and plot over map.
- Input Text “sm add (name) (description) (lat, long)” E.g. “sm add (Name of Situation) (Description Text) (lat, long)”
- SMS Caller ID based Menu state & login session handling using DB Timestamps
is still a todo. Now since, the Session works as per Sahana session handling, it would be a wise idea to replicate Last menu accessed and other stuff as Sahana session handles in the session array.
Possible Immediate Uses
- Publicly Important Information can be made available by setting up an SMS IVR.
- Important Disaster Reporting can be done over SMS.
The Getting Started Guide
-
- How to emulate SMS in/out without an actual GSM Modem
- Checking hardware compatibility on Windows/Linux
- Writing out SMSTools configuration file on Windows/Linux [smsd.conf]
- The Important files:
- /mod/msg/lib_sms_main.inc
- /mod/msg/lib_sms_handler.inc
- /mod/msg/lib_sms_keywords.inc
- /mod/msg/lib_sms_errors.inc
- /inc/lib_security/lib_sms_auth.inc
- /mod/msg/plugins/smstools/smsfwd/smsevent
Improvement Areas
- Enhanced SMS logging with detailed time stamp. SMS Sent, SMS Received. Both System & User/Network Time Stamp.
- Addition of a SMS Keyword Syntax check library using comprehensive regex implementation like one demonstrated.
- Comprehensive testing