Products/BE Voice/Help

Live transcription to your agent

BE Voice can send what is said on a call to your own system while the call is still going, one finished sentence at a time, each tagged with who said it. Your AI agent can then act before the call ends: look up the customer, prepare a quote, fill in a form.

For developers

The caller and the extension talk through BE Voice, which hears each side separately, turns speech into sentences and posts each signed sentence to your address, where your agent acts on it.
Each sentence arrives at your address a second or two after it is said, tagged with who said it.

What you get

  • Each sentence about 1 to 2 seconds after it is said.
  • Each sentence tagged caller or extension, with the number and, when known, the name. The two sides are heard separately, so the tag is never a guess.
  • One conversation ID for the whole conversation, kept when the call is transferred to another extension you chose.
  • Every event signed with your webhook secret, like the other call events.

Turn it on

  1. Open Settings → Integrations → Call events.
  2. Set the address your system listens on (https, on the public internet).
  3. Tick Live transcription.
  4. Tick the extensions to send. Leave them all unticked to send every extension.
  5. Click Save.

Or through the API:

PATCH /v1/tenants/{your account ID}/settings
{ "events_url": "https://agent.harbourplumbing.example/voice-events",
  "live_transcript": true,
  "live_transcript_extensions": ["101", "102"] }

live_transcript needs an address, or the API answers 422 live_transcript_needs_events_url. An extension that doesn't exist is refused with 422 unknown_extension. Clearing the address turns live transcription off.

Watch it first on the test page

Before you build anything, you can watch the events arrive. Open Settings → Integrations → Call events and click Live transcription test page; it opens in a new tab.

  • The page makes itself your account's call events address. If you already have an address, it asks first.
  • It then shows each call's sentences as they are said, labelled Caller or Extension, with the caller and extension at the top and a line when the call ends.
  • It lists the payloads and the signature check below, too.

Build it into your own app

  1. Make an https address on the public internet that accepts a JSON POST.
  2. Put it in Settings → Integrations → Call events, tick Live transcription and the extensions to send (none ticked sends every extension), and save.
  3. Check the signature on every POST, and refuse any that don't match.
  4. Reply with any 2xx at once. Each event is tried once, with a 5 second limit, so do your own work after replying.
  5. Handle the three events: transcript.started, transcript.line and transcript.ended. The transcript is in data.transcript; use conversation_id and seq to keep each conversation's lines in order.

Live transcription events go only to the call events address, never to a call's callback_url, an AI agent's own webhook or the message webhook.

The three events

They arrive as POSTs to your call events address, with the call's usual fields in data and the transcript in data.transcript.

transcript.started

A chosen extension is now talking to someone.

{
  "id": "evt_0123456789abcdefghjk",
  "type": "transcript.started",
  "created_at": "2026-12-01T03:15:02.120Z",
  "tenant_id": "tnt_harbourplumbing0001",
  "data": {
    "id": "cal_0123456789abcdefghjk",
    "direction": "inbound",
    "from": "+61400000000",
    "to": "+61370000000",
    "status": "in-progress",
    "transcript": {
      "conversation_id": "cal_0123456789abcdefghjk",
      "direction": "inbound",
      "caller": { "number": "+61400000000", "name": "Jo Brown" },
      "extension": { "number": "101", "name": "Alex Smith" },
      "business_number": "+61370000000"
    }
  }
}

transcript.line

One finished sentence.

{
  "id": "evt_1123456789abcdefghjk",
  "type": "transcript.line",
  "created_at": "2026-12-01T03:15:09.480Z",
  "tenant_id": "tnt_harbourplumbing0001",
  "data": {
    "id": "cal_0123456789abcdefghjk",
    "transcript": {
      "conversation_id": "cal_0123456789abcdefghjk",
      "seq": 1,
      "at_sec": 7.4,
      "speaker": "caller",
      "number": "+61400000000",
      "name": "Jo Brown",
      "text": "Hi, I need a quote for a new hot water system."
    }
  }
}

transcript.ended

The conversation is over. It carries every line again, so you can fill a gap if one event didn't reach you.

