Share via


Challenge

The Challenge function initiates a SIP challenge response (401) for the current request.

voidChallenge(void);

Parameters

This function has no parameters.

Return Values

Returns true if challenge is successful; false if it is not.

Remarks

This function always sends a challenge when called. Before calling this function, the script must always check whether sipRequest.Authenticated is set to false.

The SIP challenge response is installation-specific (for example, if Kerberos is the primary authentication model supported by the server, than the challenge will be via Kerberos).

If the current message is not a request, a critical MSPL error is raised.