Version 6.4 453 March 2012
SIP User's Manual 20. Configuring the IP Media Parameters
20.1.3.4.2 Audio Extensions
The device provides a rich set of functionality for building and playing announcements
using recorded audio files. This functionality includes the ability to play certain types of
phrases such as date, time, and number based upon a specific languages grammar rules.
The files used to build the announcements can be stored on the device, or can be stored
off-board on an external file system.
To take advantage of the advanced announcement capabilities provided by the device, the
AudioCodes resident VXML Interpreter provides some extensions to the VXML <audio>
element. These extensions are discussed in the following sections.
For more information on provisioning audio for the device, refer to the Audio Provisioning
Server (APS) User’s Manual.
20.1.3.4.2.1 Local Audio
While not a true extension, it's possible to play audio files that reside on-board a device.
The following is an example of how such an audio file can be referenced using a VXML
<audio> element.
<audio src = “http://localhost/123”/>
This reference directs the VXML software to play the audio segment marked with identifier
'123'.
Using this method of access, the advanced audio structures defined by the AudioCodes
Audio Provisioning Server (APS) can be referenced. While these various structures are
outside the scope of the current document, they include sets, sequences, and multi-
language variables. For more information on these advanced audio structures, refer to the
Audio Provisioning Server (APS) User’s Manual.
20.1.3.4.2.2 Say-as Tag for the Audio Element
While the VXML <say-as> tag is typically used as a directive to a text-to-speech engine in
association with a VXML <prompt> element, the AudioCodes resident VXML Interpreter
allows the <say-as> tag to also be used with the <audio> element. In this context, the
<say-as> tag directs the VXML Interpreter to play phrases such as dates and times using
provisioned audio files. The following is an example of an <audio> element using the <say-
as> extension:
<audio> <say-as interpret-as=”date”> 20080704 </say-as> </audio>
This example assumes that the device has been provisioned with the appropriate audio to
play this example. The <audio> element in the example directs the VXML Interpreter to
announce the date “July 4th, 2008”.
The following table lists the supported phrase types, any valid subtypes for the phrases,
the expected input format for each phrase type, and any notes for the various phrase
types.
Table 20-8: Say-as Phrase Types
Say-as Token Variable
Type
Variable Subtype Variable Input
Format
Note
date date None supported yyyymmdd Dates are always