Hi!
Ali Zaidi wrote:
When UA call other UA2 the ID shows 5001112222, but i want to show 2123334444.
append_rpid() could append a Remote-Party-ID header if your aliases are in some database accessible from inside the SER routing logic. Some softphones tend to not display the number from Remote-Party-ID (or RFC 3323/3325 aka P-Asserted-Identity) but the From URI along with the displayname. On the same level assure that the incoming Caller-ID representations are valid and drop unverified headers.
Patching that is possible using uac_replace_from() (iirc).
Hendrik