{
  "id": "evt_2123456789abcdefghjk",
  "type": "transcript.ended",
  "created_at": "2026-12-01T03:19:44.910Z",
  "tenant_id": "tnt_harbourplumbing0001",
  "data": {
    "id": "cal_0123456789abcdefghjk",
    "transcript": {
      "conversation_id": "cal_0123456789abcdefghjk",
      "reason": "hangup",
      "lines": [
        { "seq": 1, "at_sec": 7.4, "speaker": "caller", "number": "+61400000000", "name": "Jo Brown", "text": "Hi, I need a quote for a new hot water system." },
        { "seq": 2, "at_sec": 11.9, "speaker": "extension", "number": "101", "name": "Alex Smith", "text": "Sure, is it gas or electric?" }
      ]
    }
  }
}

reason is one of:

ReasonMeaning
hangupThe call ended.
transferredThe call went to someone whose calls aren't sent, or nobody took it.
transcription_failedSpeech-to-text failed. The call itself carried on normally.

Fields worth knowing

speaker
extension is your person (the extension whose call is being sent). caller is the other party, also when your person placed the call.
seq
1, 2, 3 and so on within the conversation, with no gaps. Use it to put lines in order and to spot a missed one.
at_sec
Seconds since transcript.started.
conversation_id
The ID of the first call. When the call is transferred to another chosen extension, the conversation carries on with the same ID; data.id is then the new call, and later lines from your side carry the new extension's number and name.
name
Left out when we don't know it. A caller's name comes from your shared contact list.

Order and delivery

  • In order. A conversation's events are sent one after another. A slow reply from your address delays that conversation's later events; it never affects the call.
  • Sent once. Each event is tried once, with a 5 second limit. There are no retries yet, which is why transcript.ended repeats every line.
  • Answer quickly. Reply with any 2xx as soon as you have the event, and do your own work afterwards.

Check the signature

Every POST has two headers: X-BE-Voice-Timestamp (Unix seconds) and X-BE-Voice-Signature. The signature is sha256= followed by the hex HMAC-SHA256, keyed with your webhook secret, of the timestamp, a full stop, and the exact body bytes. Refuse a timestamp more than 5 minutes old. Your webhook secret is under Settings → Integrations → Webhook secret; Webhooks explains it in full.

In Node.js:

const crypto = require("crypto");

function verify(secret, headers, rawBody) { // rawBody: a Buffer of the exact bytes received
  const ts = headers["x-be-voice-timestamp"];
  if (!ts || Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
  const want = "sha256=" + crypto.createHmac("sha256", secret).update(ts + ".").update(rawBody).digest("hex");
  const got = headers["x-be-voice-signature"] || "";
  return got.length === want.length && crypto.timingSafeEqual(Buffer.from(got), Buffer.from(want));
}

In Python:

import hashlib, hmac, time

def verify(secret: str, headers, raw_body: bytes) -> bool:
    ts = headers.get("X-BE-Voice-Timestamp", "")
    if not ts.isdigit() or abs(time.time() - int(ts)) > 300:
        return False
    want = "sha256=" + hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(headers.get("X-BE-Voice-Signature", ""), want)

What is never sent

  • Calls on extensions you didn't choose.
  • Anything said while the call is on hold, or while a supervisor is whispering to or has joined the call.
  • Emergency calls (000, 112, 106) and conferences.
  • Conversations with the BE Voice AI agent (those have their own ai.* events). When the agent hands the caller to a chosen extension, the conversation from then on is sent.
  • The rest of a call after a consult transfer (the kind where your person talks to the next person first). A straight transfer carries on.
  • The rest of a call after it is parked and picked up again.

Try it with a real call

  1. Turn it on for one extension, with your address.
  2. Call your business number from a mobile and answer on that extension.
  3. Say a sentence on each side. You should get transcript.started, then a transcript.line for each sentence a second or two after it, and transcript.ended when you hang up.

Related

Still stuck? Contact us and tell us which page you were on.

More on BE Voice BE Voice overview Plans & pricing Business VoIP trunks Click-to-call 2FA voice calls Every call answered. First ring, every time. One voice agent. The phone line, or any app. Careful calling, built in BE Voice Answers from your live data, not a script The calls your team never gets to, made for you. Who answers when your customers call Who makes the calls your team never gets to A complete business phone system, without the box on the wall. Good questions, straight answers AI receptionist cost Overflow call handling Integrations Providers compared Business phone system SIP trunks AI receptionist for clinics 3CX alternative

Hear it answer on your own number before you decide.