Open topic with navigation

# BuildSpeaker

Trains Media Server to recognize a speaker.

You can only run this action after creating a speaker (using the action NewSpeaker) and adding audio samples for training (using the action AddSpeakerAudio).

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database that contains the speaker. | Yes
`identifier` | The identifier of the speaker that you want to train Media Server to recognize. | Yes

## Example

    /action=BuildSpeaker&database=news&identifier=a4a28eb52367f51057c9904807a9d564

## Response

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

    <autnresponse>
      <action>BUILDSPEAKER</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:35:07</queued_time>
            <time_in_queue>0</time_in_queue>
            <process_start_time>2018-May-15 03:35:07</process_start_time>
            <time_processing>40</time_processing>
            <process_end_time>2018-May-15 03:35:47</process_end_time>
            <speaker>
              <database>news</database>
              <identifier>a4a28eb52367f51057c9904807a9d564</identifier>
              <numFiles>1</numFiles>
              <numFilesDone>1</numFilesDone>
              <status>Finished</status>
            </speaker>
            <token>...</token>
          </action>
        </actions>
      </responsedata>
    </autnresponse>

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

_FT_HTML5_bannerTitle.htm