this post was submitted on 18 Jul 2025
46 points (100.0% liked)

Selfhosted

49590 readers
494 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I am tired of paying for roaming, of being location tracked by my provider and running out of SIM slots.

So I have decided to connect some SIM capabilities to my server and set it up as a sort of proxy that I could access over the internet to send regular SMS and make regular calls through the server.

As far as I can tell it seems to be really complicated to do in linux and I just couldn't find anyway that would actually support sound over calls.

The only solutions I found right now are to get an old phone (not ideal because of the price, battery and reliability) or use something like

https://www.makerfabs.com/maduino-zero-4g-lte-sim7600.html

Which can be connected to the server on the aux and serial ports. This is not too pricey but still seems like a bit much for my needs.

My question is, are there better ways? Really all I need is SMS and calls.

top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 46 minutes ago

If you are on the usa or Canada, you can use jmp.chat as an alternative. It provides a phone number via the xmpp protocol. It might be possible to set up on your own server as well, have a look here:

https://jmp.chat/faq

[–] [email protected] 18 points 1 day ago (2 children)

What you need is a sip server / interface for making VoIP call through internet, there are many implementations and servers, selfhosted and paid. Pick up one you like.

Please, be aware that the quality of the voice call depends and a lot of the data rate. Keep this in mind uif you are in remote locations with poor coverage.

It is always recommended the asterisk + the freepbx for the gui. Please be aware that I don't have experience with those systems

[–] [email protected] 5 points 1 day ago* (last edited 23 hours ago) (2 children)

Please, be aware that the quality of the voice call depends and a lot of the data rate. Keep this in mind uif you are in remote locations with poor coverage.

Nowadays most cell calls are VoIP anyhow. Heck in the US they shut off the old networks and only allow VoLTE/Vo5G

[–] [email protected] 2 points 20 hours ago

Good point! I totally forgot that.

But if I am able to recall correctly the QoS for the VoLTE and just regular data is totally different and the antenna may refused to provide you enough data for a non-prior service

[–] [email protected] 2 points 22 hours ago

Yea, buts that very different than software VOIP.

I know this first hand by having VOIP-only voice on my phone via a service using Monocles Chat or Cheogram.

Voice calls via my cell plan are much better quality and more consistent than VOIP via an app. I suspect this is because voice calls over 4G/5G are encoded by hardware.

Even Google Voice for calls is pretty awful, which is why I've never paid to use it for voice calls.

[–] [email protected] 1 points 1 day ago (1 children)

I need it to be my number and to not be flagged as a bot, so commercial voip is a no go

[–] [email protected] 3 points 21 hours ago (2 children)

???

There are a lot of reputable VoIP companies, my employer right now uses them and we never faced a problem. But makes sure it is reputable ;)

And you could also port your number so to all effects it is your number.

I don't know, I still believe it is the easiest way forward. But in the end it is your call

[–] [email protected] 1 points 14 hours ago

For example, it's impossible to link Zelle to a VoIP number, you can only use email

[–] [email protected] 1 points 20 hours ago

I have heard of situations where companies refuse voip numbers for authentication or critical services, and i can't risk my number getting flagged as it is sadly a critical part of your online identity these days (fucking hate that)

[–] [email protected] 5 points 1 day ago* (last edited 1 day ago)

The only way to connect the SIM number directly is to hack the VoWiFi protocol, but this is not trivial and you still need to install the SIM in the server.

Option 2 - Buy a home SIP2GSM gateway. But it's quite expensive (by the standards of my region anyway). SMS work with SMPP, calls work too. For goIP I wrote telegram SMS gateway if you interesting: https://github.com/lifespirit/telegram-smpp-bot

Or use SIP providers from your region/operators that support SIP connectivity and then enable full calls redirection. For calls ok.

UPD: or just use VoWiFi from mobile phone. But you need sim slot in phone.

Anyway in all another way you need install asterisk/freeswitch and write config fot it. And linphone client.

[–] [email protected] 5 points 1 day ago (1 children)

I suspect what you are looking for is a gsm gateway. There are many standalone implementations, some ready made, some a bit more DIY

[–] [email protected] 3 points 1 day ago (1 children)

I tried looking for that, all I found were pricey enterprise level stuff, small ones that only support 2g (dying protocol), and ones that have a cloud service and not self-hosted. Do you know of anything else?

[–] [email protected] 3 points 1 day ago

Linphone and a cheap plan from voip.ms might be an acceptable solution.

[–] [email protected] 3 points 1 day ago (1 children)

The problem is that if you want to offload SMS and voice, you're going to be using data to do it. Whatever roaming fees will probably still apply.

[–] [email protected] 3 points 1 day ago (2 children)

I have wifi, I don't need data

[–] [email protected] 5 points 1 day ago

In that case, just use VPN software like Wireguard. You can reroute everything through your home setup.

[–] [email protected] 3 points 1 day ago

So you're looking for a self hosted VoIP and SMS solution. Google voice does let you send SMS over Wi-Fi, but it's not self hosted.

[–] [email protected] 1 points 1 day ago

For SMS KDE connect + VPN into your home network should work. Remote calls is a tough one tho.

[–] [email protected] 1 points 1 day ago