|
ADI Function
|
NCC Counterpart
|
Description of Differences
|
|---|
|
adiAcceptIncomingAddress
|
(Implemented differently under NCC)
|
Under NCC, incoming digits change the call state to Receiving Digits. At any time while the call is in this state, the application can call nccAcceptCall, nccAnswerCall or nccRejectCall, depending upon the incoming digits.
|
|
adiAnswerCall
|
nccAnswerCall
|
nccAnswerCall takes a call handle instead of a context handle. It also takes an additional argument pointing to a protocol-specific answer parameter structure.
|
|
adiBlockCalls
|
nccBlockCalls
|
nccBlockCalls takes an additional argument pointing to a protocol-specific call blocking parameter structure. Successful completion of this function indicates that the line has changed to Blocking line state.
|
|
adiGetCallStatus
|
nccGetCallStatus, nccGetExtendedCallStatus, nccGetLineStatus
|
nccGetCallStatus returns the NCC_CALL_STATUS structure, containing protocol-independent information about a call. This function takes a call handle.
nccGetExtendedCallStatus returns a protocol-specific call status structure. This function takes a call handle.
nccGetLineStatus returns an NCC_LINE_STATUS structure containing information about the current line state. This function takes a context handle.
|
|
adiPlaceCall
|
nccPlaceCall
|
nccPlaceCall takes additional arguments: the calling address (caller ID); a pointer to a protocol-specific parameter structure; and the call handle to assign to the successfully initialized call. Another pointer references a structure containing the connectmask and disconnectmask. This structure references another containing call progress parameters.
|
|
adiPlaceSecondCall
|
|
Supervised transfer is implemented very differently under NCC. For details, see "Transferring Calls" above.
|
|
adiRejectCall
|
nccRejectCall
|
This function takes a call handle instead of a context handle. It also takes an additional argument pointing to a protocol-specific extended argument structure. Rejecting a call changes its call state to Rejecting. The application can then disconnect the call using nccDisconnectCall, and then release the call with nccReleaseCall.
|
|
adiReleaseCall
|
nccDisconnectCall, nccReleaseCall
|
These functions take call handles instead of context handles. They each also optionally take an additional argument pointing to a protocol-specific extended argument structure.
nccReleaseCall releases resources associated with a call, and destroys the call handle. It is invoked after the call is in Disconnected call state.
When a call is released, it is no longer in any state.
|
|
adiReleaseSecondCall
|
(Not needed under NCC)
|
Supervised transfer is implemented very differently under NCC. For details, see "Transferring Calls" above.
|
|
adiSetBilling
|
nccSetBilling
|
This function takes a call handle instead of a context handle. It also takes an additional argument pointing to a protocol-specific extended argument structure.
|
|
adiSetExtendedArgs
|
nccSendCallMessage, nccSendLineMessage
|
Under NCC, extended arguments can be sent in three ways:
· A pointer to an extended parameter structure can be included in almost every call control function invocation.
· nccSendCallMessage sends protocol-specific call messages to the protocol.
· nccSendLineMessage sends protocol-specific line messages to the protocol.
|
|
adiStartProtocol
|
nccStartProtocol
|
This function is called when the line is in Uninitialized line state. Successful starting of a protocol changes the line to Idle line state.
nccStartProtocol has three pointers. One references a protocol-independent parameter structure containing generic NCC protocol-starting parameters. The other two pointers reference manager-specific and protocol-specific protocol-starting parameter structures.
|
|
adiStopProtocol
|
nccStopProtocol
|
Successful execution of this command causes the line state to change to Uninitialized.
|
|
adiTransferCall
|
nccAutomaticTransfer
|
nccAutomaticTransfer takes a call handle instead of a context handle. It also takes additional arguments pointing to protocol-specific parameter structures.
|
|
adiUnBlockCalls
|
nccUnBlockCalls
|
nccUnBlockCalls takes an additional argument pointing to a protocol-specific call blocking parameter structure. Successful completion of this function indicates that the line has changed from Blocking line state to Idle line state.
|
|
(Protocol-specific operation, activated using extended arguments)
|
nccHoldCall
|
New function, not included in ADI. In some protocols under ADI, call hold/retrieve was implemented using extended arguments.
|
|
(Protocol-specific operation, activated using extended arguments)
|
nccRetrieveCall
|
New function, not included in ADI. In some protocols under ADI, call hold/retrieve was implemented using extended arguments.
|