LINECALLINFO
The LINECALLINFO structure contains information about a call. This information remains relatively fixed for the duration of the call and is obtained with lineGetCallInfo. If a part of the structure does change, then a LINE_CALLINFO message is sent to the application indicating which information item has changed. Dynamically changing information about a call, such as call progress status, is available in the LINECALLSTATUS structure, returned with the lineGetCallStatus function.
typedef struct linecallinfo_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
HLINE hLine;
DWORD dwLineDeviceID;
DWORD dwAddressID;
DWORD dwBearerMode;
DWORD dwRate;
DWORD dwMediaMode;
DWORD dwAppSpecific;
DWORD dwCallID;
DWORD dwRelatedCallID;
DWORD dwCallParamFlags;
DWORD dwCallStates;
DWORD dwMonitorDigitModes;
DWORD dwMonitorMediaModes;
LINEDIALPARAMS DialParams;
DWORD dwOrigin;
DWORD dwReason;
DWORD dwCompletionID;
DWORD dwNumOwners;
DWORD dwNumMonitors;
DWORD dwCountryCode;
DWORD dwTrunk;
DWORD dwCallerIDFlags;
DWORD dwCallerIDSize;
DWORD dwCallerIDOffset;
DWORD dwCallerIDNameSize;
DWORD dwCallerIDNameOffset;
DWORD dwCalledIDFlags;
DWORD dwCalledIDSize;
DWORD dwCalledIDOffset;
DWORD dwCalledIDNameSize;
DWORD dwCalledIDNameOffset;
DWORD dwConnectedIDFlags;
DWORD dwConnectedIDSize;
DWORD dwConnectedIDOffset;
DWORD dwConnectedIDNameSize;
DWORD dwConnectedIDNameOffset;
DWORD dwRedirectionIDFlags;
DWORD dwRedirectionIDSize;
DWORD dwRedirectionIDOffset;
DWORD dwRedirectionIDNameSize;
DWORD dwRedirectionIDNameOffset;
DWORD dwRedirectingIDFlags;
DWORD dwRedirectingIDSize;
DWORD dwRedirectingIDOffset;
DWORD dwRedirectingIDNameSize;
DWORD dwRedirectingIDNameOffset;
DWORD dwAppNameSize;
DWORD dwAppNameOffset;
DWORD dwDisplayableAddressSize;
DWORD dwDisplayableAddressOffset;
DWORD dwCalledPartySize;
DWORD dwCalledPartyOffset;
DWORD dwCommentSize;
DWORD dwCommentOffset;
DWORD dwDisplaySize;
DWORD dwDisplayOffset;
DWORD dwUserUserInfoSize;
DWORD dwUserUserInfoOffset;
DWORD dwHighLevelCompSize;
DWORD dwHighLevelCompOffset;
DWORD dwLowLevelCompSize;
DWORD dwLowLevelCompOffset;
DWORD dwChargingInfoSize;
DWORD dwChargingInfoOffset;
DWORD dwTerminalModesSize;
DWORD dwTerminalModesOffset;
DWORD dwDevSpecificSize;
DWORD dwDevSpecificOffset;
DWORD dwCallTreatment;
DWORD dwCallDataSize;
DWORD dwCallDataOffset;
DWORD dwSendingFlowspecSize;
DWORD dwSendingFlowspecOffset;
DWORD dwReceivingFlowspecSize;
DWORD dwReceivingFlowspecOffset;
} LINECALLINFO, FAR *LPLINECALLINFO;
Members
-
dwTotalSize
-
The total size in bytes allocated to this data structure.
-
dwNeededSize
-
The size in bytes for this data structure that is needed to hold all the returned information.
-
dwUsedSize
-
The size in bytes of the portion of this data structure that contains useful information.
-
hLine
-
The handle for the line device with which this call is associated.
-
dwLineDeviceID
-
The device identifier of the line device with which this call is associated.
-
dwAddressID
-
The address identifier of the address on the line on which this call exists.
-
dwBearerMode
-
The current bearer mode of the call. This member uses the following LINEBEARERMODE_ constants:
-
LINEBEARERMODE_VOICE
-
A regular 3.1 kHz analog voice grade bearer service. Bit integrity is not assured. Voice can support fax and modem media modes.
-
LINEBEARERMODE_SPEECH
-
Corresponds to G.711 speech transmission on the call. The network can use processing techniques such as analog transmission, echo cancellation, and compression/decompression. Bit integrity is not assured. Speech is not intended to support fax and modem media modes.
-
LINEBEARERMODE_MULTIUSE
-
The multiuse mode defined by ISDN.
-
LINEBEARERMODE_DATA
-
The unrestricted data transfer on the call. The data rate is specified separately.
-
LINEBEARERMODE_ALTSPEECHDATA
-
The alternate transfer of speech or unrestricted data on the same call (ISDN).
-
LINEBEARERMODE_NONCALLSIGNALING
-
A non-call-associated signaling connection from the application to the service provider or switch (treated as a "media stream" by TAPI).
-
LINEBEARERMODE_PASSTHROUGH
-
When a call is active in LINEBEARERMODE_PASSTHROUGH, the service provider gives direct access to the attached hardware for control by the application. This mode is used primarily by applications desiring temporary direct control over asynchronous modems, accessed through the Win32 comm functions, for the purpose of configuring or using special features not otherwise supported by the service provider.
-
dwRate
-
The rate of the call's data stream in bps (bits per second).
-
dwMediaMode
-
Specifies the media mode of the information stream currently on the call. This is the media mode as determined by the owner of the call, which is not necessarily the same as that of the last LINE_MONITORMEDIA message. This member is not directly affected by the LINE_MONITORMEDIA messages. This member uses the following LINEMEDIAMODE_ constants:
-
LINEMEDIAMODE_UNKNOWN
-
A media stream exists but its mode is not known. This corresponds to a call with an unclassified media type. In typical analog telephony environments, an incoming call's media mode may be unknown until after the call has been answered and the media stream has been filtered to make a determination.
-
LINEMEDIAMODE_INTERACTIVEVOICE
-
The presence of voice energy is detected on the call and the call is treated as an interactive call with humans on both ends.
-
LINEMEDIAMODE_AUTOMATEDVOICE
-
The presence of voice energy is detected on the call and the voice is locally handled by an automated application.
-
LINEMEDIAMODE_DATAMODEM
-
A datamodem session is detected on the call.
-
LINEMEDIAMODE_G3FAX
-
A group 3 fax is being sent or received on the call.
-
LINEMEDIAMODE_G4FAX
-
A group 4 fax is being sent or received on the call.
-
LINEMEDIAMODE_TDD
-
A TDD (Telephony Devices for the Deaf) session on the call.
-
LINEMEDIAMODE_DIGITALDATA
-
Digital data being sent or received on the call.
-
LINEMEDIAMODE_TELETEX
-
A teletex session on the call. Teletex is one of the telematic services.
-
LINEMEDIAMODE_VIDEOTEX
-
A videotex session on the call. Videotex is one of the telematic services.
-
LINEMEDIAMODE_TELEX
-
A telex session on the call. Telex is one of the telematic services.
-
LINEMEDIAMODE_MIXED
-
A mixed session on the call. Mixed is one of the ISDN telematic services.
-
LINEMEDIAMODE_ADSI
-
An ADSI (Analog Display Services Interface) session on the call.
-
LINEMEDIAMODE_VOICEVIEW
-
The media mode of the call is VoiceView.
-
dwAppSpecific
-
Uninterpreted by the API implementation and service provider. It can be set by any owner application of this call with the lineSetAppSpecific function.
-
dwCallID
-
In some telephony environments, the switch or service provider can assign a unique identifier to each call. This allows the call to be tracked across transfers, forwards, or other events. The domain of these call IDs and their scope is service provider-defined. The dwCallID member makes this unique identifier available to the applications.
-
dwRelatedCallID
-
Telephony environments that use the call ID often may find it necessary to relate one call to another. The dwRelatedCallID member may be used by the service provider for this purpose.
-
dwCallParamFlags
-
A collection of call-related parameters when the call is outgoing. These are the same call parameters specified in lineMakeCall, of type LINECALLPARAMFLAGS_. Values are:
-
LINECALLPARAMFLAGS_SECURE
-
The call is currently secure. This flag is also updated if the call is later secured through lineSecureCall.
-
LINECALLPARAMFLAGS_IDLE
-
The call started out using an idle call.
-
LINECALLPARAMFLAGS_BLOCKID
-
The originator identity was concealed (block caller ID presentation to the remote party).
-
LINECALLPARAMFLAGS_ORIGOFFHOOK
-
The originator's phone was automatically taken offhook.
-
LINECALLPARAMFLAGS_DESTOFFHOOK
-
The called party's phone was automatically taken offhook.
-
dwCallStates
-
The call states of type LINECALLSTATE_ for which the application can be notified on this call. The dwCallStates member is constant in LINECALLINFO and does not change depending on the call state. Values are:
-
LINECALLSTATE_IDLE
-
The call is idle—no call exists.
-
LINECALLSTATE_OFFERING
-
The call is being offered to the station signaling the arrival of a new call. In some environments, a call in the offering state does not automatically alert the user; alerting is done by the switch instructing the line to ring. It does not affect any call states.
-
LINECALLSTATE_ACCEPTED
-
The call was offering and has been accepted. This indicates to other (monitoring) applications that the current owner application has claimed responsibility for answering the call. In ISDN, this also initiates alerting to both parties.
-
LINECALLSTATE_DIALTONE
-
The call is receiving a dial tone from the switch, which means that the switch is ready to receive a dialed number.
-
LINECALLSTATE_DIALING
-
Destination address information (a phone number) is being sent to the switch on the call. The lineGenerateDigits function does not place the line into the dialing state.
-
LINECALLSTATE_RINGBACK
-
The call is receiving ringback from the called address. Ringback indicates that the other station has been reached and is being alerted.
-
LINECALLSTATE_BUSY
-
The call is receiving a busy tone. Busy tone indicates that the call cannot be completed—either a circuit (trunk) or the remote party's station are in use.
-
LINECALLSTATE_SPECIALINFO
-
Special information is sent by the network. Special information is typically sent when the destination cannot be reached.
-
LINECALLSTATE_CONNECTED
-
The call has been established, the connection is made. Information is able to flow on the call between the originating address and the destination address.
-
LINECALLSTATE_PROCEEDING
-
Dialing has completed and the call is proceeding through the switch or telephone network.
-
LINECALLSTATE_ONHOLD
-
The call is on hold by the switch.
-
LINECALLSTATE_CONFERENCED
-
The call is currently a member of a multiparty conference call.
-
LINECALLSTATE_ONHOLDPENDCONF
-
The call is currently on hold while it is being added to a conference.
-
LINECALLSTATE_ONHOLDPENDTRANSF
-
The call is currently on hold awaiting transfer to another number.
-
LINECALLSTATE_DISCONNECTED
-
The remote party has disconnected from the call.
-
LINECALLSTATE_UNKNOWN
-
The state of the call is not known. This may be due to limitations of the call progress detection implementation.
-
dwMonitorDigitModes
-
The various digit modes of type LINEDIGITMODE_ for which monitoring is currently enabled. Values are:
-
LINEDIGITMODE_PULSE
-
Uses pulse/rotary for digit signaling.
-
LINEDIGITMODE_DTMF
-
Uses DTMF tones for digit signaling.
-
LINEDIGITMODE_DTMFEND
-
Uses DTMF tones for digit detection, and also detects the down edges.
-
dwMonitorMediaModes
-
The various media modes for which monitoring is currently enabled, of type LINEMEDIAMODE_. Values are:
-
LINEMEDIAMODE_INTERACTIVEVOICE
-
The presence of voice energy on the call and the call is treated as an interactive call with humans on both ends.
-
LINEMEDIAMODE_AUTOMATEDVOICE
-
The presence of voice energy on the call and the voice is locally handled by an automated application.
-
LINEMEDIAMODE_DATAMODEM
-
A datamodem session on the call.
-
LINEMEDIAMODE_G3FAX
-
A group 3 fax is being sent or received on the call.
-
LINEMEDIAMODE_G4FAX
-
A group 4 fax is being sent or received on the call.
-
LINEMEDIAMODE_TDD
-
A TDD (Telephony Devices for the Deaf) session on the call.
-
LINEMEDIAMODE_DIGITALDATA
-
Digital data is being sent or received on the call.
-
LINEMEDIAMODE_TELETEX
-
A teletex session on the call. Teletex is one of the telematic services.
-
LINEMEDIAMODE_VIDEOTEX
-
A videotex session on the call. Videotex is one of the telematic services.
-
LINEMEDIAMODE_TELEX
-
A telex session on the call. Telex is one of the telematic services.
-
LINEMEDIAMODE_MIXED
-
A mixed session on the call. Mixed is one of the ISDN telematic services.
-
LINEMEDIAMODE_ADSI
-
An ADSI (Analog Display Services Interface) session on the call.
-
LINEMEDIAMODE_VOICEVIEW
-
The media mode of the call is VoiceView.
-
DialParams
-
The dialing parameters currently in effect on the call, of type LINEDIALPARAMS. Unless these parameters are set by either lineMakeCall or lineSetCallParams, their values are the same as the defaults used in the LINEDEVCAPS structure.
-
dwOrigin
-
Identifies where the call originated from. This member uses the following LINECALLORIGIN_ constants:
-
LINECALLORIGIN_OUTBOUND
-
The call is an outgoing call.
-
LINECALLORIGIN_INTERNAL
-
The call is incoming and originated internally (on the same PBX, for example).
-
LINECALLORIGIN_EXTERNAL
-
The call is incoming and originated externally.
-
LINECALLORIGIN_UNKNOWN
-
The call is an incoming call and its origin is currently unknown but may become known later.
-
LINECALLORIGIN_UNAVAIL
-
The call is an incoming call. Its origin is not available and can never become known for this call.
-
LINECALLORIGIN_CONFERENCE
-
The call handle is for a conference call, that is, the application's connection to the conference bridge in the switch.
-
dwReason
-
The reason why the call occurred. This member uses the following LINECALLREASON_ constants:
-
LINECALLREASON_DIRECT
-
A direct call.
-
LINECALLREASON_FWDBUSY
-
The call was forwarded from another extension that was busy at the time of the call.
-
LINECALLREASON_FWDNOANSWER
-
The call was forwarded from another extension that didn't answer the call after some number of rings.
-
LINECALLREASON_FWDUNCOND
-
The call was forwarded unconditionally from another number.
-
LINECALLREASON_PICKUP
-
The call was picked up from another extension.
-
LINECALLREASON_UNPARK
-
The call was retrieved as a parked call.
-
LINECALLREASON_REDIRECT
-
The call was redirected to this station.
-
LINECALLREASON_CALLCOMPLETION
-
The call was the result of a call completion request.
-
LINECALLREASON_TRANSFER
-
The call has been transferred from another number. Party identifier information may indicate who the caller is and where the call was transferred from.
-
LINECALLREASON_REMINDER
-
The call is a reminder (or "recall") that the user has a call parked or on hold for a potentially long time.
-
LINECALLREASON_UNKNOWN
-
The reason for the call is currently unknown but may become known later.
-
LINECALLREASON_UNAVAIL
-
The reason for the call is unavailable and cannot become known later.
-
dwCompletionID
-
The completion identifier for the incoming call if it is the result of a completion request that terminates. This identifier is meaningful only if dwReason is LINECALLREASON_CALLCOMPLETION.
-
dwNumOwners
-
The number of application modules with different call handles with owner privilege for the call.
-
dwNumMonitors
-
The number of application modules with different call handles with monitor privilege for the call.
-
dwCountryCode
-
The country code of the destination party. Zero if unknown.
-
dwTrunk
-
The number of the trunk over which the call is routed. This member is used for both incoming and outgoing calls. The dwTrunk member should be set to 0xFFFFFFFF if it is unknown.
-
dwCallerIDFlags
-
Determines the validity and content of the caller party identifier information. The caller is the originator of the call. This member uses the following LINECALLPARTYID_ constants:
-
LINECALLPARTYID_BLOCKED
-
Caller ID information for the call has been blocked by the caller but would otherwise have been available.
-
LINECALLPARTYID_OUTOFAREA
-
Caller ID information for the call is not available because it is not propagated all the way by the network.
-
LINECALLPARTYID_NAME
-
The caller ID information for the call is the caller's name (from a table maintained inside the switch). It is provided in the caller ID name variably sized field.
-
LINECALLPARTYID_ADDRESS
-
The caller ID information for the call is the caller's number and is provided in the caller ID variably sized field.
-
LINECALLPARTYID_PARTIAL
-
Caller ID information for the call is valid but is limited to partial number information.
-
LINECALLPARTYID_UNKNOWN
-
Caller ID information is currently unknown but it may become known later.
-
LINECALLPARTYID_UNAVAIL
-
Caller ID information is unavailable and cannot become known later.
-
dwCallerIDSize
-
dwCallerIDOffset
-
The size in bytes of the variably sized field containing the caller party ID number information, and the offset in bytes from the beginning of this data structure.
-
dwCallerIDNameSize
-
dwCallerIDNameOffset
-
The size in bytes of the variably sized field containing the caller party ID name information, and the offset in bytes from the beginning of this data structure.
-
dwCalledIDFlags
-
Determines the validity and content of the called-party ID information. The called party corresponds to the originally addressed party. This member uses the following LINECALLPARTYID_ constants:
-
LINECALLPARTYID_BLOCKED
-
Called ID information for the call has been blocked by the caller but would otherwise have been available.
-
LINECALLPARTYID_OUTOFAREA
-
Caller ID information for the call is not available because it is not propagated all the way by the network.
-
LINECALLPARTYID_NAME
-
The called ID information for the call is the caller's name (from a table maintained inside the switch). It is provided in the called ID name variably sized field.
-
LINECALLPARTYID_ADDRESS
-
The called ID information for the call is the caller's number and is provided in the called ID variably sized field.
-
LINECALLPARTYID_PARTIAL
-
Called ID information for the call is valid but is limited to partial number information.
-
LINECALLPARTYID_UNKNOWN
-
Called ID information is currently unknown but it may become known later.
-
LINECALLPARTYID_UNAVAIL
-
Called ID information is unavailable and cannot become known later.
-
dwCalledIDSize
-
dwCalledIDOffset
-
The size in bytes of the variably sized field containing the called-party ID number information, and the offset in bytes from the beginning of this data structure.
-
dwCalledIDNameSize
-
dwCalledIDNameOffset
-
The size in bytes of the variably sized field containing the called-party ID name information, and the offset in bytes from the beginning of this data structure.
-
dwConnectedIDFlags
-
Determines the validity and content of the connected party ID information. The connected party is the party that was actually connected to. This may be different from the called-party ID if the call was diverted. This member uses the following LINECALLPARTYID_ constants:
-
LINECALLPARTYID_BLOCKED
-
Connected party identifier information for the call has been blocked by the caller but would otherwise have been available.
-
LINECALLPARTYID_OUTOFAREA
-
Connected identifier information for the call is not available as it is not propagated all the way by the network.
-
LINECALLPARTYID_NAME
-
The connected party identifier information for the call is the caller's name (from a table maintained inside the switch). It is provided in the connected identifier name variably sized field.
-
LINECALLPARTYID_ADDRESS
-
The connected party identifier information for the call is the caller's number and is provided in the connected identifier variably sized field.
-
LINECALLPARTYID_PARTIAL
-
Connected party identifier information for the call is valid but is limited to partial number information.
-
LINECALLPARTYID_UNKNOWN
-
Connected party identifier information is currently unknown but it may become known later.
-
LINECALLPARTYID_UNAVAIL
-
Connected party identifier information is unavailable and cannot become known later.
-
dwConnectedIDSize
-
dwConnectedIDOffset
-
The size in bytes of the variably sized field containing the connected party identifier number information, and the offset in bytes from the beginning of this data structure.
-
dwConnectedIDNameSize
-
dwConnectedIDNameOffset
-
The size in bytes of the variably sized field containing the connected party identifier name information, and the offset in bytes from the beginning of this data structure.
-
dwRedirectionIDFlags
-
Determines the validity and content of the redirection party identifier information. The redirection party identifies to the calling user the number toward which diversion was invoked. This member uses the following LINECALLPARTYID_ constants:
-
LINECALLPARTYID_BLOCKED
-
Redirection party identifier information for the call has been blocked by the caller but would otherwise have been available.
-
LINECALLPARTYID_OUTOFAREA
-
Redirection identifier information for the call is not available because it is not propagated all the along the network.
-
LINECALLPARTYID_NAME
-
The redirection party identifier information for the call is the caller's name (from a table maintained inside the switch). It is provided in the redirection identifier name variably sized field.
-
LINECALLPARTYID_ADDRESS
-
The redirection party identifier information for the call is the caller's number and is provided in the redirection identifier variably sized field.
-
LINECALLPARTYID_PARTIAL
-
Redirection party identifier information for the call is valid but is limited to partial number information.
-
LINECALLPARTYID_UNKNOWN
-
Redirection identifier information is currently unknown but it may become known later.
-
LINECALLPARTYID_UNAVAIL
-
Redirection identifier information is unavailable and cannot become known later.
-
dwRedirectionIDSize
-
dwRedirectionIDOffset
-
The size in bytes of the variably sized field containing the redirection party identifier number information, and the offset in bytes from the beginning of this data structure.
-
dwRedirectionIDNameSize
-
dwRedirectionIDNameOffset
-
The size in bytes of the variably sized field containing the redirection party identifier name information, and the offset in bytes from the beginning of this data structure.
-
dwRedirectingIDFlags
-
Determines the validity and content of the redirecting party identifier information. The party that received the call identifies the new destination number or whatever information is detected to the call originator. This member uses the following LINECALLPARTYID_ constants:
-
LINECALLPARTYID_BLOCKED
-
Redirecting party identifier information for the call has been blocked by the caller but would otherwise have been available.
-
LINECALLPARTYID_OUTOFAREA
-
Redirecting identifier information for the call is not available because it is not propagated all the way by the network.
-
LINECALLPARTYID_NAME
-
The redirecting party identifier information for the call is the caller's name (from a table maintained inside the switch). It is provided in the redirecting identifier name variably sized field.
-
LINECALLPARTYID_ADDRESS
-
The redirecting party identifier information for the call is the caller's number and is provided in the redirecting identifier variably sized field.
-
LINECALLPARTYID_PARTIAL
-
Redirecting party identifier information for the call is valid but is limited to partial number information.
-
LINECALLPARTYID_UNKNOWN
-
Redirecting identifier information is currently unknown but it may become known later.
-
LINECALLPARTYID_UNAVAIL
-
Redirecting identifier information is unavailable and cannot become known later.
-
dwRedirectingIDSize
-
dwRedirectingIDOffset
-
The size in bytes of the variably sized field containing the redirecting party identifier number information, and the offset in bytes from the beginning of this data structure.
-
dwRedirectingIDNameSize
-
dwRedirectingIDNameOffset
-
The size in bytes of the variably sized field containing the redirecting party identifier name information, and the offset in bytes from the beginning of this data structure.
-
dwAppNameSize
-
dwAppNameOffset
-
The size in bytes and the offset in bytes from the beginning of this data structure of the variably sized field holding the user-friendly application name of the application that first originated, accepted, or answered the call. This is the name that an application can specify in lineInitializeEx. If the application specifies no such name, then the application's module filename is used instead.
-
dwDisplayableAddressSize
-
dwDisplayableAddressOffset
-
The displayable string is used for logging purposes. The information is obtained from LINECALLPARAMS for functions that initiate calls. The lineTranslateAddress function returns appropriate information to be placed in this field in the dwDisplayableAddressSize and dwDisplayableAddressOffset members of the LINETRANSLATEOUTPUT structure.
-
dwCalledPartySize
-
dwCalledPartyOffset
-
The size in bytes of the variably sized field holding a user-friendly description of the called party, and the offset in bytes from the beginning of this data structure. This information can be specified with lineMakeCall and can be optionally specified in the lpCallParams parameter whenever a new call is established. It is useful for call logging purposes.
-
dwCommentSize
-
dwCommentOffset
-
The size in bytes of the variably sized field holding a comment about the call provided by the application that originated the call using lineMakeCall, and the offset in bytes from the beginning of this data structure. This information can be optionally specified in the lpCallParams parameter whenever a new call is established.
-
dwDisplaySize
-
dwDisplayOffset
-
The size in bytes of the variably sized field holding raw display information, and the offset in bytes from the beginning of this data structure. Depending on the telephony environment, a service provider may extract functional information from this member pair for formatting and presentation most appropriate for this telephony configuration.
-
dwUserUserInfoSize
-
dwUserUserInfoOffset
-
The size in bytes of the variably sized field holding user-user information, and the offset in bytes from the beginning of this data structure The protocol discriminator field for the user-user information, if used, appears as the first byte of the data pointed to by dwUserUserInfoOffset, and is accounted for in dwUserUserInfoSize.
-
dwHighLevelCompSize
-
dwHighLevelCompOffset
-
The size in bytes of the variably sized field holding high-level compatibility information, and the offset in bytes from the beginning of this data structure. The format of this information is specified by other standards (ISDN Q.931).
-
dwLowLevelCompSize
-
dwLowLevelCompOffset
-
The size in bytes of the variably sized field holding low-level compatibility information, and the offset in bytes from the beginning of this data structure. The format of this information is specified by other standards (ISDN Q.931).
-
dwChargingInfoSize
-
dwChargingInfoOffset
-
The size in bytes of the variably sized field holding charging information, and the offset in bytes from the beginning of this data structure. The format of this information is specified by other standards (ISDN Q.931).
-
dwTerminalModesSize
-
dwTerminalModesOffset
-
The size in bytes of the variably sized device field containing an array with DWORD-sized entries, and the offset in bytes from the beginning of this data structure. The set of LINETERMMODE_ constants is indexed by terminal identifiers, in the range from zero to one less than dwNumTerminals. Each entry in the array specifies the current terminal modes for the corresponding terminal set with the lineSetTerminal function for this call's media stream. Values are:
-
LINETERMMODE_LAMPS
-
Lamp events sent from the line to the terminal.
-
LINETERMMODE_BUTTONS
-
Button-press events sent from the terminal to the line.
-
LINETERMMODE_DISPLAY
-
Display information sent from the line to the terminal.
-
LINETERMMODE_RINGER
-
Ringer-control information sent from the switch to the terminal.
-
LINETERMMODE_HOOKSWITCH
-
Hookswitch event sent between the terminal and the line.
-
LINETERMMODE_MEDIATOLINE
-
The unidirectional media stream from the terminal to the line associated with a call on the line. Use this value when the routing of both unidirectional channels of a call's media stream can be controlled independently.
-
LINETERMMODE_MEDIAFROMLINE
-
The unidirectional media stream from the line to the terminal associated with a call on the line. Use this value when the routing of both unidirectional channels of a call's media stream can be controlled independently.
-
LINETERMMODE_MEDIABIDIRECT
-
The bidirectional media stream associated with a call on the line and the terminal. Use this value when the routing of both the unidirectional channels of a call's media stream cannot be controlled independently.
-
dwDevSpecificSize
-
dwDevSpecificOffset
-
The size in bytes of the variably sized field holding device-specific information., and the offset in bytes from the beginning of this data structure.
-
dwCallTreatment
-
The call treatment currently being applied on the call or that is applied when the call enters the next applicable state. Can be zero if call treatments are not supported.
-
dwCallDataSize
-
dwCallDataOffset
-
The size in bytes and offset from the beginning of LINECALLINFO of the application-settable call data.
-
dwSendingFlowspecSize
-
dwSendingFlowspecOffset
-
The total size in bytes and offset from the beginning of LINECALLINFO of a WinSock2 FLOWSPEC structure followed by WinSock2 provider-specific data, equivalent to what would have been stored in SendingFlowspec.len in a WinSock2 QOS structure. Specifies the quality of service current in effect in the sending direction on the call. The provider-specific portion following the FLOWSPEC structure must not contain pointers to other blocks of memory, because TAPI does not know how to marshal the data pointed to by the private pointer(s) and convey it through interprocess communication to the application.
-
dwReceivingFlowspecSize
-
dwReceivingFlowspecOffset
-
The total size in bytes and offset from the beginning of LINECALLINFO of a WinSock2 FLOWSPEC structure followed by WinSock2 provider-specific data, equivalent to what would have been stored in ReceivingFlowspec.len in a WinSock2 QOS structure. Specifies the quality of service current in effect in the receiving direction on the call. The provider-specific portion following the FLOWSPEC structure must not contain pointers to other blocks of memory, because TAPI does not know how to marshal the data pointed to by the private pointer(s) and convey it through interprocess communication to the application.
Remarks
Device-specific extensions should use the DevSpecific (dwDevSpecificSize and dwDevSpecificOffset) variably sized area of this data structure.
The LINECALLINFO data structure contains relatively fixed information about a call. This structure is returned with lineGetCallInfo. When information items in this data structure have changed, a LINE_CALLINFO message is sent to the application. A parameter to this message is the information item or field that changed.
The members dwCallTreatment through dwReceivingFlowspecOffset are available only to applications that open the line device with an API version of 2.0 or later.
Note The preferred format for specification of the contents of the dwCallID field and the other five similar fields (dwCallerIDFlag, dwCallerIDSize, dwCallerIDOffset, dwCallerIDNameSize, and dwCallerIDNameOffset) is the TAPI canonical number format. For example, a ICLID of "4258828080" received from the switch should be converted to "+1 (425) 8828080" before being placed in the LINECALLINFO structure. This standardized format facilitates searching of databases and callback functions implemented in applications.
QuickInfo
Version: Use TAPI version 1.4 and later.
Header: Declared in tapi.h.
See Also
LINE_CALLINFO, LINE_MONITORMEDIA, LINECALLSTATUS, LINEDEVCAPS, LINEDIALPARAMS, lineGenerateDigits, lineGetCallInfo, lineGetCallStatus, lineInitializeEx, lineMakeCall, lineSecureCall, lineSetAppSpecific, lineSetCallParams, lineSetTerminal, lineTranslateAddress, LINETRANSLATEOUTPUT