Imports an existing speaker database. You can use this action to import a speaker database that was exported from Media Server 12.0.
Type: synchronous
Parameter | Description | Required |
---|---|---|
database
|
The name to give to the imported database. | Yes |
dbdata
|
The data to import. Files must be uploaded as multipart/form-data. For more information about sending data to Media Server, refer to the Media Server Administration Guide. | Set this or dbpath |
dbpath
|
The path to the database file. The path must be absolute, or relative to the Media Server executable file. | Set this or dbdata |
The following example imports an existing speaker database:
curl http://localhost:14000 -F action=ImportSpeakerDatabase -F database=news -F dbdata=@exported.dat
<autnresponse> <action>IMPORTSPEAKERDATABASE</action> <response>SUCCESS</response> <responsedata></responsedata> </autnresponse>
|