|
LINEADDRESSSTATUS
The LINEADDRESSSTATUS structure describes the current status of an address.
typedef struct lineaddressstatus_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
DWORD dwNumInUse;
DWORD dwNumActiveCalls;
DWORD dwNumOnHoldCalls;
DWORD dwNumOnHoldPendCalls;
DWORD dwAddressFeatures;
DWORD dwNumRingsNoAnswer;
DWORD dwForwardNumEntries;
DWORD dwForwardSize;
DWORD dwForwardOffset;
DWORD dwTerminalModesSize;
DWORD dwTerminalModesOffset;
DWORD dwDevSpecificSize;
DWORD dwDevSpecificOffset;
} LINEADDRESSSTATUS, FAR *LPLINEADDRESSSTATUS;
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.
dwNumInUse
Specifies the number of stations that are currently using the address.
dwNumActiveCalls
The number of calls on the address that are in call states other than idle, onhold, onholdpendingtransfer, and onholdpendingconference.
dwNumOnHoldCalls
The number of calls on the address in the onhold state.
dwNumOnHoldPendCalls
The number of calls on the address in the onholdpendingtransfer or onholdpendingconference state.
dwAddressFeatures
This field specifies the address-related API functions that can be invoked on
the address in its current state. It uses the following LINEADDRFEATURE_
constants:
LINEADDRFEATURE_FORWARD
The address can be forwarded.
LINEADDRFEATURE_MAKECALL
An outbound call can be placed on the address.
LINEADDRFEATURE_PICKUP
A call can be picked up at the address.
LINEADDRFEATURE_SETMEDIACONTROL
Media control can be set on this address.
LINEADDRFEATURE_SETTERMINAL
The terminal modes for this address can be set.
LINEADDRFEATURE_SETUPCONF
A conference call with a NULL initial call can be set up at this address.
LINEADDRFEATURE_UNCOMPLETECALL
Call completion requests can be canceled at this address.
LINEADDRFEATURE_UNPARK
Calls can be unparked using this address.
dwNumRingsNoAnswer
The number of rings set for this address before an unanswered call is
considered as no answer.
dwForwardNumEntries
The number of entries in the array referred to by dwForwardSize and dwForwardOffset.
dwForwardSize
dwForwardOffset
The size in bytes and the offset in bytes from the beginning of this data
structure of the variably sized field that describes the address's forwarding
information. This information is an array of dwForwardNumEntries elements, of type LINEFORWARD. The offsets of the addresses in the array are relative to the beginning of
the LINEADDRESSSTATUS structure. The offsets dwCallerAddressOffset and dwDestAddressOffset in the variably sized field of type LINEFORWARD pointed to by dwForwardSize and dwForwardOffset are relative to the beginning of the LINEADDRESSSTATUS data structure (the "root" container).
dwTerminalModesSize
dwTerminalModesOffset
The size in bytes and the offset in bytes from the beginning of this data
structure of the variably sized device field containing an array with DWORD-sized
entries, that use the LINETERMMODE_ constants. This array is indexed by terminal
IDs, 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 address. Values are:
LINETERMMODE_LAMPS
These are lamp events sent from the line to the terminal.
LINETERMMODE_BUTTONS
These are button-press events sent from the terminal to the line.
LINETERMMODE_DISPLAY
This is display information sent from the line to the terminal.
LINETERMMODE_RINGER
This is ringer-control information sent from the switch to the terminal.
LINETERMMODE_HOOKSWITCH
These are hookswitch events sent between the terminal and the line.
LINETERMMODE_MEDIATOLINE
This is 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
This is 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
This is the bidirectional media stream associated with a call on the line and
the terminal. Use this value when the routing of both unidirectional channels
of a call's media stream cannot be controlled independently.
dwDevSpecificSize
dwDevSpecificOffset
The size in bytes and the offset in bytes from the beginning of this data
structure of the variably sized device-specific field.
Remarks
Device-specific extensions should use the DevSpecific (dwDevSpecificSize and dwDevSpecificOffset) variably sized area of this data structure.
This data structure is returned by lineGetAddressStatus. When items in this data structure change as a consequence of activities on
the address, a LINE_ADDRESSSTATE message is sent to the application. A parameter
to this message is the address state, the constant LINEADDRESSSTATE_, which is
an indication that the status item in this record changed.
See Also
LINE_ADDRESSSTATE, LINEFORWARD, lineGetAddressStatus, lineSetTerminal
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|