A phone verification system using Asterisk PBX, Redis, and a Go-based API. It processes incoming calls, logs caller IDs in Redis, and provides an API to check phone numbers.
make env and edit
cp .example.env .envcopy libs
cd docker/asterisk/config/lua
wget https://raw.githubusercontent.com/rxi/log.lua/refs/heads/master/log.lua
wget https://raw.githubusercontent.com/nrk/redis-lua/refs/heads/version-2.0/src/redis.luastart
docker compose --profile api up -dexample API request
curl --location 'http://localhost:8080/api/checkPhone/79126745622' \
--header 'X-API-Key: your_api_key'