Changes between Version 128 and Version 129 of FAQ
- Timestamp:
- Feb 8, 2023 7:34:24 AM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v128 v129 816 816 If by user data you mean to send custom SIP headers in outgoing SIP messages, you can put the custom headers in the [http://www.pjsip.org/pjsip/docs/html/structpjsua__msg__data.htm pjsua_msg_data] structure, which you can specify when sending SIP requests (for example, when sending INVITE, IM message, etc.). This will be explained [#custom-header below]. 817 817 818 === How can I add a header or any header to outgoing INVITE? === #custom-header 818 === ~~How can I add a header or any header to outgoing INVITE?~~ (moved) === #custom-header 819 820 **Moved to https://docs.pjsip.org/en/latest/specific-guides/sip/custom_hdr.html** 819 821 820 822 You can put any headers in the [http://www.pjsip.org/pjsip/docs/html/structpjsua__msg__data.htm pjsua_msg_data] structure, which you can specify when sending SIP requests (for example, when sending INVITE, IM message, etc.). Here is a snippet on how to put a custom SIP header as ''pjsua_msg_data'':