Configure AI Voicemail Transcription with Google Service
Yeastar P-Series Software Edition supports AI voicemail transcription powered by Google Cloud Speech-to-Text service (API version: V2), converting audio in voicemail messages into readable text. This topic describes how to configure AI voicemail transcription with the third-party service on the PBX.

Requirements
Yeastar P-Series Software Edition should meet the following requirements:| Item | Requirement |
|---|---|
| Firmware | 83.23.0.83 or later. |
| Subscription | Subscribe to Enterprise Plan or Ultimate Plan to ensure the AI Transcription feature is available. |
Prerequisites
| Item | Prerequisites |
|---|---|
| PBX network access | Make sure the Yeastar P-Series Software Edition can access the
following domains to use Google Cloud Speech-to-Text service:
Note:
|
| Third-party service account | Prepare a Google account with sufficient transcription minute quotas for Google Cloud Speech-to-Text service and permissions to manage Google Cloud Storage (GCS) buckets, and obtain the username and password. |
Procedure
Step 1. Create an API key for Google Cloud Speech-to-Text service
To securely access the Google Cloud Speech-to-Text service from the PBX, you must create an API key on Google Console first and export it as a JSON file used to authenticate the service API request.
- Log in to Google Console using your Google username and password.
- Create a new project.
- At the top-left corner, click current project tab, and then click
New project in the pop-up window.

- In the New Project page, create a new project.

- In the Project name field, enter a name to identify the project.
- Optional: Click Browse to select the desired organization.
- Click Create.
- At the top-left corner, click current project tab, and then click
New project in the pop-up window.
- In the new created project, enable the
Cloud Speech-to-Text API service.

- Go to , search for "Cloud Speech-to-Text API" in the library.
- In the search result list, click the Cloud Speech-to-Text API card to enter its product details.
- Click Enable.
This service displays with Enabled status.
- Create a service account for the new
created project.
- Go to , click Create service account at
the top navigation bar.

- Create a service account.

- In the Service account name field, enter a name to identify the service account.
- Click Create and continue.
- In the Role drop-down list, select Owner.
- Click Continue.
- Click Done.
The Service accounts list displays the created service account.
- Go to , click Create service account at
the top navigation bar.
- Create an API key and generate its JSON file
for the new created service account.

- On the Service accounts page, click
beside the created service account, and select Manage
keys. - On the Keys page, click Add
key and select Create new
key.
A key type selection window pops up.
- In the Key type section, select JSON type,
and click Create.
The system automatically downloads the JSON file that contains the API key to your computer. You can check the JSON file on your computer and save it for later use.
- On the Service accounts page, click
Step 2. Configure AI voicemail transcription on the PBX
After you create an API key for Google Cloud Speech-to-Text service, you need to configure corresponding settings on the PBX to establish a connection with the service API.
- Log in to PBX web portal, go to .
- Turn on the switch of Voicemail Transcription.
- Configure AI voicemail transcription service.

- In the Service Type drop-down list, select Custom Service.
- In the Transcription Service Provider drop-down list, select Google.
- Click Browse to upload the API key JSON file.
- In the Region drop-down list,
select the desired region.
- us (multi-region): United States
- eu (multi-region): Europe
- asia-southeast1: Singapore
- asia-northeast1: Tokyo
- In the Language drop-down list, select the desired language to be detected and transcribed for voicemail messages.
- In the
Extension Scope for This Feature section,
specify which extensions / extension groups / departments are
allowed to use voicemail transcription feature.
- All Extensions: All extensions can use this feature.
- Specific Extensions: Only selected extensions can use this feature.
- Click Save.
Result
The Transcription Connection Status displays Enable, indicating that the AI voicemail transcription feature powered by Google Cloud Speech-to-Text service is enabled. Both group and extension voicemail messages can be detected and transcribed into readable text in the specified language via the Google service.