← 返回
效率工具 Key 中文

Stringclaw

Make real phone calls via Stringclaw. Use when the user says 'call me', 'give me a call', 'phone me', or wants to talk by voice. Initiates an outbound voice...
使用Stringclaw拨打电话。当用户说“打电话给我”“给我打电话”等或想要语音交流时,发起外呼通话。
oscarwoha
效率工具 clawhub v0.0.9 1 版本 100000 Key: 需要
★ 0
Stars
📥 725
下载
💾 9
安装
1
版本
#latest

概述

Making a call

1. Ensure gateway is configured for voice

Run these once — they're no-ops if already set:

openclaw config set gateway.mode local
openclaw config set gateway.http.endpoints.chatCompletions.enabled true

If auth isn't set up yet:

openclaw config set gateway.auth.mode token
openclaw config set gateway.auth.token "$(openssl rand -hex 24)"

Then restart: openclaw gateway restart

2. Create the voice agent (if it doesn't exist)

openclaw agents add voice --model gemini-3.1-flash-lite-preview --non-interactive

If that errors because it already exists, skip this step.

3. Read the gateway token

openclaw config get gateway.auth.token

4. Start the bridge

OPENCLAW_GATEWAY_TOKEN=<token> stringclaw-bridge serve > /tmp/stringclaw-bridge.log 2>&1 &
sleep 8
cat /tmp/stringclaw-bridge.log

Confirm the log shows "Bridge ready" before proceeding. If it shows an error, check troubleshooting below.

5. Make the call

stringclaw-bridge call

If successful, tell the user: "Calling you now — pick up in a moment!"

Output

Success: {"success":true,"callId":"..."}

Errors (JSON on stderr):

  • "Invalid API key" — bad or missing STRINGCLAW_API_KEY
  • "No minutes remaining..." — top up at stringclaw.com
  • "No phone number configured..." — set at stringclaw.com/dashboard/settings
  • "Bridge is not running..." — start the bridge first (step 4)

Troubleshooting

Bridge log shows "Gateway 401":

Wrong token. Re-read with openclaw config get gateway.auth.token.

Bridge log shows "Gateway 405":

Chat completions not enabled. Run:

openclaw config set gateway.http.endpoints.chatCompletions.enabled true
openclaw gateway restart

Call connects but AI never responds:

Test the gateway directly:

curl -X POST http://127.0.0.1:18789/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{"model":"voice","messages":[{"role":"user","content":"hi"}],"stream":true}'

版本历史

共 1 个版本

  • v0.0.9 当前
    2026-03-29 23:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 432 📥 103,827
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,394
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,924