#include <pjsua.h>
This structure describes additional information to be sent with outgoing SIP message. It can (optionally) be specified for example with pjsua_call_make_call(), pjsua_call_answer(), pjsua_call_hangup(), pjsua_call_set_hold(), pjsua_call_send_im(), and many more.
Application MUST call pjsua_msg_data_init() to initialize this structure before setting its values.
Forward declaration for pjsua_msg_data
◆ target_uri
◆ hdr_list
Additional message headers as linked list. Application can add headers to the list by creating the header, either from the heap/pool or from temporary local variable, and add the header using linked list operation. See pjsua_app.c for some sample codes.
◆ content_type
MIME type of optional message body.
◆ msg_body
Optional message body to be added to the message, only when the message doesn't have a body.
◆ multipart_ctype
Content type of the multipart body. If application wants to send multipart message bodies, it puts the parts in parts and set the content type in multipart_ctype. If the message already contains a body, the body will be added to the multipart bodies.
◆ multipart_parts
List of multipart parts. If application wants to send multipart message bodies, it puts the parts in parts and set the content type in multipart_ctype. If the message already contains a body, the body will be added to the multipart bodies.
The documentation for this struct was generated from the following file: