Check GSM call, from GSM Modem device, validate Caller ID and deploy some action.
This script, written in Python, allows you to interact with a GSM modem with AT commands, in order to:
- Detect incoming voice calls;
- Hang up the incoming voice call;
- Check the caller_id of the origin of the voice call;
- Validate if the caller_id is allowed, using the numbers in the numbers_permited.txt file;
- If the caller_id is allowed, then perform the desired action (eg send SMS, run a program, run a script, call an entry controller, etc ....)
- ATCOM (pip3 install atcom)