Integration · Amazon Connect live media streaming

AI call QA for Amazon Connect live media streaming.

Native adapter for the PCM 16-bit 8kHz voice frames a customer-run Lambda bridge re-emits from Connect. Live transcription, scoring against your own scorecard, mid-call breach detection while the call is still happening, and webhooks, HMAC-signed once you set a signing secret, back to your CRM or agent desktop. It sits alongside CallGuard's other call and meeting integrations.

AWS Connect's voice stream in. Compliance evidence out.

AWS Connect publishes voice streams to Kinesis Video rather than to a WebSocket, so unlike our Twilio integration — where we read Media Streams frames directly — this one runs through a small bridge in between. You deploy a single Lambda from our template; it re-emits those frames over our generic WebSocket protocol as PCM 16-bit 8kHz mono, which our AWS Connect adapter consumes natively. It is a well-understood pattern for AWS Connect, and it is the only extra moving part.

1

Deploy the bridge Lambda

Single-purpose Lambda from a CloudFormation template. Reads from your Kinesis Video stream, re-emits to our WebSocket endpoint with your CallGuard API key. Runs in your own AWS account so audio never leaves until it hits CallGuard.

2

We check the call as it happens

The adapter parses PCM 16-bit 8kHz frames, runs live transcription with speaker separation, and feeds the rolling transcript into the AI model for breach detection, only emitting a breach when it is confident the criterion has already failed.

3

Webhooks fire back

A POST to your endpoint, HMAC-SHA256 signed once you set a signing secret, sent as soon as a breach is detected, plus a final scored event when the call ends. Compatible with AWS EventBridge so you can fan-out to Connect tasks, agent UI overlays, or a Slack channel.

Built for the way AWS Connect customers actually deploy.

Native PCM frame parsing

The AWS Connect adapter handles raw PCM 16-bit 8kHz frames. No re-encoding step. The bridge Lambda is small, single-purpose and stays in your AWS account.

EventBridge friendly

Webhook payloads are JSON with consistent event names (session.breach_detected, session.scored) so they slot directly into EventBridge rules. From there, fan out to Connect Tasks, Lambda, Step Functions, or third-party endpoints.

Confidence-gated breach detection

The rolling transcript is checked about every 30 seconds as the call happens, and a breach is sent only when the model rates it at 0.75 confidence or higher.

Agent desktop overlays

Subscribe to live breach webhooks from your agent desktop (Connect CCP or your custom UI). Show the agent a prompt on screen when a breach webhook arrives.

Your corrections as examples

When a supervisor corrects a verdict in the dashboard, up to five of the most recent corrections on that criterion are shown to the AI as examples the next time it scores that criterion, alongside gold-standard exemplar calls. How scoring calibration works.

Encryption and residency

Audio (if retained) is encrypted at rest with AES-256-GCM. Customer data is stored in the UK (AWS London); audio and transcripts are also processed by the sub-processors listed here, some outside the UK. UK GDPR Article 28 DPA published.

Common questions, answered.

Why a Lambda bridge instead of a direct Kinesis Video integration?

Two reasons. First, the bridge keeps audio inside your AWS account until CallGuard explicitly receives it, which is the data-residency story most security teams want to hear. Second, the bridge is small, single-purpose and cheap to run, so you do not need to grant CallGuard cross-account IAM permissions to your Kinesis stream.

How do calls map back to Connect's contact records?

The bridge passes Connect's ContactId as the external ID on the CallGuard call record. Whatever attributes you set on the contact (queue, agent ARN, customer ANI) are forwarded as session metadata and returned in webhooks.

Can we use this with Connect post-call recordings instead of streaming?

Yes. Push the Connect recording URL or audio file into our REST ingest endpoint after the call ends. You get the same scoring output without the mid-call breach webhooks. You can run streaming for compliance-critical queues and post-call ingest for the rest.

Does the bridge Lambda count against our AWS service limits?

The bridge runs as concurrent executions, one per active streamed call. AWS default Lambda concurrency is plenty for most contact centres.

What happens if the streaming connection drops mid-call?

No audio is lost. The bridge buffers audio while it reconnects, then resumes reading from the exact Kinesis Video fragment it left off at, and nothing already transcribed and scored is discarded. What it does not do is stitch the before-drop and after-drop audio into one session: a reconnect opens a new one. So an interrupted call, or a call long enough to need more than one Lambda invocation, lands as two or more scored call records rather than a single resumed transcript — all tagged with the same Connect ContactId so you can tell they belong together.

Can we keep audio in our own S3 instead of CallGuard storage?

Yes. The default deployment retains audio in CallGuard for the audit trail, but you can keep the audio in your own bucket and pass a presigned URL to our REST endpoint instead. CallGuard fetches it to transcribe and score, and you keep the master copy.

Request a demo