Downloading Voice Recorded Announcements

To download a voice recorded announcement, the host first sends a Recorded Announcement Download Initiate message (0x0052). The data in this message consists of the following:

Slot number of the DSP card

SIMM number on that card

Recorded Announcement ID

Recorded Announcement Size

Recorded Announcement Checksum

Recorded Announcement Format
(the only format currently supported is 8-bit PCM sampled at 8,000 times/second)

Encoding Format (A-law, µ-law). The DSP-ONE card can play out announcements in any encoding format.

The DSP card stores the information above, and the CSP returns a positive acknowledgment. The host then sends the Recorded Announcement Download message (0x0053) containing the slot number of the DSP card, the number of the SIMM, the Announcement ID, and the actual PCM recorded voice data. On the DSP-ONE card, it takes less than three seconds to download one second of recorded voice.

If you try to download an announcement before you send the Recorded Announcement Download Initiate message (0x0052) you receive a Response Status of No Recorded Announcement Download Initiate Message Received.

Each Recorded Announcement Download message (0x0053) can send a maximum of 230 bytes, so you may need to send more than one of these messages for a single announcement. The download process is depicted in Figure 9-9.

Figure 9-9 Recorded Announcement Download

SIMM Checks Format

When the host has sent the entire announcement, the VRA SIMM checks the announcement format, encoding format, and checksum, to ensure that they match the values that were sent in the Recorded Announcement Download message (0x0052). The DSP card sends the information to the Matrix Controller, and the announcement is ready to be used. If the values do not match, the host is informed with an Alarm message.

One Announcement at a Time

You can download only one announcement at a time. You must wait for the first download to complete before you begin the second download. If you try to download more than one announcement at a time, you receive a Response Status of "Announcement Download Unsuccessful - Another Announcement Download is in Progress."

Important! Send only one Recorded Announcement Download message (0x0052) for each announcement. Wait for one announcement to finish before you send another Recorded Announcement Download message for another announcement. The Recorded Announcement Download is finished when you receive the Alarm message (0x00B9) indicating Recorded Announcement Download Ready.

Unique Recorded Announcement ID

On an individual SIMM, each announcement must have a unique Recorded Announcement ID. You cannot download two announcements that have the same ID to the same VRA SIMM.

However, if there is more than one SIMM in the CSP, you can download the same announcement with the same ID to a different SIMM.

Invalid RAN Size and DSP Chip Dead Responses

If the RAN size is larger than the permitted size of 16,777,215 bytes (0xFFFFFF) the Recorded Announcement Download Initiate message (0x0052) receives a NACK of Invalid RAN Size (0x000A).

If a DSP chip fails to respond to the system monitor, the Recorded Announcement Download message (0x0053) receives a NACK of DSP Dead (0x0009).