Git Product home page Git Product logo

smssync's Introduction

Build Status Join the chat at https://gitter.im/ushahidi/Community

SMSSync

Welcome to "SMSSync", an android application that turns your android powered phone into an SMS gateway.

Read about it at smssync.ushahidi.com.


Settings List Incoming Messages Logs

F-Droid GitHub Playstore

Installation

Installation and configuration details are here.

Development

Documentation for developers can be found here.

Support

Post on our forums

smssync's People

Contributors

aksalj avatar alxndrsn avatar arthurbuliva avatar bergo avatar bitdeli-chef avatar blackcat42 avatar eyedol avatar heatherleson avatar kamilkalfas avatar kkanigowski avatar mandric avatar mblaszkowski avatar olliebennett avatar rafalsliwinski avatar savekirk avatar snkashis avatar sorinpohontu avatar swoertz avatar tobiasquinn avatar vaneyck avatar vorburger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smssync's Issues

Update UI

Use Actionbarsherlock to handle the current actionbar implementation. The benefit with using Actionbarsherlock is, it makes it easier to implement the actionbar for both ICS and pre-releases for Android.

2 SMS's within a few seconds of each other: 1 not picked up into app

Hello,

I received 2 SMS's within a few seconds of each other from the same sender. The second one was picked up by the app, but the first one was not. Closing/restarting the app, synchronizing, etc. did not force the app to pick up this missing message. Is there some concurrency problem where if the app is doing something when a new SMS comes in, it won't pick up the SMS?

Validate Sync URL entry

At the moment, when adding a new Sync URL the input data aren't validated allowing empty strings to be added.

Test button

Could I suggest that there is a way during the setup of the URL process to test it. For example by sending a well defined query to the server that then responded. I am imagining someone in a country disconnected from the server trying to setup the gateway and not knowing if it is set up right, and that a TEST button would be useful .

Maybe the TEST button could send a copy of the settings, and get back feedback ā€¦ For example we will need to make sure the phone is set to Poll the server for outgoing SMS, and I am seeing as a significant failure point being the likelihood that the owner of the Phone sets up the gateway incorrectly and that we are trying to debug this by international phone call from the US for example.

A test button would also help debug the server (something Iā€™m trying to do now) with otherwise no way to generate the JSON calls

Messages failing to disappear from Pending list.

  1. Setup SMSSync to work with http://xxxx.ushahidi.com/smssync using "abcd" as the secret.
  2. I sent a test message and SMSSync forwarded it correctly with no problems.
  3. I then disabled WiFi and GSM data on my phone and sent it another SMS.
  4. They never showed up in the pending list.
  5. When I turned WiFi and GSM data back on and pressed the sync button on the pending page the message was never forwarded to my Ushahidi site. I was suspicious that the problem was that the internet was turned off on my phone as opposed to internet being turned on, but the connection being problematic, so I ran the following tests.
  6. I disabled the SMSSync plugin at xxx.ushahidi.com.
  7. I sent another test message
  8. This message did show up in the pending list on SMSSync.
  9. I then re-activated the SMSSync plugin on http://xxxx.ushahidi.com and pressed the sync button on the pending page and it said the message was successfully sent. However the message never appeared on liberiademo.ushahidi.com.
  10. I repeated 6-9 to make sure this wasn't a one-off error and the same thing happened.
  11. I enabled the SMSSync plugin and sent a message when everything was turned on and working properly and the message was forwarded as expected.

Which commit for v2.0.0

I would like to update this for f-droid to the version that is shown on the playmarket, but I can't find the right commit nor a tag

Incompatible with Galaxy Nexus

On a Galaxy Nexus with ICS (4.0.2) I am not able to configure the SMSSync settings since the menu button is not available. The problem seems to be that 3.0+ devices are not required to have a menu button.

Has anyone found a workaround for such devices?

SMS center

Hi

Would it be possible for you to add when the URL get called, to also include SMS center.

Sent messages keep being posted to Ushahidi.

I keep receiving messages in my Ushahidi inbox that are duplicates of the first two messages I sent using SMS sync.

This continues to happen after deleting the messages from the sent items list.

Ushahidi 2.5
SmsSync 2.0.1

Synced Messages not displayed in "Sent" tab of SMSSync v2.0.0

I set up two sync URLs, with different key words, and sent 3 messages to test. It filtered them out correctly, and sent them out to their respective Sync URLs. However, in my list of sent messages, it only displays two of the messages that were sent to ONE of the sync URLS, and the one sent to the second one isn't listed

Ability to select which sim-card (or number) to receive/send messages through.

I use SMSsync on a dual sim phone (a Samsung galaxy y duos). One number is configured to receive reports and the other is my personal line. I believe I can select which sim my outgoing messages are going through by which sim is active when I start the service. But if I receive a text message, it seems it will be sent to Ushahidi no matter what sim it comes from.

I have can't have all my personal messages go through ushahidi, so I've added a filter word (report) and instructed users in the field to use this word. However, this is not ideal as it adds another step that they have to remember. It would also be nice if I could reply to users who don't use the filter word through the Ushahidi interface, rather than through the phone, so I can better keep track of what communication has happened.

Tool For Generating Web pages

Currently, smssync.ushahidi.com are static pages. This pages are manually written html tags which isn't efficient and is very boring. Automate this process using a script (python perhaps ) and markdown files.

Cannot Send out SMS through Ushahidi - "unable to send sms, perhaps insufficent air time"

After rjmacky fixed the bug in signing up for mobile alerts ushahidi/Ushahidi_Web#895

When I try to sign up for a mobile alert, or try and send out a mobile alert with a recipient created manually in the database, I receive an error similar to
"unable to send sms, perhaps insufficient air time"

This appears momentarily, and there doesn't seem to be another way to explore what happened. No new message appears in the "sent" or "pending" items.

I have checked, and I am not out of airtime, and my regular sms are sending

SMSSync v2.0.1 Beta on Samsung Galaxy Y Dous.
Ushahid 2.5 (slightly modified)
SMSsync plugin 0.8

HTTP server to push SMS

It would be really nice if SMSSync could also act as a mini HTTP server and wait for POST requests itself instead of polling the server for tasks. SMS gateway does that and it's really useful. Your app is so much better (thanks a lot for SMSSync by the way).

Messages sent out through simcard (via task checking) don't appear in sent items list.

It's very difficult to check if my Mobile alerts from Ushahidi are actually working. Because they do not appear in a list anywhere after they are sent. A short message appears that they are being sent, but this is usually when the screen on my phone is off. The only way I have to get any sense that the alerts are going out is by signing myself up for them and receiving the messages on my personal number. This is somewhat impractical.

I think the simplest solution would be to have outgoing messages appear in the sent items list, with a small icon indicating that they went out as an SMS message, rather than being sent to the server via Http.

Feature: Smaller Widget

The current widget takes up too much screen real-estate to be useful for my needs. How about a small one-row that says: how many messages are pending, how many have been sent, and quick link to the app?

SMS Sender number change on import

When keyword filter have some keyword & try to import sms , I note that sometimes the sms sender number change on import, when default message apk have >1 sms & contains any sms which did not match keyword term.

Stuck Message

When a message comes in and the phone does not have net connection, it appears to get stuck in the system, and gets repeatedly sent to the server. Only not at regular intervals.

New messages that get received result in: "Your message sending has failed - perhaps there is an internet connection problem ..."

Possibly related to #12 - only they are getting stuck even when they come widely spaced one at a time.

support callbacks in responses

Hello, I am interested in supporting a callback setting in the json response body for the gateway to make an additional HTTP request after it processes the payload. I'd like to allow the server to specify a callback attribute like below. I'm hoping to be able to chain some requests together:

callback: {
  url: 'http://something.com/path',
  params: {"foo":"bar"},
  method: "POST"
}

Before I embark on supporting this type of functionality I thought I would consult. Let me know if this is something you might find useful or how you might architect something like this, or if it fits.

Also it seems there is some confusion in the current callback term used within the application and docs that refer to a callback URL but it really seems more like a polling URL, or task polling. I would like to support both polling and callbacks, by callback I mean one http call that prompts another by providing a configuration similar to above in the response.

Crashing when receiving high load of messages

Hello, I can replicate a crash on SMSSync in the emulator just by using telnet and sms send with multiple messages (50+) then smsync crashes and I get the Force Quit message from Android (http://cl.ly/image/0F3A3w1p3M2w). I'm using 1.1.9 because i need to support Android 2.x. Here's the trace I get and the point in the code from the trace. Let me know if you have any thoughts on this, thanks!

E/AndroidRuntime(  473): FATAL EXCEPTION: main
E/AndroidRuntime(  473): java.lang.RuntimeException: Unable to start receiver org.addhen.smssync.receivers.SmsReceiver: java.lang.UnsupportedOperationException: Exceeded maximum number of wifi locks
E/AndroidRuntime(  473):    at android.app.ActivityThread.handleReceiver(ActivityThread.java:1805)
E/AndroidRuntime(  473):    at android.app.ActivityThread.access$2400(ActivityThread.java:117)
E/AndroidRuntime(  473):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:981)
E/AndroidRuntime(  473):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  473):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  473):    at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime(  473):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  473):    at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(  473):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime(  473):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime(  473):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(  473): Caused by: java.lang.UnsupportedOperationException: Exceeded maximum number of wifi locks
E/AndroidRuntime(  473):    at android.net.wifi.WifiManager$WifiLock.acquire(WifiManager.java:908)
E/AndroidRuntime(  473):    at org.addhen.smssync.services.SmsReceiverService.beginStartingService(SmsReceiverService.java:477)
E/AndroidRuntime(  473):    at org.addhen.smssync.receivers.SmsReceiver.onReceive(SmsReceiver.java:43)
E/AndroidRuntime(  473):    at android.app.ActivityThread.handleReceiver(ActivityThread.java:1794)
E/AndroidRuntime(  473):    ... 10 more
W/ActivityManager(   61):   Force finishing activity org.addhen.smssync/.MessagesTabActivity
 29 /**
 30  * This class handles SMS broadcast receiver.
 31  * 
 32  * @author eyedol
 33  */
 34 
 35 public class SmsReceiver extends BroadcastReceiver {
 36 
 37     @Override
 38     public void onReceive(Context context, Intent intent) {
 39 
 40         intent.setClass(context, SmsReceiverService.class);
 41         intent.putExtra("result", getResultCode());
 42 
 43         SmsReceiverService.beginStartingService(context, intent);
 44     }
 45 
 46 }

