Good start is with GSM TS 03.82. It has flows for CF and the different conditions, e.g. Now Reply, Not Reachable, Busy and Unconditional. Look at ETSI dot org. Note that posts with URLs are rejected by this forum.
HLR/HSS/UDC will need to be configured so that CF (with conditions) can be checked with the Roaming status.