A call always has a definite state, which depends on whether the call is being established, is active, or has just ended. The call ends with state IDLE, at which point it you may remove it from your internal call management structures. You can also find the call states in file TAPI.H in your development environment. There the states have the prefix LINECALLSTATE_.
Identifier
|
Value (hexadecimal)
|
Description
|
IDLE
|
0x0001
|
Switch ready
|
OFFERING
|
0x0002
|
Incoming call
|
ACCEPTED
|
0x0004
|
User / device is handling the call
|
DIALTONE
|
0x0008
|
Receiver off hook
|
DIALING
|
0x0010
|
Caller is dialing
|
RINGBACK
|
0x0020
|
Ringing at other end
|
BUSY
|
0x0040
|
Telephone busy
|
SPECIALINFO
|
0x0080
|
Manufacturer-specific information
|
CONNECTED
|
0x0100
|
Parties connected
|
PROCEEDING
|
0x0200
|
Number complete, call is being established
|
ONHOLD
|
0x0400
|
Call held
|
CONFERENCED
|
0x0800
|
Call in conference
|
ONHOLDPENDCONF
|
0x1000
|
Conference is initiated
|
ONHOLDPENDTRANSFER
|
0x2000
|
Call is waiting for transfer
|
DISCONNECTED
|
0x4000
|
Call terminated
|
UNKNOWN
|
0x8000
|
Status unknown
|
See also
Constants overview
Send feedback to TAPIMaster®
© 2020 Tino Kasubke. All rights reserved.
|