Skip to content

WebSocket client authenticates but never receives call events (agentic mode) #10

@sene1337

Description

@sene1337

What I expected

After authenticating via WebSocket in agentic mode (v1.2.9), inbound calls should trigger events (context_request, call.started, message/transcription) that the ws-client.js can handle and route to my OpenClaw gateway.

What happened

The WebSocket connection authenticates successfully (auth_ok received), but when calls come in:

  • Zero events are forwarded to the WebSocket client
  • The ClawdTalk server-side agent handles the call directly
  • The caller gets a generic agent with no context (it said it was "pulling Telegram history" but had none)
  • Our ws-client.js logs show only auth_ok — no context_request, no call.started, no transcriptions

Setup

  • Plan: Starter (upgraded from Free)
  • Number: Dedicated number (615) 857-8673 (provisioned today)
  • ws-client.js: Identical to repo main branch (verified via diff)
  • Gateway: OpenClaw running on Mac mini, port 18789
  • Agent: voice agent configured in openclaw.json
  • Connection: WebSocket connects to wss://clawdtalk.com/ws, authenticates with API key

Relevant logs (DEBUG=1)

[2026-02-15T19:36:57.328Z] DEBUG: WS msg: {"type":"auth_ok","user_id":"ddd3fe33-6446-447f-8ea8-539d352c7b42"}
[2026-02-15T19:36:57.329Z] INFO: Authenticated (v1.2.9 agentic mode)

That is the ONLY message received. 4 test calls were made (visible in dashboard as "Calls Made Today: 4"), but no events appeared in the WebSocket log.

Additional context

  • The dashboard shows "Bot Connected" and correctly reports call count
  • PIN is still required even on dedicated number (is this expected?)
  • The voice agent is configured in our gateway and the ws-client correctly discovers it
  • Verified phone number matches the caller (whitelisted + verified)

Environment

  • macOS 15.3.1 (arm64)
  • Node.js v22.22.0
  • OpenClaw gateway on port 18789
  • ws-client.js v1.2.9 (identical to repo main)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions