Asterisk+dongle Nix-application initiative

Hi. After taking a close look at Moscow-style digital gulag this summer, I’ve decided to invest some efforts into becoming familiar with mobile network software stack. The project below aims at encoding the bundle of software required for relaying SMS messages and voice calls.

At this point, I think that I do know how to relay SMS messages and answer the calls, so it all more works now than not)

The project is a proof-of-concept: Right now I don’t have any plans of integratiing it into NixOS. Some hand-work is required to operate the system, plus I find it troublesome to get the compatible GSM modem (got to check 3 or 4 of them, from different vendors). I’m trying to keep the most important points in the Readme.

BR

5 Likes

Asterisk+dongle initiative has reached it’s first goal: The application is now able to forward SMS messages received by the GSM modem to the Telegram client.

2 Likes

Dear all. I’m glad to announce that Asterisk+dongle project now contains shiny new GSM->Telegram relay. It works both for incoming SMS and Voice calls.

We also include good old Lenny to amuse telemarketers!

(Beware of it’s insecurities)

1 Like

Who is currently using this? What is your feedback? Any negatives?

I’d like to put my “main sim-card” in my homeserver and use a “random data sim-card” in my phone.
I’d record all calls on the server.

In the future I might want to have multiple extra sim-cards in the server to receive 2fa sms codes. 1 sim / 2fa service.

Only me(?) to the best of my knowledge. The telegram voice-calls branch gone broken due to unsupported libs, but the rest seems to work, I use linphone -> asterisk -> gsm to make local calls from abroad. And I’ve managed to compile it for RaspberryPi recently. The whole setup works in a private vpn in my case.

1 Like

Is there any hardware you would recommend?

I guess you tested and use: Huawei E173

Sadly, Last year my country phased out 3G.

I found this: GitHub - IchthysMaranatha/asterisk-chan-quectel: Asterisk channel driver for Quectel and Simcom modules, works with Asterisk-13+

Hopefully I can dedicate some time next month to read your code and read up on asterisk & 4g.

Is there any hardware you would recommend?
I guess you tested and use: Huawei E173

Correct, I use this model. Recently bought a few additional items of it.
But it is just because it was the first one I found working. I think other compatible devices should work too.

I found this: GitHub - IchthysMaranatha/asterisk-chan-quectel

I use a specific Asterisk chan driver supporting a variety of old devices, this one: GitHub - wdoekes/asterisk-chan-dongle: chan_dongle channel driver for Huawei UMTS cards, works with Asterisk 14+ The link you provided seems to be an alternative driver. More work would probably be required to support it. At least - writing new config and wiring it to the main Asterisk config somewhere here. Let me know about your investigation and progress!

1 Like