The actual voice was already
de?¬?ned elsewhere, and thus the VoiceXML concept just referred to an existing voice
speci?¬?cation. Another option considered was integrating metamodels: putting the
languages of CPL and VoiceXML together. This was abandoned by the operator as it
was seen that different people would create these speci?¬?cations and there were no real
integration needs other than calling VoiceXML.
Switches for Specifying Choices Choices are expressed in CPL with a switch
concept. The choice arguments are taken from call requests or from items independent
of the call. These are usually entered as property values for the switch. If an entered
value is matched during CPL service execution, the choice meeting the condition is
chosen. In the case of switches, the condition is simply True or False. The choice
results are speci?¬?ed by connecting a switch to another modeling concept using a
FIGURE 5.2 Specifying a Proxy in CPL using the Proxy language concept
LANGUAGE FOR MODELING CALL PROCESSING SERVICES 103
relationship. These relationships are divided into two different kinds: a Default
relationship, which speci?¬?es the result when the condition is met, and Otherwise
which speci?¬?es the result when the condition is not met. The name of Otherwise was
taken directly from the CPL terminology.
Pages:
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216