Pregunta

Wanted to know whats the max length of recording twilio allows for a call, in the TwiML it is specified as 1hr, How about REST API?

Being done a long duration call, how much time does twilio take to prepare the mp3/wav file for this call?

Please share some insights about this

¿Fue útil?

Solución

Twilio evangelist here.

The maximum length Twilio allows for a recording is 4 hours, as that is the maximum length we allow for a call. This is true when using either the TwiML <Record> verb, or setting the record attribute to true in the REST API.

If you use the TwiML verb, you can set a URL in the action parameter and Twilio will request that URL with the recording completed. In that request we will pass you a RecordingURL parameter that points to the recording, however its important to know that it might take some time for us to move the file to that location, so you might have to poll that url a few times.

If you set the record parameter using the REST API, we pass the RecordingUrl in the calls StatusCallback parameter. Same caveat as above applies. There may be a delay between when you get the RecordingUrl and when the file is actually there.

Hope that helps.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top