Comments (6)
The current behavior is for EnvayaSMS to ignore duplicate IDs for outgoing messages that have not been sent yet. After a message is sent, EnvayaSMS notifies the server via a action=send_status request. When the server receives an action=send_status request with status=sent, the server should remove the outgoing SMS from its queue so that future calls to action=outgoing don't return that SMS message anymore. Is it possible to do that for your implementation?
from envayasms.
We do honor the "send_status" given by EnvayaSMS and update our status accordingly. Duplicated seeding from our server in this case isn't really an issue - as we have marked all the message once EnvayaSMS has polled them.
However, the server will reseed the same SMS when the "send_status" didn't reach the server for a period of time - to ensure the message has indeed relayed to EnvayaSMS.
That is why we would like to make sure EnvayaSMS to ignore these duplicate seeding if the SMS is already in the queue for whatever reason.
So it seems such handling is already in place.....
from envayasms.
OK that makes sense. I think instead of having an arbitrary time limit, it should just ignore all duplicate message IDs until EnvayaSMS restarts or the server URL changes.
from envayasms.
You scare me...
If you keep track of all the message IDs, aren't that going to occupied some resources?
But again, most Android phone has plenty of storage space anyway.
from envayasms.
Yeah, I guess it would be better if they expire eventually to avoid filling up the phone memory in case the app stays running for several months.
from envayasms.
Implemented in c18a28b (2.0.4); avoids sending message if server ID among last 100 SMS messages that were successfully sent.
from envayasms.
Related Issues (20)
- force quitting after phone receives MMS HOT 8
- MMS messages not forwarded HOT 13
- Signature check fails if Server URL is domain with no trailing slash
- double sim card HOT 3
- errors when sending sms (in arabic)
- MMS results in invalid password
- Invalid response type text/xml or html HOT 2
- Problem running envayaSMS apk
- Question - Why org.apache.http.client.HttpClient instead of android.net.http.AndroidHttpClient?
- Crash Report
- Configuration Problem
- httpserver.php file missing
- Beginner Issue HOT 2
- expansion packs code HOT 3
- Empty MMS files posted HOT 2
- Server receiving blank post request HOT 2
- Application Not Responding (ANR) issue... HOT 1
- WHat is AMQP? HOT 1
- cloudamqp and EnvayaSMS HOT 1
- Can't manage to make extension packs working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envayasms.