There's a reason scam callers don't respond when you answer. The goal is simply to confirm that your number is active and spammable. To deal with a call, hang up and use spam filtering to block them.
Apple's Impersonation Risk Detection in iOS 27 can flag suspicious activity inside apps, but the setting is off by default and must be enabled.