The To header setting only affects the Referred-To header.
If the SIP message endpoint type is Subscriber, then Topology Hiding replaces the To header with the Next Hop Address used by the Signaling Interface. If the SIP message endpoint type is Call Server or Trunk Server, then Topology Hiding replaces the To header with the Next Hop Address. This scenario occurs in the following settings:
Header: To
Criteria: IP/Domain or IP or Domain
Replace Action: Auto
Topology Hiding replaces the To header with the Next Hop Address/Domain from the Routing profile. This scenario occurs in the following settings:
Header: To
Criteria: IP/Domain or IP or Domain
Replace Action: Next Hop
Topology Hiding replaces the To header with the Destination IP from the SIP Message. This scenario occurs in the following settings:
Header: To
Criteria: IP/Domain or IP or Domain
Replace Action: Destination IP
Topology Hiding replaces the To header with the Signaling Interface IP/Domain. This scenario occurs in the following settings:
Header: To
Criteria: IP/Domain or IP or Domain
Replace Action: Signaling Interface
Topology Hiding replace the To header with the Overwrite Value. This scenario occurs in the following settings: