Python

Check GSM Call

Python script for detecting incoming voice calls from GSM modems, validating caller IDs against an allowed list and triggering custom actions such as SMS or script execution.

A lightweight Python utility for interacting with GSM modems via AT commands. Ideal for home automation, security systems, or any project where an incoming call should trigger a programmatic action.

Features

  1. Detect incoming calls via GSM modem AT interface
  2. Automatically disconnect the call without answering
  3. Extract and validate the caller ID against a permitted numbers list
  4. Trigger custom actions on match: send SMS, run a script, call a webhook
  5. Simple configuration — one file, no heavy dependencies