I am trying to continuously record 5 second snippets of audio from a phone call initiated using the Twilio API. I know that I can use TwiML and the <Record>
verb, but the problem I am having is that sometimes my TwiML is in the middle of using the <Say>
verb so I cannot update it with a new <Record>
verb without interrupting <Say>
.
I know that I can use the TwiML <Record>
verb and once the max length of 5 seconds expires I can use the callback function to update the TwiML with a new <Record>
and continue in this fashion. But I cannot interrupt the TwiML when I am using a <Say>
in it and I need to be able to refresh <Record>
.
Is there some way that I can setup a conference call such that I have one TwiML doing the <Record>
and another sending the programmable voice with <Say>
?