RTP stream timestamp/SSRC issue after blind transfer on chan\_pjsip (Asterisk 22.4.1)

Thanks.
Just to update the thread: we have now resolved the issue by modifying the code as discussed, and have prepared a pull request with the proposed fix:

Hopefully this will help others facing the same issue.