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

window._genesys.widgets.clicktocall = {

	'ajaxTimeout' : 3000,
	'provideAccessCode' : true,
	'dataURL' : 'http://www.myphoneservice.org',
	'apikey' : 'YOUR_API_KEY',
	'userData' : {}
};

Options

Name Type Description Default Required
ajaxTimeout Number Sets the default ajax timeout in milliseconds. 3000 false
provideAccessCode boolean Enables or disables the use of a dial in access code for user verification. true false
dataURL string URL of GMS ClickToCall API endpoint. n/a true
apikey string or number Apigee Proxy secure token. n/a Yes, if using Apigee Proxy.
userData object Arbitrary JSON attached data to include while requesting ClickToCall phone number. {} n/a

Feedback

Comment on this article:

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