You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e30ef76
Browse filesBrowse the repository at this point in the historyBrowse files
fix: realtime phone calls use the wrong audio format and stay open (#133018)
* fix: realtime phone calls use the wrong audio format and stay open
* test(voice-call): observe provider completion and server cleanup
* fix(voice-call): reject terminal bridges before call adoption
Copy file name to clipboardExpand all lines: docs/plugins/voice-call.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,13 +285,24 @@ Current runtime behavior:
285
285
-`inboundPolicy` must not be `"disabled"` when `realtime.enabled` is true; `validateProviderConfig` rejects that combination.
286
286
- Consult session keys reuse the stored call session when available, then fall back to the configured `sessionScope` (`per-phone` by default, `per-call` for isolated calls, or `main` for the configured agent's main session).
287
287
288
+
<Warning>
289
+
GPT-Live uses agent delegation instead of native function tools. Its current
290
+
Voice Call bridge cannot invoke `openclaw_end_call` or custom `realtime.tools`.
291
+
Use an OpenAI GA realtime model or Google Gemini Live when the call needs those
292
+
controls; selecting GPT-Live does not make them available through delegation.
293
+
</Warning>
294
+
288
295
### Hangup detection
289
296
290
297
Realtime calls normally end when the carrier sends a stream stop event or closes
291
298
the media WebSocket. If an intermediary does not promptly forward that close,
292
299
OpenClaw treats 30 seconds without inbound media as a disconnect, waits a
293
300
2-second grace period for media to resume, and then ends the call.
294
301
302
+
If the realtime provider ends its session first, OpenClaw also ends the carrier
303
+
call, including when the provider reports a normal close. This prevents a silent
304
+
phone connection from remaining open after its voice session has finished.
305
+
295
306
The realtime model can also call `openclaw_end_call` when the caller asks to
296
307
hang up. The model must speak any final words before calling the tool: a
297
308
successful call ends the current provider session and phone connection
0 commit comments