Jump to: navigation, search

Configuration

Description

Callback and CallbackService share the configuration namespace '_genesys.widgets.callback'. Callback has UI options while CallbackService has connection options.

Example

window._genesys.widgets.callback = {

	apikey: 'n3eNkgXXXXXXXXOXXXXXXXXA',
	dataURL: 'http://host:port/genesys/1/service/callback/samples',
	userData: {},
	countryCodes: true,
	immediateCallback: true,
	scheduledCallback: true,
	ewt: {
		display: true,
		queue: 'chat_ewt_test',
		threshold: 2000,
		immediateCallback: {
			thresholdMin: 1000,
			thresholdMax: 3000
		} 
	}
};

Options

Name Type Description Default Required Introduced / Updated
countryCodes boolean Enable/disable display of country codes for phone number. true n/a
immediateCallback boolean Enable/disable the immediate (As Soon As Possible) callback option. true n/a
scheduledCallback boolean Enable/disable the scheduling (Pick date & time) callback option. true n/a
form object A JSON object containing a custom registration form definition. The JSON definition placed here becomes the default registration form layout for Callback. See Customizable Callback Registration Form A basic registration form is defined internally by default n/a
ewt.display boolean To display Estimated Waiting Time details. true n/a
ewt.queue string EWT service channel virtual queue. none always required if Estimated Waiting Time has to be displayed.
ewt.threshold number If EWT is less than this threshold value (seconds), wait time will not be shown. 30 n/a
ewt.refreshInterval number Wait time is updated for every time interval (seconds) defined here. 10 n/a
ewt.immediateCallback.thresholdMin number If EWT is less than this minimum threshold value (seconds), then 'As Soon As Possible' option (Immediate Callback) will be disabled. This value should be configured less than or equal to above ewt.threshold value. none n/a 9.0.002.06
ewt.immediateCallback.thresholdMax number If EWT is more than this maximum threshold value (seconds), then 'As Soon As Possible' option (Immediate Callback) will be disabled. none n/a 9.0.002.06

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on November 5, 2018, at 10:25.