You are here: SwitchKit® Development Environment - TCAP Interface User’s Guide > 2 SwitchKit Interface Module > SendReject()

SendReject()

Description

This method allows the user to send Reject for a given invoke ID and call reference ID. This does not clear the call reference ID therefore, you must send a prearranged end or basic end.

Syntax

int SendReject(int callrefid, SKIM_OCTET invokeId, SKIM_OCTET probType,

SKIM_OCTET probCode);

Parameters

The input parameter is shown in the next table. There are no input/output parameters.

Argument | Description
--- | ---
callrefid | Call reference ID to identify TCAP transaction for which Reject is being sent.
invokeId | Invoke ID identifies TCAP operation being rejected.
probType | Problem type as specified in Appendix A.
probCode | Reject problem code. As specified in Appendix A.

Return Values

Possible return values for this API are:

SKIM_SUCCESS | Method is successful. No failure has occurred.
SKIM return code | As defined in Appendix B SKIM Return Codes.

A sequence of eight bits.
See Transaction Capability Application Part.