Receiving Information
Computer Telephony Integration
Strata DK40 I&M Manual Spring 1999
8-17
Refer to the Strata DK40 Programming Manual or DK Library CD-Rom for more details.
lineGetAddressStatus
This function queries the specified address for its current status. The current status is returned
using the data structure lineAddressStatus:
lineGetCallInfo
This function returns detailed information about the specified call. The information is
returned in a data structure of the type LineCallInfo:
dwMaxCallCompletions
dwCallCompletionConds
dwCallCompletionModes
Not supported by Toshiba DKT TSPI
dwNumCompletionMessages
dwCompletionMsgTextEntrySiz
e
dwCompletionMsgTextSize
dwCompletionMsgTextOffset
Not supported by Toshiba DKT TSPI
Field Name Setting
dwNumInUse 1 if there is a call associated with the address, 0 otherwise
dwNumActiveCalls
1 if there is a call in any state other than ONHOLD at the address, 0
otherwise.
dwNumOnHoldCalls 1 if there is a call holding at the address, 0 otherwise
dwNumOnHoldPendingCalls
1 if there is a call in either the ONHOLDPENDINGCONF state or the
ONHOLDTENDTRANSFER state, 0 otherwise.
dwAddressFeatures
If there is no call associated with the given address, this field will contain
the value - LINEADDRFEATURE_MAKECALL. Otherwise it will be 0.
Field name Setting
dwLineDeviceID The number of the line device being addressed.
dwAddressID The address ID for the call associated
dwBearerMode LINEBEARERMODE_VOICE
dwRate
0
dwMediaMode LINEMEDIAMODE_INTERACTIVEVOICE
dwAppSpecific Retains the value passed in lineSetAppSpecific.
dwCallID Not supported by Toshiba DKT TSPI
dwRelatedCallID Not supported by Toshiba DKT TSPI
Field Name Setting