News for hackers. Stuff that matters.
Re:Android SMS Gateway Using MQTT by ray_v on Friday January 24, 2025 @09:40PM (#42818986)
This seems cool and all, but wouldn't it likely violate ToS of your carrier by doing something like this -- especially if it gets to be of any appreciable scale?
Re:Android SMS Gateway Using MQTT by baobun on Friday January 24, 2025 @10:04PM (#42819087)
Obviously it depends on what you do with it and the terms of your provider and local regulation. Spamming is forbidden if done manually too, you know? So is probably abusing "unlimited" plans with high throughput if you read the fine-print of your contract.

For a personal SMS gateway so you can have mobile network access without having your personal location tracked, it should be fine.

Re:Android SMS Gateway Using MQTT by OptionOfT on Friday January 24, 2025 @11:26PM (#42819490)
I did something like this 10 years ago. I had a 3G modem with a SIM card and it allowed more than the regular SMS app on your phone. Obviously I didn't have a whole app, just a simple CLI.

For example, you could send class 0 SMS (flash) with it. The kind of SMS that shows up on your screen, and all you can do is click OK, and it just disappears.

https://stackoverflow.com/questions/5557135/sending-fullscre...

Re:Android SMS Gateway Using MQTT by jdthedisciple on Saturday January 25, 2025 @03:52AM (#42820433)
Would this still be possible now? Especially sending class 0 SMS?

Or has something fundamentally changed so makes no sense to bother trying

Re:Android SMS Gateway Using MQTT by jjeaff on Saturday January 25, 2025 @02:00PM (#42823702)
It is definitely still possible to receive class 0 sms, because I believe that is what you are getting in the US when you get an amber alert or other emergency warning. As far as I can tell, all US carriers restrict the sending of these to just themselves (or official gov sent through them). Otherwise you can imagine the abuse potential.
Re:Android SMS Gateway Using MQTT by m-a-r-c-e-l on Saturday January 25, 2025 @01:34AM (#42819915)
I did something similar 20 years ago. Setup 4 Nokia phones with 4 SIM cards for the 4 different networks in Germany.

It was possible to connect them via a serial cable to a linux machine and receive/send SMS.

Used that to offer a horse betting service: people could bet on horses via complex SMS syntax. It worked, but never made enough money :)

Re:Android SMS Gateway Using MQTT by defenestrated on Saturday January 25, 2025 @02:24AM (#42820119)
Is there something like this but for calls?

Make your phone into an SIP/VoIP server? So that you can receive and make calls from any/many Internet clients while the Android phone with SIM is plugged in at home.

Re:Android SMS Gateway Using MQTT by GranPC on Saturday January 25, 2025 @06:13AM (#42820958)
This would only be possible on rooted devices, and even then it could take some considerable effort depending on the manufacturer. The way call audio is routed on Android is SoC specific and often a pain to intercept or alter.
Re:Android SMS Gateway Using MQTT by liegon on Saturday January 25, 2025 @07:24AM (#42821215)
Maybe you could use something like Ubuntu Touch and utilize pipewire for the audio routing? Edit: I guess you should be able to use a script to route the call audio through to a Voip client running on Ubuntu and vice versa.
Re:Android SMS Gateway Using MQTT by Nexxxeh on Saturday January 25, 2025 @01:51PM (#42823643)
Like this software? Not that I've seen, but there devices that offer that functionality.

VoIP GSM gateways, sometimes with basic PBX functions, are absolutely a thing. Yealink do some (that I've not used) that act as a SIP registrar, you can basically log SIP clients straight into it.

And there are more heavy duty options that take 16+ SIM cards that are basically a rack-mountable mobile call centre.

Re:Android SMS Gateway Using MQTT by poisonborz on Saturday January 25, 2025 @07:38AM (#42821280)
A popular alternative, also selfhosted: https://github.com/vernu/textbee