Using a USB modem as a SIP line
A USB modem and a SIM are enough for a phone line your PBX can use. Here is how to set one up with simtrunk.
In many places the most reliable phone line is a mobile one. With a USB modem and simtrunk, that SIM becomes a SIP line your phones and PBX can use, with calls, SMS and USSD.
What you need
- A SIM card, with its PIN off or known
- A USB modem, such as a Quectel EC20, EC25, EG25-G or EC200U, or a voice-capable Huawei stick such as the E160
- A computer near the modem: a Raspberry Pi, a Linux PC, a Mac or a Windows PC
- A simtrunk account (the 14-day trial is enough)
1. Make the computer a SIM bank
In the dashboard, go to SIM banks and add a bank. It shows a command, valid once for 10 minutes. Run it on the computer:
simserve enroll st1_… then simserve
simserve enrols the bank, links it to simtrunk and serves every modem plugged in. The bank appears in the dashboard as connected, with the modem in one of its slots.
2. Add a line on the modem
Open the bank, pick the modem’s slot and add a new line. Choose its access method:
- VoLTE: 4G calling over the modem’s LTE connection
- GSM: the modem’s own circuit-switched voice
- VoWiFi: Wi‑Fi calling, where your carrier offers it
3. Ring a phone
Add a SIP user to the line and sign a softphone or desk phone in with it. Call the SIM’s number: the phone rings. To send the line to your PBX instead, add a SIP trunk and route the line to it.
Tips
- Run simserve as a service so it starts with the computer: simserve service install, then simserve service start.
- Plug modems in or out while simserve runs; the dashboard shows the change within seconds.
- Dial *100# from the phone to check the SIM’s balance. The answer comes back as a message.
Blog
Keep reading
Connecting a SIM bank behind a strict firewall
Your office network only lets web traffic out? The bank can link over HTTPS, still end to end encrypted.
Introducing simtrunk: your SIM cards as SIP lines
simtrunk turns the SIM cards you already have into SIP lines in the cloud. Here is what it does and how to start.