(Page 10 of 23 in this chapter) Version
nccHoldCall
Description
- Puts a call on hold.
Prototype
- DWORD nccHoldCall ( NCC_CALLHD callhd,
void *holdparms )
- callhd Call handle of the call to put on hold.
- holdparms Pointer to protocol-specific CT Access call hold parameter structure. Specify NULL to use default values. See protocol-specific documentation for details.
Return Values
Events
Details
- This function puts a call on hold. There is no call state transition. However, a call on hold is no longer Active. Since there are no Active calls currently on the line, the line state changes to Idle.
- The call is on hold only after the application receives an NCCEVN_CALL_HELD event. The held field in the NCC_CALL_STATUS structure is set to a non-zero value.
- Use nccRetrieveCall to unhold a call.
- Some protocols do not support the capability to put a call on hold. The application can determine if the protocol supports call hold/retrieve by examining the NCC_CAP_HOLD_CALL bit in the capabilitymask returned by nccQueryCapability.
- Some protocols allow a call to be put on hold only from the Connected state. The application can determine whether or not a call can be put on hold from any state by examining the NCC_CAP_HOLD_IN_ANY_STATE bit in the capabilitymask returned by nccQueryCapability.
- The application may perform media functions on a held call (i.e., play user voice file, or play silence) using a CT Access media service.
See Also
- nccRetrieveCall, nccTransferCall
(Page 10 of 23 in this chapter) Version
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights
reserved.