This is modified from my SMS Gateway Based Push Notification to turn your android phone as sms gateway
Sending SMS
- You send data to MQTT Server like hivemq
- App will receive message MQTT Server, and route it to sms
- App receive sent notification, and post it to your server
- App receive delivered notification, and post it to your server
RECEIVE SMS
- App receive SMS
- App send it to your server
Download APK from release
you can find backend folder php-gateway for server side in this source
- SENDING SMS
- RECEIVE SMS to SERVER
- SENT NOTIFICATION to SERVER
- DELIVERED NOTIFICATION to SERVER
- USSD
- MULTIPLE SIMCARD
- RETRY SMS FAILED TO SENT 3 TIMES
Not all phone and carrier work with this, this feature need accessibility to read message and auto close USSD dialog, but some device failed to close Dialog, i use samsung S10 Lite and it cannot close dialog
i think not all phone will work too, because of different of API for some OS which vendor has modification
You need to understand how to build android Apps, and compile your own version.
You will see MyObjectBox error, just build it once, it will create automatically, read in here
https://github.com/ibnux/Android-SMS-Gateway/
Permissions
✓ Commercial use
✓ Distribution
✓ Modification
✓ Patent use
✓ Private use
Conditions
License and copyright notice
State changes
Limitations
No Liability
No Trademark use
No Warranty
you can find license file inside folder