vendredi 22 mars 2019

In Twilio, can you

Using Twilio for an interactive art exhibition where you call the number and listen to the audio in the gallery. I'd like for incoming callers to not always hear the same 20-30 seconds of audio at the beginning of the audio file. Is it possible to provide 3-4 different audio files and one of them is randomly selected to Play for an incoming call. Or even to randomize the start time on the single audio file would work too.

I've searched everyone without much luck.

Code I'm using for the basic function is below.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Play> https://dl.dropboxusercontent.com/s/qt0l2zjrlssj3nv/CMCA-PHONE-01.mp3 </Play>
</Response>




Aucun commentaire:

Enregistrer un commentaire