setDisposition
Sets a disposition for a call.
Description
setDisposition(dispositionId: number): void
It sets a disposition for a call, as if the agent have chosen a disposition and saved it.
Note: You can only choose disposition IDs which are available for agent use (it is listed among the ‘Dispositions’ field). The event beforeSetDisposition is not affected and runs independently, therefore it can overwrite or abort the requested disposition ID in setDisposition.
Parameters
dispositionId: number
The ID number of the disposition.
Return values
None
Example
The example code below sets Disposition 42 when Button1 is pressed:
$('page1', 'button1').afterSetData = function () {
vcc.setDisposition(42);
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.