Discussions

Ask a Question
Back to All

Download multiple recordings from webhook response

For a single call, there can be multiple recordings. To reliably download these recordings, can we rely on the "hangup" state and process these recordings from the recording_details payload? or should we rely on the "recording" state?

also can you confirm this?
If there are two recordings associated to a call, will there be two "recording" call states sent at the end of each recording processing and one "hangup" event at the end of the call? can one rely on the order that all recording processing will be done before hangup event?

Answer: We are now using recording event as it is sent after recording has finished processing because if recording is long then hangup will be sent before recording

ο»Ώ