How to make the audio playback work exactly at call received?

I am using nodejs and The google api TelephonyCallback only works with three status updates. I am to use these status updates to initiate audio playback. Unfortunately the one I need – the status update called Offhook – is initiated when the call is ringing or answered or in progress. I need a specific one where it is working only when the caller answers the call, so that the audio will play at the right time.

I got the text and calls working but no audio playback when the call is answered