sms2tg - Forward SMS messages from a CDMA Modem to Telegram
Forward SMS messages received from a CDMA Modem to Telegram, and much more.
This is a project that “Just Works™”.
Features
- Forward incoming SMS instantly to your Telegram
- Forward incoming call notification to your Telegram
- Send SMS via Telegram Bot commands (buggy)
- Auto-reply incoming call with prerecorded audio
- Local SQLite database for SMS backup
Requirements
- Python 3
- Telegram bot token
Supported Modem Devices
- SIM2000C (tested)
- other CDMA Modems (not tested)
Installation
1 | git clone https://github.com/mbyzhang/sms2tg --depth=1 |
and edit config.json
according to your own configuration, like Telegram Bot API token and Telegram recipient ID.
Run
1 | python3 main.py |
TODO
- DTMF support
- Autoreply on incoming SMS
- Multiple device support
- Forward SMS to Mail, Slack, IRC, etc.
- GSM Modem support
- Forward phone call to Telegram Call