VBScript Lua
This example demonstrates the usage of the AzureTTS GSE action.
It announces a given text. In case of an error (in the usage or execution of the AzureTTS action) it simply plays a beep.
To install it:
-
Open the Call Routing Manager of your desired SwyxWare user.
-
Click the "New Rule..." button.
-
Select "Graphical Script Editor" and click Ok.
-
Within the GSE open the File | Import... menu and click No.
-
From the download package select the following file:
For VBScript usage:VBScript based\rse\Announce Text.rse
For Lua usage:Lua based\rse\Announce Text.rse -
You need to make some modifications in the AzureTTS block (at least your subscription key and of course the text you want to announce). They are explained in detail in chapter 3.1 - Usage.
By Tom Wellige
