360 Secure SkillHub
360 安全技能中心

TelCall Twilio

该 Skill 借助 Twilio Voice API 拨打指定号码,并用文本转语音朗读一段消息,适用于服务器宕机告警、安全通知等紧急呼叫,需要 Twilio 账号、已购买的支持语音功能的号码及 SID、Auth Token。setup.sh 把凭据写入本地配置文件,call.sh 读取该配置并发起呼叫;运行依赖 bash、curl 和 jq。

cnvipstar
cnvipstar
热度 69.22
最近更新 2026-05-11 17:26:57
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add telcall-twilio
Metadata
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

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

  1. Visit https://www.twilio.com and sign up
  2. During setup, choose:
    • "With code" (for full API access)
    • "Voice" channel
  3. Bind a credit card (required for production use)

2. Purchase a Phone Number

  1. Go to Phone Numbers → Buy a Number
  2. Select United States (easiest, no address verification needed)
  3. Filter by Voice capability
  4. 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:

  1. Go to Phone Numbers → Verified Caller IDs
  2. Add your phone number
  3. 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:

  1. Verify the destination number in Twilio Console
  2. Upgrade your account ($20) to call any number

Call doesn't go through

  1. Check your Twilio number has Voice capability
  2. Verify your Auth Token is correct
  3. 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.