Class for creation and manipulation optional elements in a SIP message.
Class provides functions for setting and getting optional elements in a SIP message. Optional elements include user SIP message headers, content and content type. Following headers are not considered to be user SIP message headers and cannot be set or retrieved using functions of this class: "Authentication-Info", "Call-Id", "CSeq", "From" "Max-Forwards", "Min-Expires", "Record-Route", "Security-Verify", "Service-Route", "To", "Via", "Security-Server", "Proxy-Authorization", "Proxy-Authenticate" and "WWW-Authenticate".
headers that user is allowed manipulate to a SIP message. An empty array resets the user headers. Note that the Content-Type header must be set using SetContentL.
Parameters:
aHeaders
an array of SIP headers. The ownership of objects in the array is transferred.