This guide explains how to set up a logic hook in Botium to join VoIP segments based on silence duration.
This logic hook can be used only as a Bot Step.
- On the left navigation pane, head to
Botium Tools & Settings > Test Sets > Your Test Set > Test Cases
- Click the + NEW button to add a new Convo, or select a previously created test case from the list.
- Add a new + BOT STEP
- Click the Edit icon, or anywhere inside the step, and search the list for the
'VoIP - JOIN by Silence Duration' logic hook.
-
Configure the Logic Hook:
-
Duration: Specify the duration in milliseconds for the Post Speech
Silence Timeout (PSST) (e.g., 1000 ms for 1 second).
-
Duration: Specify the duration in milliseconds for the Post Speech
Silence Timeout (PSST) (e.g., 1000 ms for 1 second).
- Click the APPLY CHANGES button to complete the step entry.
Note:
Example Botium Script:
#me
start VoIP session
#bot
JOIN_BY_SILENCE_DURATION 1000
Explanation:-
JOIN_BY_SILENCE_DURATION 1000
sets the Post Speech Silence Timeout to 1000 milliseconds (1 second), ensuring that VoIP segments are joined if there is 1 second of silence between them.