Multiple Stage IVR application
September 5th, 2008What we need:1) Your application should call first number using BroadcastByPhone in the list and (if human) say a text (it works fine) then it should wait for user answer (here is the problem).
If user press 1 it will hang up the phone and:
A) start my application with phone number as command line parameter and wait when it will close (I found that and configured)
B) wait for X minutes, call that number again and retreive a code that will be provided by a human. I mean human will enter some digits on phone’s keyboard and we must get them. Then hang up the phone
C) start my application with retreived code as command line parameter and wait when it will close
If user press 0 or Answering machine detected them just say some text and hang up the phone.
2) Call next phone number and repeat step 1 for new phone number.
That’s all that we need. I would be really appreciated if you help us out or point me some really useful samples, docs, links.
This is not a trivial applicaiton since you need multiple IVR applications to achieve what you want.
First you need a BroadcastByPhone outbound IVR application. Let’s call it ivr-application-1. This application will do the following:
For live human pickup:
1. Asks the person called to press 1 or 0.
This should be accomplished with a Choice element, with two child elements. Please see the previous post or IVR Studio tutorial for details of specifying a Choice element.
2. Under the child element corresponds to “press 1″, add a prompt element for the actions. The action is for invoking your application as defined in A).
Add another action to introduce some X minutes of delay as defined in B).
Add another action to call a batch file. In the batch file, call BroadcastByPhone, using the second IVR application defined below. Let’s name the second IVR application ivr-application-2. Retrieve the user input
Add another action to collect the user input as in defined in C).
For answering machine:
Just add a Prompt element under element labeled Answering machine
Now you need design your second ivr application: ivr-application-2.
The application should be similar to the sample application for collecting password.

