Cisco Cisco Customer Voice Portal Downloads リリースノート
C
HAPTER
2:
U
NIFIED
CVP
API
I
NTRODUCTION
P
ROGRAMMING
G
UIDE FOR
C
ISCO
U
NIFIED
CVP
VXML
S
ERVER
AND
C
ISCO
U
NIFIED
C
ALL
S
TUDIO
R
ELEASE
7.0(1)
6
Call Studio Deployment
Call Studio provides a location to place components that are to be shared across all applications:
Call Studio/eclipse/plugins/com.audiumcorp.studio.library.common_5.1.0
.
Individual classes are placed in the
classes
subdirectory and JAR file archives are placed in the
lib
subdirectory. Note that the only classes that need to be placed here are custom configurable
elements and Say It Smart plugins since all other components have no Call Studio interface and
hence require deployment only on VXML Server. Once deployed in this folder, custom
configurable elements will appear in the element pane directly under the “Elements” folder
alongside with Unified CVP-provided elements.
hence require deployment only on VXML Server. Once deployed in this folder, custom
configurable elements will appear in the element pane directly under the “Elements” folder
alongside with Unified CVP-provided elements.
For component classes that apply to a specific application only, a developer uses the
deploy/java
directory found in that application’s project folder. Within Call Studio, compiled
classes and/or JAR files can be dragged from outside Call Studio to the appropriate subdirectory
in the
in the
deploy/java
folder. An alternative method that does not require Call Studio to be running
would be to copy the files into the appropriate subdirectory of the
deploy/java
folder using the
file system. The application project folder can be found in
Call Studio/eclipse/workspace
(unless the developer sets the workspace to a custom directory) and the
deploy/java
folder
within the application will appear here exactly as it appears in the Call Studio application project
window. This can also be done while Call Studio is running, though to view the copied files in
Call Studio, the
window. This can also be done while Call Studio is running, though to view the copied files in
Call Studio, the
deploy
folder should be selected and the Refresh option chosen from the
contextual menu.
Custom configurable elements placed in the
deploy/java
directory will appear in Call Studio’s
element pane under the folder named “Local Elements”. The call flow editor for that application
must be closed and reopened in order for newly copied local elements to appear in the element
pane.
must be closed and reopened in order for newly copied local elements to appear in the element
pane.
When the application is deployed from within Call Studio, the VXML Server folder created for
that application will contain a folder named
that application will contain a folder named
java
whose contents is identical to the
deploy/java
folder in the Call Studio project.
VXML Server Deployment
When an application is deployed through Call Studio, a folder is created that encapsulates all the
information for that application, including all Java code the developer placed in the Call Studio
project as per the instructions given in the previous section. If the application is to change in any
way, from changes to the call flow, to the addition or subtraction of required Java files, those
changes must be done through Call Studio and then redeployed to VXML Server.
information for that application, including all Java code the developer placed in the Call Studio
project as per the instructions given in the previous section. If the application is to change in any
way, from changes to the call flow, to the addition or subtraction of required Java files, those
changes must be done through Call Studio and then redeployed to VXML Server.
One deployment requirement that must be performed by the developer is to ensure that the Java
components and utility libraries stored in the
components and utility libraries stored in the
Call
Studio/eclipse/plugins/com.audiumcorp.studio.library.common_5.1.0
folder are also
placed in the VXML Server
common
folder. When an application is deployed from Call Studio,
only that application’s files are created, any common code is not included. As a result, it is the