Avaya Logo

Home

Previous Topic

Next Topic

Book Contents

Book Index

Designing applications that integrate with Avaya IC

The Avaya Computer Telephony DIP installed on the Avaya IR system provides a transparent interface to Avaya Computer Telephony on the Avaya Interaction Center. It is accessed through a single external function, named Vesp_dip. Applications invoke DIP functions to communicate with the VOX Server, the entry point into the Avaya Computer Telephony environment. The VOX Server, which can communicate with both environments, interprets these functions and provides all subsequent processing required to interact with Avaya Computer Telephony.

An Overview of Vesp_dip

The Vesp_dip program interchanges data between the Avaya IR system and the VOX Server. The Vesp_dip program consists of the following files:

The trap.t and untrap.t files are used only by Script Builder applications.

Creating Requests

It is possible to construct functions with more than four parameters. This is done in several steps. Up to 62 parameters can be added to a function (allowing for up to 30 names and values to be set or read in a request). Commands associated with creating and sending requests in steps begin with +, so they do not overlap with actual VOX command names.

These commands are:

Arguments in the constructed functions must be placed in positions in accordance with the definitions for the VOX Server commands.

Replies to requests are preserved until the next +create command, or until any request not beginning with a + is used. It is permissible to use +getarg to read responses from commands that were not built with +create. Any request that does not begin with + uses the +create, +setarg and +getarg mechanism internally.

Note:
The + commands should not be used to construct requests that cannot accept a variable number of arguments.

A Few Rules to Remember

There are a few rules you must follow to ensure proper communication between the Avaya IR system and the Avaya Computer Telephony software:

A Few Notes on Invoking External Functions

Applications for the Avaya IR system are constructed using the IVR Designer tool. To insert an Avaya Computer Telephony command, add a Vesp_dip external function node. Then define the parameters in the node inspector.

The node inspector requires you to enter the function name and 5 arguments to define the function. You must enter values in all five fields. Enter empty fields if there is no parameter associated with that argument.

Vesp_dipfunctions

The following table lists the Vesp_dip functions:

Function

Description

+create

Create a request.

+getarg

Get the desired argument.

+send

Send the assembled request.

+setarg

Set the value of the specified argument.

newcall

Notify Avaya Computer Telephony that a new call has arrived and ask for its EDUID.

pseudo_ani

Return a pseudo_ANI to a network IVR.

getvdu

Retrieve a single field value from the database via the call's EDU.

getvox

Retrieve a single field value from the VOX Server's value cache.

setvdu

Set or overwrite a single value in the telephone call's EDU.

tr<n><op>

Request the Workflow Designer to perform a custom transaction.

transfer

The transfer function transfers a call from the VRU to an agent at the specified extension.

gone

Notify Avaya Computer Telephony that a call has ended.

alarm

Raise an Avaya Computer Telephony alarm, which is an indication of an exceptional condition or error.

For more information on the individual Vesp_dip functions, see Vesp_dip.

In This Section

Vesp_dip

� 2003 Avaya Inc. All Rights Reserved.