Playback message to both parties

I need to record calls but due to local law I must announce that the calls are being recorded.

command Dial with the A param does not work. It plays the announcement before the called party rings/answers. how can I play a sound file to both parties AFTER the called party answers the phone?