I would like to limit the amount of music a caller hears before updating them on their status in the queue.
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>The average hold time is 15 seconds and you are in position 2.</Say>
<Gather timeout="30" action="http://someURL.com?nextStep=OptOut" method="GET" numDigits="1">
<Play>http://com.twilio.sounds.music.s3.amazonaws.com/BusyStrings.mp3</Play>
</Gather>
<Redirect method="GET">http://someURL.com?nextStep=Hold</Redirect>
</Response>
The AWESOME music I am playing is much longer than 30 seconds. I was hoping that it would drop down to the Redirect after the timeout of 30 seconds specified in the Gather but it plays the entire MP3 and then hits the Redirect. I understand I could shorten the MP3 to 30 seconds but I would like something more flexible.
Thanks and regards.