Gateway Outbound Application Tutorial: Outbound Call Control Flow
When the system makes an outbound call, its control flow these
steps:
- Fetch the starting VXML file according to startvxml
or starturl.
In the call request, you can specify startvxml
or starturl. The difference is that starturl is
usually used for dynamically generated content, and startvxml
is for static VXML files.
- Apply dialing rule to the phone number
You can set the dialing rule from Setup >
Options from the gateway main menu.
- Dial the phone number if there is dial tone on the line
If the phone line is a digital line, or the phone
line is not connected correctly, or someone else is using the
same phone line, the system reports "Line Occupied".
- Detect the line status, such as no answer, line busy,
answering machine, live human pick up
You could record the line audio by turning on
"Record Initial Dialing" from the gateway. The recorded audio
file is saved under C:\Program
Files\Voicent\Gateway
- Fetch the starting VXML files for answering machine if the
call is answered by an answering machine. The initial starting
VXML fetched is discarded.
- Execute the starting VXML file after the gateway detects a
live human pickup (someone says "hello"), or after it detects
the answering machine beep.
- The gateway interacts with the person called according to
the VXML application
- The gateway calls the endvxml or endurl after
the VXML application finishes. The system default endvxml
or endurl is an null op.
- The gateway disconnect the call.
Sometimes the person hangs up the phone in the
middle of the VXML application. In this case, the gateway will
detect the disconnected line condition and stop the application.
- The gateway saves the call status