简介
通过 Twilio API 实现紧急电话语音播报,适用于服务器宕机告警、安全通知等自动化场景,支持多语言 TTS,配置简单。
原始描述
Make emergency phone calls via Twilio. Use when you need to call someone and play a voice message programmatically (e.g., server down alerts, security notifi...
通过你的 Agent 添加
安装目录:telcall-twilio/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: telcall-twilio description: Make emergency phone calls via Twilio. Use when you need to call someone and play a voice message programmatically (e.g., server down alerts, security notifications). metadata: { "openclaw": { "requires": { "bins": ["curl", "jq"] }, }, }
TelCall Twilio - Emergency Phone Calls
Make phone calls that speak a message to the recipient using Twilio's Voice API.
Author
- Name: Micheal Sun
- Email: laosun1985@gmail.com
- X: https://x.com/pingfanbufan
- GitHub: https://github.com/cnvipstar
Features
- Make phone calls via Twilio API
- Text-to-speech message delivery (supports multiple languages)
- Simple configuration
- Easy integration with OpenClaw
Prerequisites
1. Twilio Account
- Visit https://www.twilio.com and sign up
- During setup, choose:
- "With code" (for full API access)
- "Voice" channel
- Bind a credit card (required for production use)
2. Purchase a Phone Number
- Go to Phone Numbers → Buy a Number
- Select United States (easiest, no address verification needed)
- Filter by Voice capability
- Purchase a local number (~$1/month)
3. Get Your Credentials
From the Twilio Console homepage, copy:
- Account SID (starts with
AC...) - Auth Token (click to reveal)
4. Verify Your Phone Number (Trial Accounts)
Trial accounts can only call verified numbers:
- Go to Phone Numbers → Verified Caller IDs
- Add your phone number
- Complete verification via SMS or voice call
Note: Upgrade your account ($20 minimum) to call any number without verification.
Setup
Run the setup script to configure your Twilio credentials:
bash ~/.openclaw/workspace/telcall-twilio/scripts/setup.sh
You will be prompted to enter:
- Account SID
- Auth Token
- Twilio phone number (e.g.,
+15551234567) - Your phone number (e.g.,
+8613812345678)
Usage
Basic Call
bash ~/.openclaw/workspace/telcall-twilio/scripts/call.sh "Your message here"
With OpenClaw
Simply tell your assistant:
- "Call me: Server is down!"
- "Emergency call: Security breach detected"
The assistant will use this skill to make the call.
Cost
| Item | Price |
|---|---|
| US Phone Number | ~$1/month |
| Call to most countries | ~$0.02-0.15/min |
| Text-to-speech | Free (TwiML) |
Estimated monthly cost: $2-5 for occasional emergency calls.
Troubleshooting
"Number is unverified"
Your account is in trial mode. Either:
- Verify the destination number in Twilio Console
- Upgrade your account ($20) to call any number
Call doesn't go through
- Check your Twilio number has Voice capability
- Verify your Auth Token is correct
- Ensure you have account balance
Files
telcall-twilio/
├── SKILL.md # This file
├── scripts/
│ ├── setup.sh # Configure credentials
│ └── call.sh # Make a phone call
└── config/
└── twilio.json # Credentials (created by setup.sh)
License
MIT License - Feel free to use and modify.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。