ACDEnqueueParams
Add the following line to your scenario code to use the interface:
require(Modules.ACD);
Props
headers
headers: {[header: string]: string}
Optional extra headers to be passed with the call to operator. Custom header names have to begin with the 'X-' prefix except the 'VI-CallTimeout': '5' which switches to another operator if current one didn't answer after the timeout. 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 highest priority). If two or more objects have the same priorities, they will be handled according to the order of HTTP requests from JS scanario to the ACD queue.