Cisco Unity

Speech Connect with SFTP and SSH to Perform a Bulk Upload of Spoken Name Files

Document ID: 116267

Updated: Jul 05, 2013

Contributed by Scott Hills, Cisco TAC Engineer.



This document describes the process to use SSH File Transfer Protocol (SFTP) and Secure Shell (SSH) with Speech Connect to perform a bulk upload of spoken name files.

Background Information

Currently, the user is instructed to upload the Names file to the Speech Connect server, but the message does not instruct the user how to accomplish this task.

Perform a Bulk Upload of Spoken Name Files

In order to perform a bulk upload, follow these steps:

  1. Open an SSH session to the Speech Connect and log in with scadmin. In order to do this, use an SSH client such as putty.exe.
  2. After log in, enter:
    cd /tmp
    mkdir name_files
    cd name_files
  3. Next, enter sftp username@host in order to connect to an SFTP server, such as:
    sftp scadmin@
  4. Enter your password when prompted.

  5. Ensure the recorded names are located in the SFTP home directory.
  6. At the prompt, enter get *. The Name files are downloaded.

    Note: If there are additional files in the SFTP directory (other than voice files), you may need to be more specific than the wild card used in the above example. The example copies all files in the SFTP home directory.

  7. Enter Exit to close the sftp connection.

    Note: Log in to the server as root. If you are currently logged into a Speech Connect SSH session as SCAdmin, enter su <enter> and you are prompted for a root password. Then you become the root user.

  8. Next, continue with Step 3: Performing a Bulk Upload of Spoken Name Files.Log in to the server as the root user, and enter:
    cd /tmp/name_files
    chown seaa *
    chgrp seaa *
    cp /tmp/name_files/* /opt/cisco/speechconnect/ssp/prompts/seaa/1/spoken_name

Related Information

Updated: Jul 05, 2013
Document ID: 116267