Banning current caller from IVR

You could modify the project described here for this: Of Robocalls and Whitelists