HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
22 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipMsgSetStatusCode()
RvSipMsgSetStatusCode()
DESCRIPTION
Sets a status code in the message status line. This will set the message to
represent a response message.
SYNTAX
RvStatus RvSipMsgSetStatusCode(
IN RvSipMsgHandle hSipMsg,
IN RvBool code,
IN RvBool insertDefaultReasonPhrase);
PARAMETERS
hSipMsg
The handle to a message.
code
Status response code to be set in the message.
insertDefaultReasonPhrase
Determines whether or not to insert a default reason phrase into the status line.
the reason phrase is set according to the code number.
RETURN VALUES
Returns RvStatus.