1. Create an IVR Flow
Flow Scenario:
Create an IVR flow to make Brekeke PBX perform the following actions:
- Send 180 reply to the incoming call.
- Answer the call.
- Play voice prompt asking caller to input transfer extension, then wait for input. If there is no input within the DTMF timeout, play voice prompt again; otherwise, go to next module.
- Transfer the call to the input user extension.
- If the call is answered within transfer timeout, the flow ends.
- If not, the flow will go back to Step 3.
Steps for Create an IVR Flow:
Step 1. From Brekeke PBX Admintool > [Flow Designer], click on setting icon and choose [New Flow] to create a new flow named “test“. Flow workspace will be opened with name tab “test.”
Step 2. Click on [Basic] folder on left side of flow workspace to show default IVR module templates.
Step 3. Select and drag template [Response 18x] to flow “test” workspace.
- Input a module name, such as “18x”, and click [OK].
- Double-click on module “18x” and select [Properties] tab and set:
[Response Code] 180
[Add SDP] yes
- Click [OK].
Step 4. Select and drag template [Answer] to flow “test” workspace.
- Input a module name, such as “ans,” and click [OK].
Step 5. Connect modules “18x” and “ans.”
- Connect two modules: Drag line from the bottom of one module to the top of the other.
- Disconnect two modules: Click on the bottom of the module where connection line starts.
Step 6. Select and drag template [DTMF Input] to flow “test” workspace.
- Input a module name, such as “input” and click [OK].
- Double-click on module “input,” select [Properties] tab and set:
[Prompt] {inputprompt}
Uploaded voice prompt named as “inputprompt” from [Voice Prompts]. For details about prompt settings, check method “PlayAndInput” in the following section.
[Max DTMF Length] 10
A number greater than or equal to the number of Brekeke PBX user extension digits
[Time out] 10,000
Time length waiting for input in ms
[Terminator DTMF] #
Character to stop detecting DTMF input
- Click [OK].
Step 7. Connect modules “ans” and “input.”
Step 8. Select and drag template [Transfer] to flow “test” workspace.
- Input a module name, such as “xfer,” and click [OK].
- Double-click on module “xfer,” select [Properties] tab and set:
[Number] [input]
Get the input extension number from last module “input.” For details about setting and format, check method “replaceWithPropertiesAndResults” in the following section.
[Time out] <input.timeout>
Time out for transfer in ms. Get last module “input” timeout property setting. For details about setting and format, check method “replaceWithPropertiesAndResults” in the following section.
- Click [OK].
Step 9. Connect modules “input” and “xfer.”
Step 10. Select and drag template [Disconnect] to flow “test” workspace.
- Input a module name, such as “end” and click [OK].
Step 11.Connect module “xfer” -> “Succeeded” output with module “end.”
Step 12.Connect module “xfer” -> “Failed” output with module “input.”
Step 13.Save the Flow “test” with either of the following options:
- Right-click in flow workspace and choose “Save Flow.”
- Click on setting icon and choose “Save Flow.”