ACDEnqueueParams
Add the following line to your scenario code to use the interface:
require(Modules.ACD);
Props
customData
customData: string
headers
headers: {[header: string]: string}
Optional extra headers to be passed with the call to the operator. Custom header names have to begin with the 'X-' prefix except the 'VI-CallTimeout': '60' which switches to another operator if current one does not answer after the timeout (in seconds, minimum value: 10, maximum value: 400, default value: 60). The "X-" headers could be handled by a SIP phone or WEB SDK (e.g. see the incomingCall event). Example: {'X-header':'value'}
priority
priority: number
Priority (1-100, 1 is the highest priority). If two or more objects have the same priorities, they are handled according to the order of HTTP requests from JS scenario to the ACD queue.
video
video: boolean
Specifies whether the call has video support. Please note that prices for audio only and video calls are different.