|
Field
|
Description
|
|---|
|
size
|
Number of bytes written at the address pointed to by callstatus.
|
|
state
|
Current call state. Possible state values are:
NCC_CALLSTATE_INVALID
NCC_CALLSTATE_SEIZURE
NCC_CALLSTATE_RECEIVING_DIGITS
NCC_CALLSTATE_INCOMING
NCC_CALLSTATE_ACCEPTING
NCC_CALLSTATE_ANSWERING
NCC_CALLSTATE_REJECTING
NCC_CALLSTATE_CONNECTED
NCC_CALLSTATE_DISCONNECTED
NCC_CALLSTATE_OUTBOUND_INITIATED
NCC_CALLSTATE_PLACING
NCC_CALLSTATE_PROCEEDING
|
|
calledaddr
|
For inbound calls, the address of the requested number, if provided (for example, DNIS, DID).
|
|
callingaddr
|
For inbound calls, the address of the caller, if provided (for example, caller ID, ANI).
|
|
callingname
|
For inbound calls, the name information of the caller, if provided.
|
|
pendingcmd
|
The last call control command issued that has not yet been acknowledged by the board. This field is set when a call control command is sent to the board, and cleared on the next event that corresponds the acknowledgment of the pending command.
Possible pendingcmd values are:
(0) No command pending.
NCC_PENDINGCMD_ACCEPT_CALL
NCC_PENDINGCMD_ANSWER_CALL
NCC_PENDINGCMD_AUTOMATIC_TRANSFER
NCC_PENDINGCMD_DISCONNECT_CALL
NCC_PENDINGCMD_HOLD_CALL
NCC_PENDINGCMD_PLACE_CALL
NCC_PENDINGCMD_REJECT_CALL
NCC_PENDINGCMD_RETRIEVE_CALL
NCC_PENDINGCMD_SET_BILLING
NCC_PENDINGCMD_TRANSFER_CALL
NCC_PENDINGCMD_RELEASE_CALL
|
|
held
|
Set to non-zero value when a call is held.
|
|
direction
|
Indicates inbound or outbound call. Possible values:
NCC_CALL_INBOUND
NCC_CALL_OUTBOUND
|
|
linehd
|
Line (context) handle on which the call resides.
|