惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
量子位
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
D
Docker
罗磊的独立博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
IT之家
IT之家
MyScale Blog
MyScale Blog
Microsoft Azure Blog
Microsoft Azure Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(cli): rewrite voicecall and tighten setup/health wit...
vincentkoc · 2026-05-10 · via Recent Commits to openclaw:main

@@ -1,68 +1,202 @@

11

---

22

summary: "CLI reference for `openclaw voicecall` (voice-call plugin command surface)"

33

read_when:

4-

- You use the voice-call plugin and want the CLI entry points

5-

- You want quick examples for `voicecall setup|smoke|call|continue|dtmf|status|tail|expose`

4+

- You use the voice-call plugin and want every CLI entry point

5+

- You need flag tables and defaults for setup, smoke, call, continue, speak, dtmf, end, status, tail, latency, expose, and start

66

title: "Voicecall"

77

---

8899

# `openclaw voicecall`

101011-

`voicecall` is a plugin-provided command. It only appears if the voice-call plugin is installed and enabled.

11+

`voicecall` is a plugin-provided command. It only appears when the voice-call plugin is installed and enabled.

121213-

When the Gateway is running, operational commands (`call`, `start`,

14-

`continue`, `speak`, `dtmf`, `end`, and `status`) are sent to that Gateway's

15-

voice-call runtime. If no Gateway is reachable, they fall back to a standalone

16-

CLI runtime.

13+

When the Gateway is running, operational commands (`call`, `start`, `continue`, `speak`, `dtmf`, `end`, `status`) are routed to that Gateway's voice-call runtime. If no Gateway is reachable, they fall back to a standalone CLI runtime.

171418-

Primary doc:

15+

## Subcommands

191620-

- Voice-call plugin: [Voice Call](/plugins/voice-call)

17+

```bash

18+

openclaw voicecall setup [--json]

19+

openclaw voicecall smoke [-t <phone>] [--message <text>] [--mode <m>] [--yes] [--json]

20+

openclaw voicecall call -m <text> [-t <phone>] [--mode <m>]

21+

openclaw voicecall start --to <phone> [--message <text>] [--mode <m>]

22+

openclaw voicecall continue --call-id <id> --message <text>

23+

openclaw voicecall speak --call-id <id> --message <text>

24+

openclaw voicecall dtmf --call-id <id> --digits <digits>

25+

openclaw voicecall end --call-id <id>

26+

openclaw voicecall status [--call-id <id>] [--json]

27+

openclaw voicecall tail [--file <path>] [--since <n>] [--poll <ms>]

28+

openclaw voicecall latency [--file <path>] [--last <n>]

29+

openclaw voicecall expose [--mode <m>] [--path <p>] [--port <port>] [--serve-path <p>]

30+

```

31+32+

| Subcommand | Description |

33+

| ---------- | --------------------------------------------------------------- |

34+

| `setup` | Show provider and webhook readiness checks. |

35+

| `smoke` | Run readiness checks; place a live test call only with `--yes`. |

36+

| `call` | Initiate an outbound voice call. |

37+

| `start` | Alias for `call` with `--to` required and `--message` optional. |

38+

| `continue` | Speak a message and wait for the next response. |

39+

| `speak` | Speak a message without waiting for a response. |

40+

| `dtmf` | Send DTMF digits to an active call. |

41+

| `end` | Hang up an active call. |

42+

| `status` | Inspect active calls (or one by `--call-id`). |

43+

| `tail` | Tail `calls.jsonl` (useful during provider tests). |

44+

| `latency` | Summarize turn-latency metrics from `calls.jsonl`. |

45+

| `expose` | Toggle Tailscale serve/funnel for the webhook endpoint. |

46+47+

## Setup and smoke

214822-

## Common commands

49+

### `setup`

50+51+

Prints human-readable readiness checks by default. Pass `--json` for scripts.

23522453

```bash

2554

openclaw voicecall setup

55+

openclaw voicecall setup --json

56+

```

57+58+

### `smoke`

59+60+

Runs the same readiness checks. It will not place a real phone call unless both `--to` and `--yes` are present.

61+62+

| Flag | Default | Description |

63+

| ------------------ | --------------------------------- | --------------------------------------- |

64+

| `-t, --to <phone>` | (none) | Phone number to call for a live smoke. |

65+

| `--message <text>` | `OpenClaw voice call smoke test.` | Message to speak during the smoke call. |

66+

| `--mode <mode>` | `notify` | Call mode: `notify` or `conversation`. |

67+

| `--yes` | `false` | Actually place the live outbound call. |

68+

| `--json` | `false` | Print machine-readable JSON. |

69+70+

```bash

2671

openclaw voicecall smoke

27-

openclaw voicecall status --json

28-

openclaw voicecall status --call-id <id>

29-

openclaw voicecall call --to "+15555550123" --message "Hello" --mode notify

30-

openclaw voicecall continue --call-id <id> --message "Any questions?"

31-

openclaw voicecall dtmf --call-id <id> --digits "ww123456#"

32-

openclaw voicecall end --call-id <id>

72+

openclaw voicecall smoke --to "+15555550123" # dry run

73+

openclaw voicecall smoke --to "+15555550123" --yes # live notify call

3374

```

347535-

`setup` prints human-readable readiness checks by default. Use `--json` for

36-

scripts:

76+

<Note>

77+

For external providers (`twilio`, `telnyx`, `plivo`), `setup` and `smoke` require a public webhook URL from `publicUrl`, a tunnel, or Tailscale exposure. A loopback or private serve fallback is rejected because carriers cannot reach it.

78+

</Note>

79+80+

## Call lifecycle

81+82+

### `call`

83+84+

Initiate an outbound voice call.

85+86+

| Flag | Required | Default | Description |

87+

| ---------------------- | -------- | ----------------- | -------------------------------------------------------------------------- |

88+

| `-m, --message <text>` | yes | (none) | Message to speak when the call connects. |

89+

| `-t, --to <phone>` | no | config `toNumber` | E.164 phone number to call. |

90+

| `--mode <mode>` | no | `conversation` | Call mode: `notify` (hang up after message) or `conversation` (stay open). |

37913892

```bash

39-

openclaw voicecall setup --json

93+

openclaw voicecall call --to "+15555550123" --message "Hello"

94+

openclaw voicecall call -m "Heads up" --mode notify

4095

```

419642-

`status` prints active calls as JSON by default. Pass `--call-id <id>` to inspect

43-

one call.

97+

### `start`

98+99+

Alias for `call` with a different default flag shape.

100+101+

| Flag | Required | Default | Description |

102+

| ------------------ | -------- | -------------- | ---------------------------------------- |

103+

| `--to <phone>` | yes | (none) | Phone number to call. |

104+

| `--message <text>` | no | (none) | Message to speak when the call connects. |

105+

| `--mode <mode>` | no | `conversation` | Call mode: `notify` or `conversation`. |

106+107+

### `continue`

108+109+

Speak a message and wait for a response.

4411045-

For external providers (`twilio`, `telnyx`, `plivo`), setup must resolve a public

46-

webhook URL from `publicUrl`, a tunnel, or Tailscale exposure. A loopback/private

47-

serve fallback is rejected because carriers cannot reach it.

111+

| Flag | Required | Description |

112+

| ------------------ | -------- | ----------------- |

113+

| `--call-id <id>` | yes | Call ID. |

114+

| `--message <text>` | yes | Message to speak. |

4811549-

`smoke` runs the same readiness checks. It will not place a real phone call

50-

unless both `--to` and `--yes` are present:

116+

### `speak`

117+118+

Speak a message without waiting for a response.

119+120+

| Flag | Required | Description |

121+

| ------------------ | -------- | ----------------- |

122+

| `--call-id <id>` | yes | Call ID. |

123+

| `--message <text>` | yes | Message to speak. |

124+125+

### `dtmf`

126+127+

Send DTMF digits to an active call.

128+129+

| Flag | Required | Description |

130+

| ------------------- | -------- | ----------------------------------------- |

131+

| `--call-id <id>` | yes | Call ID. |

132+

| `--digits <digits>` | yes | DTMF digits (e.g. `ww123456#` for waits). |

133+134+

### `end`

135+136+

Hang up an active call.

137+138+

| Flag | Required | Description |

139+

| ---------------- | -------- | ----------- |

140+

| `--call-id <id>` | yes | Call ID. |

141+142+

### `status`

143+144+

Inspect active calls.

145+146+

| Flag | Default | Description |

147+

| ---------------- | ------- | ---------------------------- |

148+

| `--call-id <id>` | (none) | Restrict output to one call. |

149+

| `--json` | `false` | Print machine-readable JSON. |

5115052151

```bash

53-

openclaw voicecall smoke --to "+15555550123" # dry run

54-

openclaw voicecall smoke --to "+15555550123" --yes # live notify call

152+

openclaw voicecall status

153+

openclaw voicecall status --json

154+

openclaw voicecall status --call-id <id>

55155

```

5615657-

## Exposing webhooks (Tailscale)

157+

## Logs and metrics

158+159+

### `tail`

160+161+

Tail the voice-call JSONL log. Prints the last `--since` lines on start, then streams new lines as they are written.

162+163+

| Flag | Default | Description |

164+

| --------------- | -------------------------- | ------------------------------ |

165+

| `--file <path>` | resolved from plugin store | Path to `calls.jsonl`. |

166+

| `--since <n>` | `25` | Lines to print before tailing. |

167+

| `--poll <ms>` | `250` (minimum 50) | Poll interval in milliseconds. |

168+169+

### `latency`

170+171+

Summarize turn-latency and listen-wait metrics from `calls.jsonl`. Output is JSON with `recordsScanned`, `turnLatency`, and `listenWait` summaries.

172+173+

| Flag | Default | Description |

174+

| --------------- | -------------------------- | ------------------------------------ |

175+

| `--file <path>` | resolved from plugin store | Path to `calls.jsonl`. |

176+

| `--last <n>` | `200` (minimum 1) | Number of recent records to analyze. |

177+178+

## Exposing webhooks

179+180+

### `expose`

181+182+

Enable, disable, or change the Tailscale serve/funnel configuration for the voice webhook.

183+184+

| Flag | Default | Description |

185+

| --------------------- | ----------------------------------------- | ----------------------------------------------- |

186+

| `--mode <mode>` | `funnel` | `off`, `serve` (tailnet), or `funnel` (public). |

187+

| `--path <path>` | config `tailscale.path` or `--serve-path` | Tailscale path to expose. |

188+

| `--port <port>` | config `serve.port` or `3334` | Local webhook port. |

189+

| `--serve-path <path>` | config `serve.path` or `/voice/webhook` | Local webhook path. |

5819059191

```bash

60192

openclaw voicecall expose --mode serve

61193

openclaw voicecall expose --mode funnel

62194

openclaw voicecall expose --mode off

63195

```

6419665-

Security note: only expose the webhook endpoint to networks you trust. Prefer Tailscale Serve over Funnel when possible.

197+

<Warning>

198+

Only expose the webhook endpoint to networks you trust. Prefer Tailscale Serve over Funnel when possible.

199+

</Warning>

6620067201

## Related

68202