Christian Thomas writes:
Steve is right. Better not replace the from header for accounting purpose but add a remote-party_id. The main issue is : not all the GW are understanding the rpid stuff but even cisco Gw are understanding it. Again, from header field is required in various situations and alter it could lead to problems.
yes, there is very little to do apart from using a b2bua if gw does not understand rpid or pai headers.
-- juha