Error when signing up for Mobile alerts

Fatal error: Using $this when not in object context in /home/nepalmon/public_html/application/helpers/alert.php on line 34

When using the Alerts page to sign up for mobile alerts. Any advice?

Incompatible with Galaxy Nexus (Continuation of #18)

Comment below was posted a week ago on closed issue #18, submitting now as new issue:

With the ICS fix in v1.1.10 the app opens and displays in Galaxy Nexus (4.0.2) but it crashes when I try to sync.

Here is what I've noticed, not sure how much of this is related to the feature not being complete, or it being related to the phone:

I can import messages in the Pending view but they are immediately labelled as Failed.

App does not sync with sync button (says "There are no messages to send" and "No pending messages" is displayed overtop of the list of pending messages).

If I hold down on the messages and then sync one of all, the app crashes. This occurs even if the sync url is empty.

I can fill out the Add Sync URL form in the SYNC URL view, but anything I enter there does not get saved. I can still use the traditional Settings menu to Enter The Sync URL.

If i select a message in the Pending view the checkbox does not get checked, but the message text goes from grey to white.

Let me what additional information you would need to figure this out, would be glad to help out in any way possible.

Unreliable Task Check pings to web server URL (using LG Optimus One P500)

We are noticing that the Task Check pings are getting delayed and don't necessarily come to the web server URL regularly. Following is a log of the webserver:

106.76.100.179 - - [26/Jun/2011:17:20:44 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)"
106.76.100.179 - - [26/Jun/2011:17:21:54 +0530] "POST /smsg/ HTTP/1.1" 200 304 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)"
106.76.100.179 - - [26/Jun/2011:17:22:20 +0530] "POST /smsg/ HTTP/1.1" 200 304 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)"
106.76.100.179 - - [26/Jun/2011:17:36:07 +0530] "GET /smsg/?task=send HTTP/1.1" 200 559 "-" "SMSSync-Android/1.0)"
106.76.100.179 - - [26/Jun/2011:17:36:08 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)"
106.76.100.179 - - [26/Jun/2011:17:36:09 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)"

The POST pings are when we are sending test messages to the number that get correctly forwarded to the server. You may notice that the last three task check pings arrived within a second of each other and that they were not received on server for about 15 mins before that period. (We are using the time-period as 5 mins)

Drop the use of ABS Library

At the moment the project is using ActionbarSherlock Library to provide the new actionbar for pre honey-comb devices. Now with the new support library released by AOSP includes supports for those devices. This will eliminate third-party dependency.

Cannot send out SMS Alerts through Ushahidi

I don't know which end this problem is on - Ushahidi or SMS sync. But, I just can't seem to send out SMS, part of the problems is I can't seem to subscribe to Mobile alerts without an error.

I've logged an error on that of Ushahidi. But, if I manually change the my database so that one of my e-mail alerts is an SMS subscriber, and put a test report in that subscribers radius. Nothing is sent.

Can I get any confirmation that Mobile alerts are indeed working with Ushahidi 2.5? And if so, maybe some support?

I'm not strictly a developer, but I'm comfortable with messing around with things in the backend. I just don't know exactly what to look for at this point.

MMS Sync Capability

Besides just sending [from] and [message] with the HTTP POST, it would be nice to read MMS messages too and send the [image] value along too.

task checking not checking?

I can't get the interval task checking to work. It only does the task (GET request) once when I enable it and not thereafter. Is this a known bug? I'm using the 1.1.9 tagged release and trying to debug this.

No authentication in task checking

I know sending a plaintext password in a POST is bad, but it is an incredible improvement over no authentication at all. Until a more secure authentication mechanism is available, task checking should at least have an option to use POST instead of GET, and include both the secret and the device ID in it.

Invalid sent_timestamp

There is an extra '000' appended to the timestamp which seems to be millisecond precision?

array (
'secret' => '',
'from' => '+254123456789',
'message' => 'Apple',
'message_id' => '0',
'sent_timestamp' => ' 1351243327000 ',
'sent_to' => '',
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.