Avaya Logo

Home

Previous Topic

Next Topic

Book Contents

Book Index

Vesp_dip

This topic describes the functions that can be called from the Vesp_dip external function.

Note:
Any function that can accept an EDUID can also accept a string of the form #channelnum, for example, #17. For more information, see the VOX Server Programmer's Guide.

Return codes

All Vesp_dip functions can return the following values.

Return Code

Value

Description

-100

ERROR_NO_VESP

Avaya Computer Telephony is not available. The VOX Server is not connected to Vesp_dip.

May indicate a network error that separates the VOX Server and Vesp_dip. May mean that the VOX Server was not started.

-101

ERROR_BAD_REQUEST

The command is not known to the Vesp_dip.

Probably indicates a misspelled command in the CONVERSANT or Avaya IR application.

-102

ERROR_VESP_EXCEPTION

Avaya Computer Telephony raised an exception on this request, this is, the request failed. The VOX Server log will have more information.

May indicate the passing of an invalid (badly formatted or terminated) EDUID, or an attempt to use a workflow transaction improperly, or an error in a Contact Engine Server's configuration.

Creating custom variables

Many of the functions described in this topic return information that should be stored in custom variables. For information about how to create a custom variable, see Creating new (custom) variables in the Avaya IVR Designer Help.

Some function attributes require a Dummy variable. A Dummy variable is a custom variable with Length set to 256 and Type set to character. Use this variable only for external function attributes that require a Dummy variable. Do not use the Dummy variable in any other part of the application. You can name the Dummy variable whatever you want. The name Dummy is used here as an example only.

Function descriptions

The Vesp_dip external function can be used to perform the following 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, see the appropriate function description, or refer to the Avaya Interaction Center Programmer's Guide.

In This Section

+create

+getarg

+send

+setarg

newcall

pseudo_ani

getvdu

getvox

setvdu

tr<n><op>

transfer

gone

alarm

� 2003 Avaya Inc. All Rights Reserved.