On the topic of the task. Binotel in the push gives us information about the call. We get a link to the record by the stats/call-record request
https://cdn0993.s3.eu-west-1.amazonaws.com/26/2696318349.mp3?X-Amz-Content-Sha25... Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJAXVY477KWWB5YJA%2F20210624%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20210624T112423Z&X-AmzA-SignedHeaders-Amzire&X-Expire=SignedHeaders=host&X-Amz0=SignedHeaders-Amz90=SignedHeaders-Amz0=Signed ef82a7e9175ba75d7dc0e7f294b45c8ad0852edf482b42e723c21f3ddb6b80ad There is no file in this link. In order to solve this issue, you need to write to the support of the binotel with the requirement to push information about the end of the call only when the call recording is available.
Also, if we now follow this link, we get an error:
<error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<X-Amz-Expires>900</X-Amz-Expires>
<Expires>2021-06-24T11:39:23Z</Expires>
<ServerTime>2021-06-24T14:40:09Z</ServerTime>
<RequestId>JA9861F888YGBZ6F</RequestId>
<HostId>pJ8GtDToGes8g3066H/qav2lDVnqhSPtxodkiZM0BiPoQyrfzwb/Gt33nJ0mcGUTeYSCVIdpurQ=</HostId>
</Error>
the link to the entry was received at 14:00, but in the Expires field it is written that 11:39:23, which most likely means that the link was deactivated at 11:39:23. But this is purely speculation.
As a result, in order to resolve the issue, you need to write to the binotel with clarifications:
1. Why the link is unavailable when I receive a call
2. Why the link is not available 3 hours after receiving it.