twilio - Is there a way to check when the Recording was last accessed? -


I could not find any way to get last_access_date for recording.

Here is the Tamilian evangelist

The last access date is not something that is currently included in the recording resource description. If you are directing your customers directly to the TMLIO recording URL, then there is no way to say that how long they have finally reached the file. You can put an arbitrary lifetime on file (like we remove it after X days), but this may not be the best use.

A better way to do this is to give them a direct URL, give them a URL that comes through your own web application and redirect them to the recording URL. This will allow you to track when the customer has finally accessed the file (since they will have to go through your URL).

In addition to using a redirect, it will not be difficult to detect the URL that you have redirected them to, and if they want, move around your app. In that case you may have to consider downloading the recording in your system and your customers can download it directly.

Hope that helps.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -