LINEOFFERINGMODE_
Constants
The
LINEOFFERINGMODE_ bit-flag constants describe different substates of an
offering call. A mode is available as call status to the application after the
call state transitions to offering, and within the LINE_CALLSTATE
message indicating the call is in LINECALLSTATE_OFFERING. These values are used
when the call is on an address that is shared (bridged) with other stations
(see LINEADDRESSSHARING_ Constants), primarily electronic key systems.
LINEOFFERINGMODE_ACTIVE
Indicates
that the call is alerting at the current station (will be accompanied by
LINEDEVSTATE_RINGING messages), and if any application is set up to
automatically answer, it may do so. If the call state mode is ZERO, the
application should assume that the value is active (which would be the situation
on a non-bridged address).
LINEOFFERINGMODE_INACTIVE
Indicates
that the call is being offered at more than one station, but the current
station is not alerting (for example, it may be an attendant station where the
offering status is advisory, such as blinking a light); software at the station
set for automatic answering should preferably not answer the call, because this
should be the prerogative at the primary (alerting) station, but lineAnswer
Not extensible.
All 32 bits are reserved.
For backward
compatibility, it is the responsibility of the service provider to examine the
negotiated API version on the line, and to not use these LINEOFFERINGMODE_
values if not supported on the negotiated version. It should be noted that
applications which are not cognizant of LINEOFFERINGMODE_ will most likely
assume that a call that is in LINECALLSTATE_OFFERING is in
LINEOFFERINGMODE_ACTIVE.
The
LINEOFFERINGMODE_ACTIVE and LINEOFFERINGMODE_INACTIVE values are used when the
call is on an address that is shared with other stations (bridged; see
LINEADDRESSSHARING_ Constants), primarily electronic key systems. If the offering
call state mode is "active," it means that the call is alerting at
the current station (will be accompanied by LINEDEVSTATE_RINGING messages), and
if any application is set up to automatically answer, it may do so. If the call
state mode is "inactive," the call is being offered at more than one
station, but the current station is not alerting (for example, it may be an
attendant station where the offering status is advisory, such as blinking a
light); software at the station set for automatic answering should preferably
not answer the call, because this should be the prerogative at the primary
(alerting) station, but lineAnswer may be used to connect the call. If
the call state mode is ZERO, the application should assume that the value is active
(which would be the situation on a non-bridged address).