not reliably unless the upstream system passes source info.
caller ID alone isn’t enough for transferred calls.
you’ll need either a custom SIP header, separate DIDs/trunks per source, or provider-level metadata. LiveKit can read custom SIP headers as participant attributes when the SIP leg join.