Get SIPSentinel up and running in minutes.
You'll need accounts with these services:
- Twilio - Phone numbers and webhooks
- VAPI - AI voice agents
- OpenRouter - LLM for scam detection
- AWS - Storage and transcription
git clone https://github.com/michael-bey/SIPSentinel.git
cd SIPSentinel
npm installnpm run setupThe setup wizard will:
- Create your
.envfile - Guide you through service configuration
- Validate your setup
- Create AI agent templates
npm startAccess the dashboard at: http://localhost:3000
curl -X POST http://localhost:3000/test-detection \
-H "Content-Type: application/json" \
-d '{"message": "URGENT: Your Coinbase account compromised. Call 1-800-555-0123"}'curl "http://localhost:3000/test-call?phone=+1234567890&scamType=crypto_exchange"curl "http://localhost:3000/simulate-scam?phone=+1234567890&type=crypto_exchange"npm install -g vercel
vercel --prodnpm install -g netlify-cli
netlify deploy --prodIn your Twilio Console, set these webhook URLs:
Voice URL: https://your-domain.com/voice
SMS URL: https://your-domain.com/sms
Recording Status: https://your-domain.com/recording-status
Transcription: https://your-domain.com/transcription
- Call your Twilio number
- Leave a scam-like voicemail:
"Hello, this is Coinbase security. Your account has been compromised. Please call us back immediately at 1-800-555-0123." - Watch the dashboard for scam detection
- Observe the AI agent callback
- Create webhook at api.slack.com/messaging/webhooks
- Add to
.env:SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK
- Create bot with @BotFather
- Add to
.env:TELEGRAM_BOT_TOKEN=your_bot_token TELEGRAM_CHAT_ID=your_chat_id
Environment variables not set:
npm run validateWebhooks not working:
- Check Twilio Console webhook URLs
- Verify deployment is publicly accessible
- Test webhook endpoints manually
No agents found:
npm run create-agents --allScam detection not working:
- Verify OpenRouter API key
- Check account credits
- Test with known scam phrases
- Explore the Dashboard - Monitor scam detections and agent conversations
- Customize Agents - Modify agent templates for your use case
- Set Up Monitoring - Configure Slack/Telegram notifications
- Review Analytics - Track success metrics and performance
- Scale Up - Add more phone numbers and optimize for volume
- Complete Setup Guide - Detailed configuration
- API Reference - All endpoints documented
- Troubleshooting - Common issues and solutions
- System Architecture - Technical overview
- Start Small - Test with one scam type first
- Monitor Costs - Keep track of API usage across services
- Iterate Agents - Improve agent responses based on performance
- Security First - Never commit API keys to git
- Scale Gradually - Add features and capacity incrementally
Need help? Check the Troubleshooting Guide or create an issue on GitHub.