Revision as of 02:27, August 9, 2018 by Rsai (talk | contribs) (Estimated Waiting Time)
Jump to: navigation, search

Estimated Waiting Time

Estimated Waiting Time also known as 'EWT' is displayed on ChannelSelector, Callback and ClickToCall Widgets. These Widgets use getStats [link here] command to fetch the EWT data from GMS or GES server. These servers support multiple API versions to fetch EWT and this section will explain how you can configure StatsPlugin [link here] to use the corresponding API version that you need.

Use the apiVersion configuration [link here] option to specify the version. For possible version values, refer to this [link here] configuration option.

      _genesys.widgets.stats.ewt.apiVersion = <version value>

Below section will explain in detail about each API version configuration.

API version v1

If apiVersion is set to 'v1' (default value, if not specified), the dataURL [link here] configured must be a valid GMS 8.5.1 EWT API url [link here], if not EWT may not be displayed correctly. Depending on this API version value, the mode [link here] configuration option can hold a set of predefined possible values. That is, for 'v1' the possible values for mode are 'urs', 'urs2' and 'stat', where 'urs2' will be the default value if not specified.

Default Example =

      _genesys.widgets.stats = {
               ewt: {
                       apiVersion: "v1"
                       dataURL: <GMS EWT v1 URL>
                       mode: "urs2"
               }
        }
Comments or questions about this documentation? Contact us for support!