Previous Topic

Next Topic

Book Contents

Book Index

Home Page

How to Play Wave Sound Files

Active Call Center allows playback of pre-recorded audio files as either stand-alone or as prompts for input. For reference, the Internet Weather example (located in the Examples folder) uses a number of pre-recorded audio prompts.

Note: WAV files must typically be in mono PCM 8 bit or 16 bit format in order to work with this software. Not all formats work with all telephony cards. For information on creating properly formatted sound files, refer to Recording and Modifying WAV Audio Files.

To play a sound file as a stand-alone message, set the SpeakWave variables in the VBScript macro to the names of the files you would like to play. For example:

SpeakWave1 = AppPath + _
"\Examples\Goodbye.wav"

Refer to the section on SpeakWave variables for more information about their usage. SpeakInteractiveWave variables can also be used to provide advanced audio playback features.

To play a sound file for an input prompt, check the appropriate "Play Sound File" checkboxes on the Question tab of the Edit Node Window and then select the sound files to play. For more information, refer to the section about the Question tab.

Example

Create a Call Tree that plays a recorded message in about one minute:

From the menu bar, choose File ... New Call Tree and create a new Call Tree.

Click on the Answer_Phone Node (the purple phone icon).

When the Edit Node window appears, check the box marked Don't Ask a Question at this Node.

Click over to the VBScript Macro tab.

Set the macro to the following:

SpeakWave1 = AppPath + _
"\Examples\Goodbye.wav"

Press Click here when finished to close the Edit Node window.

From the menu bar, choose Phone Calls ... Simulate Calls to test the Call Tree.

See Also

Essential How-To's

How to Set the Software to Answer Phone Calls

How to Record Audio from Callers

How to Perform Conditional Call Processing

How to Accept Different Types of Responses

How to Retrieve and Use Caller ID Information

How to Make Outbound Calls

How to Enable Multiple Lines

How to Build a Reliable, Scalable Telephony System