Hi,
You need to implement a handler with the desired logic for the corresponding event:
Depending on the circumstances, T-Server may send EventACK, EventPrivateInfo, or EventError to the client calling the function RequestPrivateService().
EventACK will be sent when:
T-Server cannot link the requested service and the resulting events.
The service being requested on behalf of the requesting device is to be executed on a different device.
EventPrivateInfo will be sent when:
The resulting event is a direct consequence of the requested service.
T-Server, a device, or a call has changed its state, and this change cannot be presented via an existing Genesys protocol, and support for representing this change is required by the business needs of the enterprise.
EventError will be sent when:
The requested service is not supported.
The request parameters are not correct.
The requested service fails while processing on the media device.
Please find generic code for handling interaciton events below:
interactionManager_.InteractionEvent += new EventHandler<EventArgs<IInteraction>>(eventHandler_InteractionEvent);
private void eventHandler_InteractionEvent(object sender, EventArgs<IInteraction> e)
try
{
IInteraction interaction = e.Value;
if (interaction != null)
{
if (interaction is IInteractionVoice)
{
IMessage eventMsg = interaction.EntrepriseLastInteractionEvent;
if (eventMsg != null)
{
if(eventMsg.Id == EventReleased.MessageId)
...
Roman T