(Page 1 of 23 in this chapter)
Version
Chapter 8
Alphabetical Function Reference
8.1 Introduction
nccAcceptCall 103
nccAnswerCall 106
nccAutomaticTransfer 108
nccBlockCalls 112
nccDisconnectCall 114
nccGetCallStatus 115
nccGetExtendedCallStatus 118
nccGetLineStatus 119
nccHoldCall 121
nccPlaceCall 123
nccQueryCapability 126
nccRejectCall 127
nccReleaseCall 129
nccRetrieveCall 130
nccSendCallMessage 132
nccSendDigits 134
nccSendLineMessage 136
nccSetBilling 138
nccStartProtocol 140
nccStopProtocol 145
nccTransferCall 146
nccUnblockCalls 148
8.1 Introduction
This chapter provides a comprehensive, alphabetically-ordered reference to the NCC service functions. A prototype of each function is shown with the function description and details of all arguments and return values. A typical function description includes:
Prototype
The prototype is shown followed by a listing of the function's arguments. Natural MicroSystems data types include:
·
WORD
16 bit unsigned
·
DWORD
32-bit unsigned
·
INT16
16-bit signed
·
INT32
32-bit signed
·
BYTE
8-bit unsigned
If a function argument is a data structure, the complete data structure is defined.
Return Values
The return value for a function is either
SUCCESS
or an error code. For asynchronous functions, a return value of
SUCCESS
indicates the function was initiated; subsequent events indicate the status of the operation.
Refer to
Appendix A
for a listing of all errors returned by NCC service functions.
Events
If events are listed, the function is asynchronous and is complete when the
DONE
event is returned. If there are no events listed, the function is synchronous.
Additional information such as reason codes and return values may be provided in the
value
field of the event.
Refer to
Chapter 9
for details for all NCC service events and reason codes.
(Page 1 of 23 in this chapter)
Version
Want to send us feedback on our documentation? Email:
Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.