How to use Tasker to answer a private number, play an audio file to the caller and hang up?
Very few, if any, devices supports playing sound directly to the phone (voice) call audio stream.

Try playing a sound in Tasker using the Play Ringtone action to the Voice call audio stream, to see if your device support it.