Call control elements
Use the call control elements as follows.
answer
<answer />
This element is not supported. In the CCaaS system the call is already answered before the first script event is fired. Therefore there a script control to answer a call is not required.
call value
<call value="pstn:18314395130" default: ""
callerID="pstn:1234567890" default: "session.callerID" maxTime="30s" default: "30s" />
This element is not supported. Use the transferCall element to dial out.
conference targetSessions
<conference targetSessions="sessionID1, sessionID2" default: ""
termDigits="#" default: "" />
This element is not supported.
hangup
<hangup />
This element follows the CallXML standard.
playAudioformat
<playAudioformat="audio/wav" default: "audio/wav"
value="http://www.ttt.com/sample.wav" default: ""
termDigits="1234567890*#" default: ""
clearDigits="TRUE|FALSE" default: "false" />
This element differs from the CallXML standard as follows.
The only supported format is audio/wav. The audio files must be in the format of Microsoft wave file 8kHz-16bit-mono.
The value attribute can be one of the following formats:
- A fully qualified file name. This means that the wave file is located on the local hard drive of each VCS (VoIP Connection Server). The path specified must be accessible to every VCS in the CCaaS system.
- A URL. This means that the wave file is located on a web server. All wave files that are retrieved from a URL are cached locally on each VCS. This limits the amount of data that needs to be downloaded from the web servers.
- A CCaaS file descriptor. This means that the wave file is stored in the CCaaS database. The file descriptor name must match the name that is specified in CCaaS Admin for the particular file.
playDateformat
<playDateformat="yymmddhhnn" default: as shown below
value="9901111200" default: ""
termDigits="1234567890*#" default: ""
clearDigits="TRUE|FALSE" default: "false" />
The supported formats are:
- yyyymmddhhnn
- yyyymmdd
- yymmddhhnn
- yymmdd
- mmddhhnnss
- mmddhhnn
- hhmmss
- hhmm
Where:
- yyyy is a 4 digit year
- yy is a 2 digit year
- mm is a 2 digit month
- dd is a 2 digit day of the month
- hh is a 2 digit hour
- nn is a 2 digit minute
- ss is a 2 digit seconds
playMoneyformat
<playMoneyformat"us" default: "us"
value="1.25" default: ""
termDigits="1234567890*#" default: ""
clearDigits="TRUE|FALSE" default: "false" />
The only supported format is US (United States).
playNumber
<playNumber
format="digits|number" default:0 "digits"
value="12345" default: ""
termDigits="1234567890*#" default: ""
clearDigits="TRUE|FALSE" default: "false" />
This element follows the CallXML standard.
recordAudioformat
<recordAudioformat="audio/wav" default:"audio/wav"
value="msg.wav" default: ""
termDigits="1234567890*#" default: ""
clearDigits="TRUE|FALSE" default: "FALSE"
maxTime="30s" default: "30s"
maxSilence="5s" default: "3s"
beep="1" default: "0" />
This element differs from the CallXML standard as follows.
The only supported format is audio/wav. The audio files are recorded in the format of Microsoft wave file 8kHz-16bit-mono.
The value attribute can be one of the following values:
- A fully qualified filename. This means that the file is recorded to the local hard drive of the VCS servicing the call in the directory specified. In this case the file is not deleted at the end of the call.
- A non-qualified filename. This means that the file is recorded to the local hard drive of the VCS servicing the call in the Windows %TEMP% directory. In this case the file is automatically deleted at the end of the current script.
The beep attribute can be one of the following values:
- 0 — for no beep
- 1 — for a short beep
- 2 — for a normal length beep
- 3 — for a long beep
text format
<text format="? default: "connected"
termDigits="#" default: ""
clearDigits="TRUE|FALSE" default: "false" >
This element is not supported.
waitForConferenceEnd
<waitForConferenceEnd />
This element is not supported.