Automatically starting applications in a node

When you install the WebSphere Voice Response Java and VoiceXML Environment, the configuration database contains an entry for the sample application, “menu”. When you call the number associated with menu, you should find that the menu application is waiting for your call. How does this happen? An instance of menu is automatically started with the node.

To start an application in this way, you need to define an application node with an application group, and specify the name of the group in the NodeName entry for the application node. You also need to define a voice response Node, and reference it in the NodeDefVRNode setting of the application node's NodeName entry.

Here's an example in which four instances of menu are automatically started, making the node capable of handling four calls for menu simultaneously.

The GroupName entry of the application node looks like this:

GroupName=group1
  Application=menu
  Application=menu
  Application=menu
  Application=menu
;

The NodeName entry of the application node looks like this:

NodeName=AppNode1
  NodeDefLocale=en_US
  VRNode=no
  NodeDefHost=LocalHost
  NodeDefVRNode=VRNode1
  Group=group1
;

And the NodeName entry of the voice response node now looks like this:

NodeName=VRNode1
  NodeDefLocale=en_US
  VRNode=yes

  NumToApp=123456,menu
  NumToApp=123455,app1
;