LINECONNECTEDMODE_ Constants
The LINECONNECTEDMODE_ bit-flag constants describe different substates of a
connected call. A mode is available as call status to the application after the
call state transitions to
connected, and within the LINE_CALLSTATE message indicating the call is in
LINECALLSTATE_CONNECTED. These values are used when the call is on an address that is
shared (bridged) with other stations (see the LINEADDRESSSHARING_ constants),
primarily electronic key systems. The LINECONNECTEDMODE_ constants have the following
values:
LINECONNECTEDMODE_ACTIVE
Indicates that the call is connected at the current station (the current
station is a participant in the call). If the call state mode is 0 (zero), the
application should assume that the value is "active" (which would be the situation
on a non-bridged address). The mode may switch between ACTIVE and INACTIVE
during a call if the user joins and leaves the call through manual action. In such a
bridged situation, a
lineDrop or
lineHold operation may possibly not actually drop the call or place it on hold,
because the status of other stations on the call may govern (for example, attempting
to "hold" a call when other stations are participating won't be possible);
instead, the call may simply be changed to the INACTIVE mode if it remains
CONNECTED at other stations.
LINECONNECTEDMODE_INACTIVE
Indicates that the call is active at one or more other stations, but the
current station is not a participant in 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). A call in the INACTIVE state may be joined
using
lineAnswer. Many operations that are valid in calls in the CONNECTED state may be
impossible in the INACTIVE mode, such as monitoring for tones and digits, because the
station is not actually participating in the call; monitoring is usually
suspended (although not canceled) while the call is in the INACTIVE mode.
LINECONNECTEDMODE_ACTIVEHELD
Indicates that the station is an active participant in the call, but that the
remote party has placed the call on hold (the other party considers the call to
be in the
onhold state). Normally, such information is available only when both endpoints of
the call fall within the same switching domain.
LINECONNECTEDMODE_INACTIVEHELD
Indicates that the station is not an active participant in the call, and that
the remote party has placed the call on hold.
LINECONNECTEDMODE_CONFIRMED
Indicates that the service provider received affirmative notification that the
call has entered the connected state (for example, through answer supervision
or similar mechanisms).
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
LINECONNECTEDMODE_ values if not supported on the negotiated version. It should be
noted that applications which are not cognizant of LINECONNECTEDMODE_ will most
likely assume that a call that is in LINECALLSTATE_CONNECTED is in
LINECONNECTEDMODE_ACTIVE.
The LINECONNECTEDMODE_ACTIVE and LINECONNECTEDMODE_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
connected call state mode is "active," it means that the call is connected at the
current station (the current station is a participant in the call). If the call
state mode is "inactive," the call is active at one or more other stations, but the
current station is not a participant in 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). The mode may switch between ACTIVE and
INACTIVE during a call if the user joins and leaves the call through manual
action.
In such a bridged situation, a
lineDrop or
lineHold operation may possibly not actually drop the call or place it on hold,
because the status of other stations on the call may govern (for example, attempting
to "hold" a call when other stations are participating will not be possible);
instead, the call may simply be changed to the INACTIVE mode if it remains
connected at other stations. A call in the INACTIVE state may be joined using the
lineAnswer.
Many operations that are valid in calls in the
connected state may be impossible in the INACTIVE mode, such as monitoring for tones
and digits, because the station is not actually participating in the call;
monitoring is usually suspended (although not canceled) while the call is in the
INACTIVE mode.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database