CLI 命令
语音通话
openclaw voicecall
voicecall 是一个由插件提供的命令。只有在安装并启用语音通话插件时才会出现。
当 Gateway 网关正在运行时,操作命令(call、start、
continue、speak、dtmf、end 和 status)会发送到该 Gateway 网关的
语音通话运行时。如果无法访问任何 Gateway 网关,它们会回退到独立
CLI 运行时。
主要文档:
- 语音通话插件:语音通话
常用命令
openclaw voicecall setup
openclaw voicecall smoke
openclaw voicecall status --json
openclaw voicecall status --call-id <id>
openclaw voicecall call --to "+15555550123" --message "Hello" --mode notify
openclaw voicecall continue --call-id <id> --message "Any questions?"
openclaw voicecall dtmf --call-id <id> --digits "ww123456#"
openclaw voicecall end --call-id <id>
setup 默认打印便于人工阅读的就绪检查。脚本请使用 --json:
openclaw voicecall setup --json
status 默认以 JSON 打印活跃通话。传入 --call-id <id> 可检查
某一次通话。
对于外部提供商(twilio、telnyx、plivo),设置必须从 publicUrl、隧道或 Tailscale 暴露解析出公开的
webhook URL。loopback/private serve 回退会被拒绝,因为运营商无法访问它。
smoke 会运行同样的就绪检查。除非同时提供 --to 和 --yes,否则不会拨打真实电话:
openclaw voicecall smoke --to "+15555550123" # dry run
openclaw voicecall smoke --to "+15555550123" --yes # live notify call
暴露 webhooks(Tailscale)
openclaw voicecall expose --mode serve
openclaw voicecall expose --mode funnel
openclaw voicecall expose --mode off
安全注意事项:只将 webhook 端点暴露给你信任的网络。可行时优先使用 Tailscale Serve,而不是 Funnel。