Unfortunately only pjsip_rx_data has the msg_info structure with the pre-located strings, and there are cases where I need to call this API with a pjsip_tx_data in my hand rather than a pjsip_rx_data.