Previous PageTable Of Contents../index.htmlIndexNext Page



5.5. DX_ATTENDANT: Syntellect License Automated Attendant

The DX_ATTENDANT data structure contains parameters for Syntellect License Automated Attendant.

The DX_ATTENDANT data structure provides the information necessary for the proper operation and initialization of li_attendant( ). This structure is used in a synchronous environment and is defined in syntellect.h located in the /inc directory.

The typedef for the structure is as follows:

The parameters are described in the following table. They are required and must contain valid values unless noted as optional.

Parameter

Description

nSize

Required. Represents the size of this data structure in bytes. Used for version control.

SzDevName

Required. Identifies the Dialogic device name to open on which li_attendant( ) will run; for example, "dxxxB1C1".

pfnDisconnectCall

Optional. Specifies the address of a disconnect function. When NULL, dx_sethook( ) is called. This field can be used to override default analog front end interface behavior. For example, on a T-1 interface a function that manipulates the A and B bits can be used instead to disconnect a call.

pfnWaitForRings

Optional. Specifies the address of a "Wait for Rings" function. When NULL, dx_getevt( ) is called. This field can be used to override default analog front end interface behavior. For example, on a T-1 interface, a function that monitors the A and B bits can be used instead to wait for an incoming call.

pfnAnswerCall

Optional. Specifies the address of a connect function. When NULL, dx_sethook( ) is called. This field can be used to override default analog front end interface behavior. For example, on a T-1 interface a function that manipulates the A and B bits can be used instead to answer a call.

pfnExtensionMap

Required. Specifies the address of a function that translates the extension digits as received for the caller to a digit string, representing the physical extension, to actually dial. For example, when a caller enters "0" (usually for operator) the extension for the operator may actually be "1500."

szEventName

Required. Specifies the string name for the event used by the application to notify the li_attendant( ) thread to terminate. An example is "MyEventName."

nExtensionLength

Required. Specifies the maximum number of DTMF digits a caller can enter in response to the prompt asking for an extension.

nTimeOut

Required. Specifies the amount of time, in seconds, before dx_getdig( ) returns and times out when waiting for caller input.

nDialStringLength

Required. Specifies the length in bytes of the maximum translated extension dial string. For example, for "1500," this field would be 4.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002