This interaction uses both the <menu> and the <form> from
the above VoiceXML example:
System: |
Welcome to the online banking super store.
Please choose from the following choices.
Branch Locations, Interest Rates, Investment Information.
|
User: |
Investment Information. |
System: |
How much would you like to invest? |
User: |
(says the amount) |
System: |
Use your telephone keypad to enter the
five-digit ZIP code of your location, followed by the # key. |
User: |
(presses telephone keys corresponding to
the ZIP code, and terminates data entry using the # key) |
|
At this point, the system has collected the two needed fields investment_amount and zip_code,
so it executes the <filled> element, which contains a <submit> element
that causes the collected information to be submitted to a remote
server for processing. The remote server processes the transaction
and then returns a VoiceXML page telling the user what happened.