Jump to: navigation, search

Configuration

Description

ClickToCall and ClickToCallService share the configuration namespace '_genesys.widgets.clicktocall'. ClickToCall has UI options while ClickToCallService has connection options.

Example

{

	clicktocall: {

		'enableCountdown' : true,
		'provideAccessCode' : true,
		'autoDialAccessCode' : true,

		'ewt': {

			'display': true,

			'queue': 'QUEUE_NAME',

			'threshold': 30,

			'refreshInterval': 10
		},

		'confirmFormCloseEnabled' : true,

		'dataURL' : 'http://www.myphoneservice.org',

		'formJSON' : {},

		'userData' : {}
	}
}

Options

Name Type Description Default Required
enableCountdown boolean Shows or hides the phone number expiration counter. true false
provideAccessCode boolean Enables or disables the use of a dial in access code for user verification. true false
autoDialAccessCode boolean Enables or disables auto dialing the access code that is provided along with the dial in number. true false
ewt.display boolean Enables or disables showing of Estimated Wait Time for an agent to be available. true false
ewt.queue string A virtual queue name for the EWT api service channel. none always required if Estimated Waiting Time has to be displayed.
ewt.threshold integer Display threshold for EWT in seconds. Does not display EWT if below threshold. 30 n/a
ewt.refreshInterval integer EWT refresh interval in seconds. 10 n/a
confirmFormCloseEnabled boolean Enable or disable displaying a confirmation message before closing ClickToCall, if information has been entered into the registration form. true n/a
formJSON object A JSON object representing the custom form to render. The JSON definition placed here becomes the default registration form layout for ClickToCall. See Customizable ClickToCall Registration Form A basic registration form is defined internally by default. n/a
userData object A custom object to be merged in with all network requests. {} n/a

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on June 26, 2018, at 11:22.