I have 2 features that I for sure could use
Small overview of what I use:
Raspberry Pi with a 16-SIM modem connected.
Each time an SMS is received a PHP script is called, SMS details are parsed and processed. So far all is perfect!
But.. Sometimes I would like to add more SIM cards, or replace etc.
What I would like:
- Some sort of eventhandler call that triggers when a SIM is taken out (or not working, etc). And also a call when a SIM is inserted.
That way I can order the modem to send an SMS to another modem, through that process I can automatically collect the MSISDN.
Send an SMS to the new SIM and collect the IMSI too.
- When I have all that data, I would like to automatically create the config file with the updated details (As I use the number = xxxx, I need to update the config).
So, I now have this:
I would like this:
That way I can create the conf for each modem through automated processes. Restart sms3 and be on my way....
I can include 16 confs, 1 for each modem and only update the modem conf when needed.
Hope this makes sense?