protected String buildMessageBody(final PhoneProperties phoneProperties, final String token,
                                      final String tokenWithoutPrefix) {
        return FunctionUtils.doIfNotBlank(phoneProperties.getText(),
            () -> PhoneCallBodyBuilder.builder()
                .properties(phoneProperties)
                .parameters(Map.of("token", token, "tokenWithoutPrefix", tokenWithoutPrefix))
                .build()
                .get(),
            () -> token);
    }
This is {@link CasSimpleMultifactorMakePhoneCall}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-simple-mfa-core/src/main/java/org/apereo/cas/mfa/simple/web/flow/CasSimpleMultifactorMakePhoneCall.java