Hacker News new | ask | show | jobs
by tangoalpha 1767 days ago
I had once run a campaign where we had published a number, and we had to collect all responses to an advertisement sent to that number, to be pushed to a web system.

Didn't buy one of those phone numbers from an SMS API. Had good success with Tasker Android app.

https://play.google.com/store/apps/details?id=net.dinglisch....

(This was in 2012-13. Not sure if Tasker can do these things today what it could do in 2012, due to increased security limitations in Android)

Had a rule configured in Tasker to call a HTTP end point with the sender details. received timestamp and the text message content, whenever a message was received on the android phone.

Didn't have to write any code and could get it done in the Tasker app UI, as it had all the variables/tokens available and I just had to form the endpoint link to be pinged with those variables in the request.

A similar thing might be possible with Tasker or similar apps to do the other way round (ie, having the phone send an SMS via mobile network in response to a ping from another device on the wifi network)

1 comments

Heh. That sounds very familiar. In my IT department, about the same time, we wanted MFA on our admin accounts for services and generally SMS was the only way to do it. But how do you SMS MFA for a team of 5 or 10 people? Well, we used an android phone velcro'd to the wall running tasker and some custom server side scripts.

Even though we could have used Twilio, we chose to do it this way because a lot of services filtered for VOIP numbers and refused to setup MFA on them. So we needed a real honest-to-god number which was extremely annoying.

Team member wrote up a short blog entry about it: https://obviate.io/2015/04/16/making-of-the-mfa-phone-becaus...