# BuildAllSpeakers

Trains Media Server to recognize any speakers that have not been trained.

You cannot train a speaker until you have added audio samples for training (using the action AddSpeakerAudio).

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of a database to process. Set this parameter to train speakers in the specified database only. By default, this action trains speakers in all databases. | No

## Example

    /action=BuildAllSpeakers&database=news

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token:

    <autnresponse>
      <action>BUILDALLSPEAKERS</action>
      <response>SUCCESS</response>
      <responsedata>
        <token>...</token>
      </responsedata>
    </autnresponse>

You can use this token with the QueueInfo action to retrieve the status of the action:

    <autnresponse>
      <action>QUEUEINFO</action>
      <response>SUCCESS</response>
      <responsedata>
        <actions>
         <action>
           <status>Finished</status>
           <queued_time>2018-May-15 03:38:21</queued_time>
           <time_in_queue>0</time_in_queue>
           <process_start_time>2018-May-15 03:38:21</process_start_time>
           <time_processing>100</time_processing>
           <process_end_time>2018-May-15 03:40:01</process_end_time>
           <numDatabases>1</numDatabases>
           <numSpeakers>3</numSpeakers>
           <numSpeakersDone>3</numSpeakersDone>
           <speaker>
             <database>news</database>
             <identifier>newsreader1</identifier>
             <numFiles>1</numFiles>
             <numFilesDone>1</numFilesDone>
             <status>Finished</status>
           </speaker>
           <speaker>
             <database>news</database>
             <identifier>newsreader2</identifier>
             <numFiles>1</numFiles>
             <numFilesDone>1</numFilesDone>
             <status>Finished</status>
           </speaker>
           ...
           <token>...</token>
          </action>
        </actions>
      </responsedata>
    </autnresponse>

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm