Outbound Calls
Outbound lets the agent place a Teams call (a call-back), speak a result or hold a conversation, and hang up. It is optional and off unless configured.
Enable it
Section titled “Enable it”"outbound": { "enabled": true, "workerBaseUrl": "https://<your-standin-endpoint>", "tenantId": "<aad-tenant-id>", "answerTimeoutMs": 120000, "defaultMode": "notify"}| Key | Meaning |
|---|---|
outbound.enabled | Turn outbound on. |
outbound.workerBaseUrl | The StandIn outbound API base URL. |
outbound.tenantId | Your AAD tenant id for the callee. |
outbound.answerTimeoutMs | How long to wait for an answer before treating it as no-answer (default 120000). |
outbound.defaultMode | notify (speak the message and hang up) or conversation (stay and talk). |
How a call is placed
Section titled “How a call is placed”The agent triggers an outbound call through its realtime tools. Under the hood the plugin makes an HMAC-signed request to the StandIn outbound API:
- Signature headers
x-openclawteamsbridge-timestamp/x-openclawteamsbridge-signature, signed over"{timestamp}.{userObjectId}"with yoursharedSecret. - The request identifies the callee (
userObjectId) andtenantId; StandIn returns acallId. - Requests are SSRF-guarded.
Once the callee answers, the same per-call WebSocket session begins and the conversation runs exactly like an inbound call.
No answer, voicemail, and cancel
Section titled “No answer, voicemail, and cancel”- If no one answers within
answerTimeoutMs, the attempt is finalized as no-answer / voicemail. - The plugin also best-effort cancels the ringing call so a late pickup does not strand the callee in a dead call.
- A late answer (after the timeout) is declined cleanly.
notify- the agent delivers a message and hangs up. Good for reminders and alerts.conversation- the agent stays on the line for a back-and-forth.
- Outbound needs the same
sharedSecretas inbound - it signs the place-call request. - Set
tenantIdto the callee’s tenant. - Keep
answerTimeoutMsrealistic (people take a few rings); too short causes premature voicemail.