Calling Machine Detect

Hello all,
i have been looking over the internet on how to configure Calling Machine Detect on asterisk.
what i need is to detect if its machine or human before trying to connect the call. this is to avoid spam calls.
thanks

voip-info.org/wiki/view/Aste … acyManager

(This should have been on Asterisk Support.)