M4 RPID/PAI
RPID headers: Remote-Party-Id and RPID-Privacy
PID headers: P-Asserted-Identity and Privacy
Forward RPID / Forward PAI
OP and TP have separate options: Forward RPID and Forward PAI in their settings.
The logic to pass these headers are in this order:
OP->TP
OP Forward RPID/PAI options tell if it is allowed to pass/forward RPID/PAI headers from OP to TPs.
If headers are passed from OP to TPs, then TP Forward RPID/PAI options tell if these headers should be passed to the TP.
If OP denies RPID/PAI header forward, then RPID/PAI headers coming from this OP will be dropped and TPs will not have any RPID/PAI headers to be forwarded.
In other words - OP makes a call that can pass over some TPs. If OP denies RPID/PAI forward, there is no difference what RPID/PAI settings are on any of the TPs for this call - these headers are already dropped by OP. Only when OP allows RPID/PAI header forward, then separate TPs RPID/PAI settings can have an impact on the result.
OP setting | TP setting | Result |
---|---|---|
Forward RPID: yes | Forward RPID: yes | RPID headers are forwarded to TP |
Forward RPID: yes | Forward RPID: no | RPID headers are NOT forwarded to TP |
Forward RPID: no | Forward RPID: yes/no | RPID headers are NOT forwarded to TP |
Same logic applies to the PAI settings.
Change RPID/PAI Host
Change RPID/PAI Host option in the OP settings changes the IP address in the RPID/PAI headers to the Proxy server's IP address.
Example
Incoming headers:
Remote-Party-ID: <sip:390458446594@201.105.251.49>;privacy=off;screen=yes P-Asserted-Identity: <sip:390458446594@201.105.251.49;user=phone>
are changed to:
Remote-Party-ID: <sip:390458446594@116.203.110.224>;privacy=off;screen=yes P-Asserted-Identity: <sip:390458446594@116.203.110.224;user=phone>
Where 116.203.110.224 is the Proxy server's IP.