Prerecorded Tones File

The Prerecorded Tone (PRT) file contains up to 80 (and maximum of 10 minutes) user-defined prerecorded tones that can be played by the device. For example, it can be used to play a held tone (music on hold) to a call party that has been put on hold or a ringback tone to a calling party. The PRT file overcomes the limitations of the CPT file (such as limited number of predefined tones and limited number of frequency integrations in a single tone). The PRT file also lets you play different held and ringback tones for different groups of users. To do this, configure an IP Profile with the required ringback tone (IPProfile_LocalRingbackTone) and/or held tone (IPProfile_LocalHeldTone) from the PRT file, and then associate the IP Profile with the required IP Group.

The PRT file only generates (plays) tones; detection of tones is according to the CPT file.
The PRT file can be up to 4 megabytes in size.
If the PRT file contains a tone that also exists in the CPT file, the tone in the PRT file is played instead (i.e., overrides the tone in the CPT file).
Playing tones from the PRT file is applicable to Gateway and SBC calls.
For SBC calls, you can define a PRT file with multiple tones for the same tone type, but where each tone is defined with a different coder. If the coder of the tone is the same as that used in the current call, DSPs are not required by the device to play the tone. Therefore, if a tone is defined with a coder that is also used in the call, the device always selects this specific tone. However, if the coders are different, the device uses DSPs to play the appropriate tone from the Call Progress Tones (CPT) file (if the tone and CPT file exist).
The device requires DSPs for local generation of tones.
The PRT file supports only the ringback tone and hold tone for SBC calls.

The tones can be recorded using a standard third-party, recording utility (such as Adobe Audition). Once recorded, you need to combine the recorded files into a single and loadable PRT file (.dat), using the latest version of AudioCodes DConvert utility. In DConvert, each recording must be added to the PRT file with the tone type "acUserDefineTone<Index>". When you want to specify the tone (ringback or held tone) to play for a specific IP Profile (IPProfile_LocalRingbackTone and IPProfile_LocalHeldTone parameters), you need to use this index number. For more information on the DConvert utility, refer to the DConvert Utility User's Guide. Once you have created the PRT .dat file, you need to load it to the device (flash memory), using the Web interface (see Loading Auxiliary Files) or CLI.

You must record the tones (raw data files) with the following properties:

Coders: G.711 A-law, G.711 µ-law, or G.729
Rate: 8 kHz
Resolution: 8-bit
Channels: mono

The PRT file can include prerecorded audio tones of different coders (e.g., some with G.711 and some with G.729). The prerecorded tones are played repeatedly. This allows you to record only part of the tone and then play the tone for the full duration. For example, if a tone has a cadence of 2 seconds on and 4 seconds off, the recorded file should contain only these 6 seconds. The device repeatedly plays this cadence for the configured duration. Similarly, a continuous tone can be played by repeating only part of it.

The following figure shows an example of the creation of the PRT file containing multiple user-defined tones ("acUserDefineTone<Index>") through the DConvert utility: