These arrows are not in the typical FrontlineSMS process, and represent an external source, which interacts with the HTTP Trigger.
To sum up this diagram, let's see this very simply:
- You configure your port and start to "listen". Here, we use "listen", as this is an active sleep. The HTTP Trigger is silent, but is paying attention on what is happening on the "website".
- Then every time something happens, the HTTP Trigger "wakes up" and deal with the request.
- Let's say you want to send an sms, and you've configured the port 8080, you can go on:
For example, if you want to use the Test Number, just reach this address:
http://localhost:8080/send/sms/000/This is a test!/
By reaching this page, you now take the place of the "Application" entity on the diagram, as you formulate an HTTP request which is going to be "heard" by the Trigger.
When checking your messages, you should see that the message has been sent.
If your host allows you to run Java programs, then you would be able to run FrontlineSMS. It won't be a simple thing to do though, as this isn't really want FrontlineSMS is designed for. Also, how will you plug a phone into your host's server?
Maybe what you want is a server running on a local machine which forwards messages to the web server?
I'm planning to create a website that allows people to send SMS using my website. My question is how would I connect FLSMS when my server is running on the Internet while FLSMS is running on my local machine. My website is being hosted using hostGator.
I already know how to work on HTTP Trigger.
Just to understand fully what I'm planning on my site, I will show you use cases.
1. A person will use my website to text his/her SMS to someone.
2. The message will now be processed using FLSMS which is located on my local server.
it is possible to make your website reach your local machine and trigger a message via the HTTP trigger, but it won't be really convenient, as you'll have to have a fix IP address or a static dns set up.
I guess you can understand we can't cover this on this forum, as it is just a network set up you'd have to go through.
If you really want to do this, I invite you to read on Internet Protocol (IP), DNS, and visit this page, which might help you : http://www.dyndns.com/.
when I say "not convenient", it's mainly 'cause it needs a network configuration to make it work, as it is an advanced feature. (Our help page stipulates this: "Please bear in mind that this is an advanced feature of FrontlineSMS, and is generally reserved for experienced software developers").
But the HTTP Trigger is absolutely able to be reached from the outside when you set up the configuration properly.
Beyond the wiki and blog posts on the Ushahidi website, do you know if there are any more detailed instructions on how to make Frontline and Ushahidi work together?
I have followed all of the steps from here and have sent messages to my Frontline system which is using the keyword and nothing happens in the dashboard of our Ushahidi installation. In the keywords tab of Frontline, it shows that the keyword with HTTP Request action is live and it shows the number of hits (messages I've sent to test this out).
With reference to this:
"- Let's say you want to send an sms, and you've configured the port 8080, you can go on:"
Does the port here refer to the one that appears in the phones tab? In our case, out GSM modem is connected on COM11 so I have typed in "11" in the HTTP Trigger and pushed start to start listening. Is there anything else that I need to do? I am positive that the laptop is connected to the web so that shouldn't be the problem. Thanks for your help.