Each SIP line in the system has a Call Details form which can contains SIP URI entries. They set which headers are used and how the header data is populated or the values against which headers are matched.
Every incoming and outgoing call which uses the line is matched to one of these.