mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:40:44 +00:00
fix(voice-call): pace realtime Twilio audio
This commit is contained in:
committed by
Peter Steinberger
parent
19f948af2e
commit
7fc9a82dca
@@ -445,7 +445,7 @@ Enable the Voice Call plugin on the Gateway host, not on the Chrome node:
|
||||
```json5
|
||||
{
|
||||
plugins: {
|
||||
allow: ["google-meet", "voice-call"],
|
||||
allow: ["google-meet", "voice-call", "google"],
|
||||
entries: {
|
||||
"google-meet": {
|
||||
enabled: true,
|
||||
@@ -458,8 +458,24 @@ Enable the Voice Call plugin on the Gateway host, not on the Chrome node:
|
||||
enabled: true,
|
||||
config: {
|
||||
provider: "twilio",
|
||||
inboundPolicy: "allowlist",
|
||||
realtime: {
|
||||
enabled: true,
|
||||
provider: "google",
|
||||
instructions: "Join this Google Meet as an OpenClaw agent. Be brief.",
|
||||
toolPolicy: "safe-read-only",
|
||||
providers: {
|
||||
google: {
|
||||
silenceDurationMs: 500,
|
||||
startSensitivity: "high",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
google: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -472,8 +488,12 @@ secrets out of `openclaw.json`:
|
||||
export TWILIO_ACCOUNT_SID=AC...
|
||||
export TWILIO_AUTH_TOKEN=...
|
||||
export TWILIO_FROM_NUMBER=+15550001234
|
||||
export GEMINI_API_KEY=...
|
||||
```
|
||||
|
||||
Use `realtime.provider: "openai"` with the OpenAI provider plugin and
|
||||
`OPENAI_API_KEY` instead if that is your realtime voice provider.
|
||||
|
||||
Restart or reload the Gateway after enabling `voice-call`; plugin config changes
|
||||
do not appear in an already running Gateway process until it reloads.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user