HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
Contact Header Functions 317
Control Functions
RvSipContactHeaderParse()
RvSipContactHeaderParse()
DESCRIPTION
Parses a SIP textual Contact header into a Contact header. All the textual
parameters are placed inside the object. For example,
“Contact:sip:172.20.5.3:5060”.
Note Before performing the parse operation, the SIP Stack resets all the header
parameters. Therefore, if the parse function fails, you will not be able to get the
previous header parameter values.
SYNTAX
RvStatus RvSipContactHeaderParse(
INOUT RvSipContactHeaderHandle hHeader,
IN RvChar* buffer);
PARAMETERS
hHeader
A handle to the Contact header.
buffer
The buffer containing a textual Contact header.
RETURN VALUES
Returns RvStatus.
REMARKS
You must construct a Contact header before using this function.