this post was submitted on 18 Jul 2025
50 points (94.6% liked)

Selfhosted

59357 readers
1190 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 3 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 24 comments
sorted by: hot top controversial new old
[–] thelittleblackbird@lemmy.world 19 points 10 months 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

[–] bdonvr@thelemmy.club 6 points 10 months ago* (last edited 10 months 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

[–] Onomatopoeia@lemmy.cafe 3 points 10 months 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.

[–] thelittleblackbird@lemmy.world 2 points 10 months 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

[–] MTK@lemmy.world 0 points 10 months 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

[–] thelittleblackbird@lemmy.world 3 points 10 months 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

[–] MTK@lemmy.world 1 points 10 months 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)

[–] iopq@lemmy.world 1 points 10 months ago

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

[–] Im_old@lemmy.world 5 points 10 months 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

[–] MTK@lemmy.world 3 points 10 months 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?

[–] nitrolife@rekabu.ru 5 points 10 months ago* (last edited 10 months 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.

[–] thagoat@lemmy.sdf.org 3 points 10 months ago

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

[–] lemonuri@infosec.pub 3 points 10 months ago (1 children)

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

[–] johntash@eviltoast.org 1 points 10 months ago

Have you used jmp.chat before? It looks pretty interesting at first glance

[–] Tolookah@discuss.tchncs.de 3 points 10 months 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.

[–] MTK@lemmy.world 2 points 10 months ago (2 children)

I have wifi, I don't need data

[–] suzune@ani.social 5 points 10 months ago

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

[–] Tolookah@discuss.tchncs.de 3 points 10 months 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.

[–] MysteriousSophon21@lemmy.world 2 points 10 months ago (1 children)

Check out the GoIP GSM gateways (1/4/8 port options) - they're more reliable than DIY solutions for what your trying to accomplish and let you access SMS/calls via SIP protocols while using actual SIM cards.

[–] MTK@lemmy.world 1 points 10 months ago

Interesting, thanks!

[–] unexposedhazard@discuss.tchncs.de 1 points 10 months ago

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

[–] WeAreAllOne@lemmy.dbzer0.com 1 points 10 months ago
[–] RhondaSandTits@lemmy.sdf.org 1 points 10 months ago

Self hosted matrix server with mautrix-gmessages bridge