Identity → SIP → Contact Source Priority (SIP)
<contact_source_sip_priority idx="INDEX" perm="PERMISSIONFLAG">VALIDVALUE</contact_source_sip_priority>
Indicates in descending priority which SIP headers in the incoming message should be used for Calling Line Identification. The first match is used. Headers present in the SIP message but excluded from this setting will be ignored (with the exception of FROM, see below). Tokens are separated by spaces. Valid tokens are:
|Token||SIP Header Used||Notes|
|FROM||From/To||If the incoming message is an INVITE the From header is used; if it is a response to an outgoing INVITE the To header is used. This is the header of last resort if no other matches are found and will be used even if not specified in this setting.|
|CONTACT||Contact||This is honored only on incoming INVITEs. On all other messages it is ignored.|
This setting replaces the settings ignore_asserted_in_gui and remote_contact_header_field.
Any of the tokens listed above, separated by spaces.
PAI RPID FROM