HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
162 HP-UX C SIP Stack Programmer’s Guide
Creating a New SIP Message
return NULL;
/*Sets the URL parameters by parsing the encoded URL or setting parameters
with the Set functions.*/
RvSipAddrParse(uri, "sip:john@acme.com");
/*Adds other headers as needed...*/
/*Adds message body.*/
RvSipMsgSetBody(hMsg, "This is the message body");
return hMsg;
}
/*===================================================================================*/