Skip to content
Telephony

Listen to phone calls as they happen

Add one line to your Twilio number’s TwiML and every call streams to Auscultare. The caller, the agent or both are read live, and an alert reaches your webhooks while the call goes on.

Telephony is on Pro and Enterprise.

Callerµ-law audioYour Twilio numberµ-law audio · 8 kHzAuscultarelive.alertYour webhook, Slack or Discord
How a call reaches Auscultare. Audio flows one way; alerts go to your webhooks.

In short

Create a telephony connector in the app, copy its secret stream URL, and put it in a Stream element inside Start in your Twilio TwiML. Twilio sends the call’s audio; Auscultare reads it live and sends live.alert and live.ended to your webhooks. No Twilio account is needed on our side, and call audio is never stored.

Set it up

  1. Create a connectorIn the app, Integrations → Telephony. Name it after the line (“Support line”).
  2. Copy the stream URLIt holds a secret token and is shown once. Store it like a password.
  3. Add the TwiMLIn your Twilio number’s voice webhook or TwiML Bin: a Start element with a Stream inside, before the rest of the call.
  4. Add a webhookSubscribe a JSON, Slack or Discord endpoint to live.alert (and live.ended for every call’s summary).
  5. Call itEach call shows up in the app’s Live history with its timeline; alerts arrive while the call is on.

The TwiML

Start forks the call’s audio to Auscultare and carries on with the rest of the TwiML, so the call connects as usual.

Caller, agent or both

Caller, agent or both
trackMeaning
inbound_trackThe caller. One live session per call.
outbound_trackThe agent (the other side of the call).
both_tracksBoth sides, read as two sessions: caller and agent.

The caller (inbound_track)

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Start>
    <Stream url="wss://auscultare.io/api/telephony/twilio/YOUR_CONNECTOR_TOKEN" track="inbound_track" />
  </Start>
  <Say>This call may be checked for AI-generated voices.</Say>
  <Dial>+15555550123</Dial>
</Response>

What happens to the audio

  • Twilio sends µ-law at 8 kHz; Auscultare converts it to 16 kHz PCM and runs the same live engine as every other door.
  • Each track is a live session: rolling answers, alerts (live.alert) and a summary (live.ended), all to your webhooks.
  • Call audio is never stored. The session keeps its events and summary only.
  • Calls count against the workspace’s live minutes.

Phone audio reads less well

Phone lines carry less of the voice than a clean recording, so a smaller share of AI voices is caught on calls and slightly more real callers are flagged. Treat a phone alert as a reason for a closer look, such as a call-back on a known number, never as proof.

The measurements on phone-quality audio

An alert from a call. A live.alert delivery with door: telephony.

Example · live.alert
{
  "id": "9d8c7b6a-5f4e-4d3c-b2a1-0f9e8d7c6b5a",
  "event": "live.alert",
  "createdAt": "2026-12-02T14:03:51.020Z",
  "workspaceId": "64f1c0de9a8b7c6d5e4f3a2b",
  "data": {
    "session": {
      "sessionId": "a7b6c5d4-e3f2-4a1b-9c8d-7e6f5a4b3c2d",
      "door": "telephony",
      "title": "Support line (caller)",
      "startedAt": "2026-12-02T14:03:12.400Z"
    },
    "alert": {
      "at": 38,
      "label": "ai_generated",
      "signal": 0.72,
      "alertId": "f1e2d3c4-b5a6-4978-8a6b-5c4d3e2f1a0b"
    },
    "answer": "Reads as AI-generated speech",
    "note": "The answer is for the whole recording and is evidence for a closer look, not proof.",
    "url": "https://auscultare.io/app/live/sessions/a7b6c5d4-e3f2-4a1b-9c8d-7e6f5a4b3c2d",
    "limits": "https://auscultare.io/accuracy"
  }
}

Tell your callers

Laws on listening to calls differ by country and state. You are responsible for telling callers and getting consent where the law requires it; the TwiML above starts with a short notice you can adapt.

Keep the stream URL secret

Whoever holds the URL can stream audio on your workspace’s minutes. If it leaks, delete the connector and create a new one: the old URL stops at once.