is it possible to configure Asterisk to add a Record-Route or History-Info header with its own IP in to the OK packet on answer?
I’ve tried enabling the send_history_info option on the endpoint, but it probably does something different than I expect.
No, neither channel driver supports such a thing.
Thank you for answer.
Just one more question.
Asterisk won’t even send back the History-Info it received in INVITE. Is this correct according to the RFC if Asterisk is UAS?
The PJSIP module has rudimentary History-Info support for the purposes of Diversion stuff, it doesn’t otherwise support it.