Signals the far exchange that an incoming call was answered.
DWORD NMSAPI TUPConnectResp ( CTAHD ctahd, U8 board, TupSpId spId, TupInstId suInstId, TupInstId spInstId, CirIdx circuit, TupConRspEvnt *conRspEvnt)
Argument |
Description |
ctahd |
Natural Access handle. |
board |
TX board number. |
spId |
TUP service access point. |
suInstId |
Service user instance ID. |
spInstId |
Service provider instance ID. |
circuit |
Circuit index with which this message is associated. |
conRspEvnt |
Pointer to the caller's connect event structure containing all parameters (IEs) included in the answer message. |
Return value |
Description |
TUP_SUCCESS |
|
TUP_INVBOARD |
board is out of range. |
TUP_NOTBOUND |
Application failed to open the TUP service. |
TUP_OSERROR |
Error occurred accessing the driver. |
TUPConnectResp generates an answer (ANC, ANN, ANU) message to the far exchange. The only field that needs to be filled for this call is answerType in the conRspEvnt with ANU_NO_CHARGE, ANU_CHARGE, or ANU_UNQUALIFIED (not supported in China).