Skip to main content
The voice gateway decides when a caller’s turn ends and how the caller’s audio is processed. Developers set most of this per application, but some settings belong to you as the operator. Use this page to know which turn detector your calls use and to set up audio filters. You don’t set recording as the operator: each application turns it on or off. See Record calls. Every setting on this page lives in the gateway’s configuration, config/gateway.yaml.

Before you begin

You need Fonoster installed with Docker Compose. See Install with Docker Compose. Run the commands on this page from your fonoster folder.

Apply a change

Each section below edits config/appbridge.yaml. After you edit it, recreate the voice gateway:
Recreating the gateway ends the calls in progress, so do it when the install is quiet. Records of those calls are still sealed.

Turn detection

The gateway decides when the caller has finished speaking with a turn detector. Every application in the Compose install uses the default detector, baseline: voice activity, final transcripts and a silence timer. Developers tune it per application with patience. See Turn-taking and barge-in. The gateway also has other detectors: The detector is set per application, with speech.detector, only for applications listed in the gateway’s own file. The Compose install keeps applications in its database, so the dashboard and the API create them, and they always use baseline. There’s no install-wide setting for the detector.

Audio filters

Applications can turn on noise cancelling (see Cancel background noise). The filter runs in AppBridge on the caller’s audio before speech recognition and turn detection, and it needs a noise-cancelling provider in the catalog with a key. Register the provider once, with the capability nc:
Give it a platform key in AppBridge’s configuration, as for a speech provider. Workspaces that add their own ai-coustics key on the Vendor keys page use that key instead.
Filtering never drops a call. A filter that can’t start or fails mid-call leaves the call unfiltered and the call record says so. The filter phones home: the vendor’s SDK authorizes the key and reports usage online, so AppBridge needs egress to ai-coustics at call time. The AppBridge image ships the vendor’s SDK and the Voice Focus model, so nothing is downloaded at call time. To pin a model file or turn the download off, set the filter’s server-side options in appbridge.yaml:

Next steps

Record calls

How developers turn recording on or off per application.

Rotate call-record keys

Manage the key that signs your call records.