Using only a single TwiML bin, is it possible to mix voice and SMS verbs? I get errors when I try.
For example, a call comes into a Twilio number, TwiML would first send an SMS <Message to="+18005551212"> {{From}}: <Body>Hello World!</Body> </Message>
then forward the call <Dial>+18005551212</Dial>
. Another example: use mixed Voice/SMS to send an SMS for handling when Dial doesn't connect.
If it's not possible currently, is there a technical reason why TwiML voice & TwiML SMS couldn't be further developed to be interoperable?