You are here: CSP Developer’s Guide: Overview > 7 Configuring and Using Resources on the DSP Series 2 Cards > Appending or Replacing Recorded Files
Appending or Replacing Recorded Files
To append or replace a file, use the optional Append or Replace TLV (0x0615) in the Record File Start 0x011E message (0x011E).
Call Processing Events
There is a four-byte data field named Offset in the following Call Processing Events:
• Play File Started
• Play File Completed
• Record File Started
• Record File Completed
In the Play File Started and Record File Started events, the Offset represents the starting byte. In the Play File Complete and Record File Complete events, the Offset represents the ending byte.
The application is responsible for managing different encoding formats, and for designating how bytes represent time.
The Record File Started event is issued when the first block of data is written. The DSP Series 2 block size is 1 second, so this event occurs approximately 1 second after the Record File Start message is issued.