If someone calls our Twilio number, I want it to dial our office phone number, and if no one answers, I want the caller to be able to leave a message. I've tried the following Twiml, and although the second sound bite plays, it does not record a message.
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Play>http://domain.tld/file.wav</Play>
<Dial timeout="10">+15555555555</Dial>
<Play>http://domain.tld/pleaseleaveamessage.wav</Play>
<Record action="/voicemail/" maxLength="30" />
</Response>
I've also tried passing an action to the verb, and then trying the recording the in the action handler, but that also does not work.
Anyone know how to do this?