Skip to main content

Call Forwarding

IMPORTANT!

If you hadn't yet read the intro part of this section, please click here to read it first.

Description

Scenario Diagram

How does it work?

Our scenario includes 4 different modules, according to table below:

#ModuleDescription
1Attached Voice ApplicationThis is the Voice Application webhook.
2Say SomethingGenerate a Text-To-Speech Message.
3Make a CallDial a remote location.
4Voice Application ResponseRender the module output for execution.

Each of the modules will generate one part of the CXML document to be returned, while the response will assemble all parts to a single rendered response.

Example

Let's assume that we would like to call forward the inbound call to the following phone number: 1212777345, the final rendered result of the above scenario will produce the following CXML document:

<Response>
<Say voice="woman">Please wait, your call is being transferred</Say>
<Dial>12127773456</Dial>
</Response>

References

Module: Attached Voice Application
Module: Say Something
Module: Make a call
Module: Voice Application Response