Git Product home page Git Product logo

envayasms's People

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

envayasms's Issues

inconsistent X-Request-Signature at the API page

On the following page:
http://sms.envaya.org/serverapi/

About the X-Request-Signature generation:

"X-Request-Signature" ::=
A signature of the request to verify the phone and the server share the same password. (This doesn't protect against MITM snooping or replay attacks, so it is recommended to use the https:// protocol.)

The signature is calculated by the following algorithm:
Sort all POST parameters, not including file uploads, by the name of the field (in the usual ASCII order).
Generate an input string by concatenating:
the server URL,
each of the sorted POST parameters with their corresponding values, and
the password,
with a comma in between each element, like so:
",,,<...>,,,"
Generate the SHA-1 hash of the input string in UTF-8

Encode the SHA-1 hash using Base64 with no line breaks.

According to the Javascript in EnvayaSMS request simulator:
https://raw.github.com/youngj/EnvayaSMS/master/server/php/example/www/test.html

The name/value pair is actually done in the following format instead, which is contradicting with the document:
=

(using = instead of ,)

So the whole line should be written as:
",=,<...>,=,"

We have managed to code the server to authenticate with the simulator generated signature, but unfortunately not with the actual EnvayaSMS client running at the phone.

Not even if we changed the server to construct the signature based on , pair also.

expansion packs code

Hi, expansion packs project code is also available... where can i find it?

Thanks!

Server receiving blank post request

I'm getting an issue where my hosting provider is blocking the IP the phone running envayasms on saying that it is sending blank post requests, anyone have any ideas why?

MMS security bug and Test bug

First of all, THANKS fro the nice app, and the everything we need to use this nice app..

Well, when I send a MMS to my PHP server, I cant get pass the security check.
It looks like it puts all the mms_part stuff, in the security calculater.

And when I run a Test Connection, it sents a incomming action...

Keep it up, and let me know if I can do anything..

Cheers...

Bjørn

errors when sending sms (in arabic)

i had this matter :

[19-Apr-2012 10:19:11] message 31111_0026_906231946 status: failed
[19-Apr-2012 10:21:05] message 31111_0026_906231946 status: sent
[19-Apr-2012 10:21:05] PHP Warning: unlink(EnvayaSMS3/server/php/example/outgoing_sms/31111/31111_0026_906231946.json): No such file or directory in EnvayaSMS3/server/php/example/www/index.php on line 378

now i reduced the number of sms sent to 10 by minute that solved this matter,

if you had same matter can you share your experience.

Can't manage to make extension packs working

How to install extension pack?
When i install apk extension pack it Saïd it's done but i still can't send more than 100 SMS/hour...
Anybody knows how WE should install it ?

user-configurable list of phone numbers to exclude

Would be useful to have something that's the opposite of the test mode phone numbers, where SMS from particular numbers (e.g. notifications from the mobile network) is delivered into the normal Messaging inbox and not forwarded to the server. Currently KalSMS is hardcoded to do this for all senders with less than 7 digits in their number.

poll timeout increase for near realtime outgoing delivery

I would like to suggest a method that we are using at http level to achieve "near instant" of message delivery between server and client where the client can only pull the server for incoming message -- browser based chat system for example -- which is very similar to what EnvayaSMS doing now to get message from server.

When the client (the browser or EnvayaSMS) connect to the server via http, instead of giving it a short timeout of couple seconds, it should wait for a pre-defined period of time before dropping off the socket (40 seconds seems a magic number, the desktop browser would wait like forever).

The server holds the connection and continue to lookup up for new message for the client during the "hold-on" time - for a pre-defined period of time as well (again, 40 seconds is the magic number).

The server will return empty and end the http session if there isn't any new outgoing SMS (just like a usual outgoing call).
However, if these IS new outgoing SMS incur during the hold-on period, the server will immediately respond with proper XML and end the http session (again, just like a usual outgoing call).

By doing so, we believed message can be relayed more efficiently without tapping more on the service/client resources.

What EnvayaSMS needs:

  • Configurable "outgoing" query timeout.
  • Poll interval can be as intense as 1 second (delay between queries) - provided timeout has increased.

I can see some troubles implement this if the "incoming" or "send_status" query are running in serial with the "outgoing" instead of independent thread.

Beginner Issue

Can you have a sample codes for developer(beginner) from below functionalit(ies):
C# or VB.Net

  1. how to send;
  2. how to read message;
  3. etc.

Crash Report

when new messages are received the app is regularly crashes in infinite loop .

Problem running envayaSMS apk

I'm using samsung tablet and i have installd envayaSMS apk.Its showing unfortunate stop while im running the apk and going to seetings.Please suggest me solutions for this ASAP....

send app logs to server

For remote debugging, it would be helpful for the app to have a way to send its logs to the server either manually or automatically. Or perhaps send to an email address.

Invalid response type text/xml or html

I have these error on application log when it checking messages.
I also use only these code as server URL/sms.php only outgoing sms

require_once "config.php";
require_once "EnvayaSMS.php";
//$request = EnvayaSMS::get_request();

header("Content-Type: text/xml");

$porr = new EnvayaSMS_OutgoingMessage();
$porr->id = $idall;
$porr->to = $_POST['mobile'];
$porr->message = $_POST['message'];
$porr->type= 'sms';

USSD gateway

Android does not currently have an API for retreiving USSD replies but perhaps it would be possible to receive USSD replies by calling internal functions via reflection. Would be useful for mobile banking as well as checking/refilling mobile account balance.

MMS results in invalid password

I have EnvayaSMS 3.0.1 and the latest EnvayaSMS.php from Github. I have it sending all incoming sms to gateway.php

I have gateway.php working fine - it sends a response SMS back to me saying what I initially texted.

When I send an MMS though - in the EnvayaSMS app it says:

New MMS id=xx in inbox
Reveived MMS
Real-time connection disabled
Invalid password
1st failure; Retry in 20 seconds

Tried putting some debug logs in the gateway.php script - but it just shows that it doesn't even get that far.

What about a TAG function?

It would be nice, if it has a TAG or "campaign" function if you will.
So it takes out the first word before the first "space" and adds it to the POST string..
Like this:
Vote Lady Gaga
or
MSG bla bla bla...

Hope you can see the idear..

Cheers...

double sim card

hello
i try envayaSMS with double sim card phone (samsung duos) it work fine but how to add 2 different numbers in the settings ?

add filter for sender phone numbers for testing

For testing KalSMS, it would be useful to have a setting that allows users to forward only messages from particular sender numbers, and allow other messages to go into the normal messaging inbox.

cloudamqp and EnvayaSMS

Hi there,

I am looking to a solution to be able to get SMS messages using API, once i got SMS to my android phone i could be easily get it in my php app or phyton app,

i though how we can send SMSs received to phone using EnvayaSMS and cloudamqp.com which have free plan to test,
anybody can help me find a solution?

How to get approved?

Im sorry for this question, but Im a bit rusty on the PHP..

But how or can I get "approved" when I call the page from a normal browser to read out the messages i stored in a mySQL base?

// Cheers

add MMS support

it should be possible by handling WAP push notifications...

is there a plan to support dual SIM's phone?

It is kind of ironic that we can get dual SIM's android phones cheaper than the single SIM at this part of the planet.
I hope this is not too much to ask.

Forget about it if you have to move the mountain and the sea to achieve it...

Getting incoming call events, and caller ID

Wondering if the incoming call and phone number is available at the Android API? It would be pretty useful for EnavaSMS to report back those events as the phone is usually running unattended.

Application Not Responding (ANR) issue...

Anyone experiencing ANR?

When sending hundreds of SMS, sometimes, and only sometimes, the app crashes and stays not responsive ... even clicking in wait button in ANR dialog, the app is still not responsive, and i can't even disable the service... can't go the menu to disable envaya sms. So, when this happens, the only solution is to go to the android applications list in the system configuration and stop the app...

Any idea why is this happening... it seems that there's something that is blocking the UI Thread... but by design it shouldn't...

Thanks!

CharSet error..

Hi again..

Just had a new error... I cant get pass the security check, when I get a message with danish chars in it.. (ISO 8859-10)
Getting some weird symbols, and access denied...

Cheers..

// Bjørn

Expansion packs

I'm hitting the expansion pack limits. Any chance you can post additional expansion packs, or maybe instructions on how to create them?

Or point me to where they are in case I'm missing something. Thanks!

ignoring duplicated message ID in a period of time

At the moment, EnvayaSMS will send ANY SMS grabbed from the server, even if it is duplicated (with the same ID seeded before).
Might need a short term tracking on these IDs (say for 10 minutes) and ignore SMS with the same ID.
This is to prevent the server reseeding the same ID due to network interruption or any transmission issue.

Empty MMS files posted

We've been trying to use Envaya to post MMS files onto a server but all image file sizes are zero. SMIL files appear ok. Below is a print out of the $_FILES array we're receiving from the App.

Android 5.1
HTC Desire 626

`
(
[part0] => Array
(
[name] => smil.xml
[type] => application/smil
[tmp_name] => /tmp/phph7vfqn
[error] => 0
[size] => 259
)

[part1] => Array
    (
        [name] => image000000.jpg
        [type] => image/jpeg
        [tmp_name] => /tmp/phpq3EhVv
        [error] => 0
        [size] => 0
    )

)
`

Would really appreciate any help.

MMS messages not forwarded

MMS message is not forwarded,

logs indicate:
Failed to authenticate to server
(Phone number and password may be incorect)

Forwarding SMS messages however works fine.

Forwarding retries are also unsuccessful from the "Pending Messages" selection of the app.

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.