Menu

About SMS

Help
Yogi
2008-10-15
2019-04-05
  • Yogi

    Yogi - 2008-10-15

    Hello Martin,

    I want to implement SMS facility with openGTS. Can I implement SMS facility with openGTS?

     
    • Martin Flynn

      Martin Flynn - 2008-10-15

      Hi Yogi,
      SMS only works from a cell-phone to a cell-phone, which means you will need to use an SMS gateway to provide SMS communications.  There are several open-source solutions to choose from, and even your wireless service provider may provide SMS messaging service from your server to the client devices via an email message.  Incoming SMS messages can be routed through your own SMS gateway, or may come in through an email message through a commercial SMS gateway (such as through your wireless service provider, if they can provide this service).  If GPS information comes in through an email service, you will need to create a service program that can read the email, parse the informaton, and insert the data into the MySQL database, or at least forward the data to a service that has the ability to insert the data into the database.  Typically, this email-reading-program should be written in 'C/C++', since it usually is required to run in a separate/single process, and must read/parse the email quickly, then exit.
      Best Regards,
      - Martin

       
    • Eduardo Robles

      Eduardo Robles - 2008-10-15

      Hi,

      A while ago I followed a suggestion from this forum and started to use smstools3 to test a tracking device that sends information via sms. It works fine, and allows the use of external scripts to do whatever needed with the received sms.

      I used to automatically parse the location information in the sms messages and send them via http to my OpenGTS server. It worked like a charm.

      You can do a Google  on smstools3 to go to their web site and check it out.

      Regards,

      Eduardo.

       
    • Martin Flynn

      Martin Flynn - 2008-10-16

      Thanks for the recommendation Eduardo!

       
  • Gonzalo León

    Gonzalo León - 2010-01-21

    Hi all,

    I have a modem installed on my computer that sends sms. The GTS has the ability to send sms through modems??

    Regards,

    Gonzalo

     
  • Eduardo Robles

    Eduardo Robles - 2010-01-21

    Hi Gonzalo,

    OpenGTS does not have a native implementation of a SMS delivery system. I am using two different mechanisms: 1. An e-mail to SMS gateway (a piece of hardware) and 2. a commercial Web based SMS delivery system, that offers an API to send the SMS anywhere in the world (well, with some exceptions, and that´s why I am using also the gateway). There are quite a few web services available that can deliver SMS at a reasonable price, and offer different APIs that can be used from the OpenGTS platform.

    I trigger the SMS messages from my own implementation of a RuleFactory, and the system can notify a user on a variety of events, upon configuration via web interface.

    I also played a while with a software-based gateway that proved very flexible and easy to work with. If you already have the modem, you may want to check the Smstools3, an open source project that can do all the modem, message queuing, SMS deliver and reception handling for you (see http://smstools3.kekekasvi.com). You will, of course still need to integrate it with OpenGTS, buit as far as I can remember, there are some examples of usage with the smstools3 that can help you.

    Cheers,

    Eduardo.

     
  • sam

    sam - 2010-12-01

    HI,

    I have implement sms gateway using smstools3 in same server of opengts both working fine separately ,plz guide me how to config smsgatway to opengts.mail me sakthisam@gmail.com .thanks regards sam

     
  • Christos Pras

    Christos Pras - 2010-12-02

    Can you please inform us also about the hardware (modem or gsm phone) that you use with smstools3?

    I believe that using SMS is useful in some circumstances. One is when the area-region is not covered with GPRS signal.

     
  • sam

    sam - 2010-12-02

    Hi Christos,

    Thanks for your mail, my smstools device for opengts is "Nokia Supernova 7210"  ttyACM0 .

    I have tested smstools in terminal of sending message its working but i need to know how to config this with opengts . If possible i can give access to my server ,pl reply to my mail id sakthisam@gmail.com.Thanks Again ,cheers sam.

     
  • Eduardo Robles

    Eduardo Robles - 2010-12-02

    Hi all,

    From the time I played with smstools3, there was a possibility to trigger an external script (it even comes with a few examples of scripts) to handle the incoming sms. You have to tell smstools3 what file to run (script) in one of the configuration files. For sure is described in the documentation.

    What I did was to develop a simple shell script that re-formatted the received sms into an http request that was then sent to the openGTS server to be processed as if it was received from the tracking device.

    Obviously the OpenGTS servar had running a servlet that listened to the http request and properly inserted the event into the database. Since a few versions ago, OpenGTS template server includes the code to listen http requests. You can use that one and make your life easier.

    This is just a simple integration scenario that used to work fine for me in a testing environment. Not the only way to integrate those two components. The machine where I worked out this scenario is not available anymore to be able to give you more details, but the process was as described.

    @ Sam: having the two services running on the same machine will speed up the things, as there is no Internet traffic when you send an http request to OpenGTS. Just be sure to have enough memory and processing power if it is a production server. I tested this using separate servers, and my OpenGTS was (is) hosted in a remote datacenter.

    @Christos: As far as I can remember, you can use any GSM modem capable of sending and receiving sms (MO/MT) using AT commands. Some specific modems may need some tweaking on the smstools modem interfaces. I used a Siemens mobile phone with a cable I adapted to plug it into one of my server´s serial port. It worked like a charm during the tests. For a production environment I would recommend a 'real' GSM modem that uses AT commands. I even thought about testing with one of my enfora tracking devices and use it just as a modem…

    Hope you have fun.

    Cheers,
    Eduardo.

     
  • Halaik32

    Halaik32 - 2019-04-05

    These days it is very affordable to use the SMS marketing because you can easily find a lot of apps and services at very affordable prices. When I was new in to the business, I literally freaked out how to promote the business but my cousin introduced me to the heymarket business text messaging app . This app is just perfect to send the updates to potential customers.

     

    Last edit: Halaik32 2019-04-05

Log in to post a comment.