Basic Workflow
Inside Call APP, You can see the following list of entries.

Then, you can click on Call Flow XML button on the top:

Each SIP Control APP has a default XML built-in. This built-in XML document is a basic reference call flow XML that you can use as a base line and start to modify.
How to test Call Flow
In the Call Control APP, click on "Numbers".

You can specify a number to be associated with this SIP Control APP:

Then, you can call this number and you should hear an IVR as below:

IVR Example with Opentact
To experience an Interactive Voice Response (IVR) system with Opentact, you can call the provided number. Upon calling, you will hear a customized IVR flow outlined in the following XML:
Explanation:
The call begins with a greeting, thanking the caller for reaching Opentact.
A recording feature is initiated, allowing the system to capture any relevant information.
A
<Gather>block is employed to collect DTMF input. In this case, the caller is prompted to enter '1' for a man or '2' for a woman.A
<Switch>statement evaluates the entered DTMF code and directs the call accordingly:If '1' is pressed, Opentact responds with "Hi, man" and triggers a callback to a specified webhook.
If '2' is pressed, Opentact responds with "Hi, woman" and initiates a SIP call to the specified SIP address.
If neither '1' nor '2' is entered, Opentact responds with "Hi, nobody" and sends a callback with a POST request to a webhook.
An
<Error>block handles cases where no DTMF code is entered, providing appropriate feedback.The call concludes with a
<Hangup>command.
Feel free to interact with the IVR by entering the specified DTMF codes and observing the corresponding actions.
Last updated
Was this helpful?