I want to use Twilio to create appointment reminder calls. Each call can have a different call flow with different options for the call recipients to press phone keys, different messages, different languages, etc.
I currently use a service that allows a script to be attached to a call and that script runs on the phone service side so that I don't have to deal with scaling issues when making many thousands of calls at once. I can generate different scripts for each call (or each type of call). I want to switch from that service to Twilio if it's practical.
Since TwiML doesn't have the ability to include logic within a single TwiML file, it seems that in order to do the equivalent would require each call to have many TwiML files. Since I would need each call, or at least each type of call to have different TwiML, I would need to programmatically create each of those files (hosted on Twilio to avoid scaling issues with self-hosting), and somehow manage the many thousands of TwiML files that would remain after each call.
Is there a way to make calls where each call can be attached to a script that incorporates call flow logic?
question from:
https://stackoverflow.com/questions/65646686/is-there-a-way-to-create-a-call-script-in-twilio-without-creating-many-twiml-sni 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…