From Bright Pattern Documentation
Wrapping Up After-call Work
Depending on the service configuration, agent state may be changed to After-call Work after the call is disconnected.
For manual completion of interaction while in After-call Work, use this method for the Item object:
public void complete();
The following event will be raised when the interaction is completed:
public event ItemCompletedCallback itemCompletedCallback;
Note that the same event will be raised if the interaction is finished automatically (by timeout).