Play Sound
Function:
A play sound phase play a voice prompt on the line. The play phase can be used to play wave file, TTS(Text To Speech, with Microsoft SAPI 5.1) and send SMS message if the line is an sms modem(Currently Simens TC35 gsm sms modem and PHS 150 sms modem are supported).
A.Play wave files
Figure 1 - Wave File Play
A voice prompt
is made up of some wave stuffs. Wave stuffs can be insert into the wave stuff
list,or delete from the wave stuff list.
If you do not have an wave file,you can click the record button to record
a wave file in the record voice dialog.
Parameters:
Voice Style:
There are 4 styles:
.Wave File
A single wave file to be played.With this syle,File Name should be set to
an wave file.
.Voice Number
A voice number with with merged digits. For example,if you set 110 in the number field,it will speak one huandred and ten. The voice number are made up by many single wave files called number elements like "1.wav","2.wav"... "twenty.wav"... and etc. The wave file elements for the number is stored at the waveFiles\NumberElements\ folder under the mission folder. They are created while a mission is created by the mission wizard. As different language might have different syntax for number, we create different folders for different languages. For example, folder waveFiles\NumberElements\English contain wave files for English. While it is played, telSecretary find wave file elements in the folder, if it can not find them, it continue to find them at waveFiles\NumberElements under the main folder of the telSecretary. You can replace the wave files in the waveFiles\NumberElements\ folder under the mission folder to change the voice.
.Voice Digits
A voice digits with merged digits.For example,if you set 110 in the digits field,it will speak one one zero. This also use the number elements files at the folder waveFiles\NumberElements\
Wave Format:
There are often three formats:
8000hz,16bit,1 channel (Used by Voice Modems and voice board)
8000hz,8bit,1channel(Used by Voice Modems and voice board)
11025hz,8bit,1channel(used by voice boards,for example,Dialogic boards)
B. TTS and SMS
Figure 2 - TTS and SMS
You can set TTS or SMS message text in the play phase(Figure 2). A mission can run in both voice device and SMS device. You can insert varibles into the content. In the above example, [Name] mean a column of the table. And it will be replaced by the value of the column at the current position in the table while playing.
Son Phases
OnFinished:
When the wave files are played, the flow go to this phase.