Sj Velasquez Sj Velasquez - 1 year ago 57
C# Question

Creating a Twilio IVR using an audio recording

I really need some help..

I'm kinda new in a creating a Twilio IVR and I wanted to ask a question about it.

  1. I have seen quite a few simple IVRs everywhere but how do I create an IVR using an audio I have spliced into small parts rather than using "say"?

  2. Where should I create the application?

  3. Heard alot about Twiml and quite confused on how to use it and where to code it.

Thanks in Advance

PS: There are is an audio recording which I was provided and it starts with two audio recording options. Both of the two audio recording options must have four audio recording options inside.

Here is an image of the code:


handle-user-input.php continuation

Answer Source

You need to create the application on a server of your own or use Twilio Functions (NodeJS), for example, to host the necessary logic. You can also use Twilio Bins to host static TWIML, if it doesn't change. A full featured IVR will need several TWIML files, one for each response scenario.

For audio files, look up the Play verb, Twilio Play Verb docs instead of the say verb. Twilio now allows you to host some media on their servers, which is handy if you are using their bins or functions to host your code.

Twilio also has several walkthroughs regarding setting up TWIML and using the bins and functions on their documentation site.Here's an IVR phone tree in C# (They have a nodejs version also - you cant host the C# version without an accessible web server). Twilio C# IVR Tutorial

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download