Mitel Forums - The Unofficial Source

Mitel Forums => Mitel Software Applications => Topic started by: richieaj84 on August 19, 2019, 11:22:57 AM

Title: Open Integration Gateway (OIG) Monitor Hot desk ACD Agent
Post by: richieaj84 on August 19, 2019, 11:22:57 AM
Hi All,

I am currently trying to monitor a hot desk ACD agent using the Open Integration Gateway (OIG). We have the correct Advanced Call Control licenses to be able to retrieve a valid session, identify the object id for the device we are monitoring and then place a monitor object request. When we do a advGetEvent request, we immediately receive the below response (PRIVILEGE_VIOLATION);

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns4:advGetEventResponse xmlns:ns4="http://mitel.com/oig/cc/standard/StandardCCService"><ns4:return result="true"><ns2:errorDescription xmlns:ns2="http://mitel.com/oig/cc/advanced">Failed to set monitor on object id: **** error: PRIVILEGE_VIOLATION</ns2:errorDescription><ns2:eventType xmlns:ns2="http://mitel.com/oig/cc/advanced">CALL_EVENT</ns2:eventType><callEvent xmlns="http://mitel.com/oig/cc/advanced" localCallId="0" callEventTime="1566227877961" objectId="****"><type>MONITOR_FAILED_EVENT</type><callEventAttribute><attributeName>ICP_ID</attributeName><attributeValue>***</attributeValue><attributeType>LONG_INTEGER</attributeType></callEventAttribute></callEvent></ns4:return></ns4:advGetEventResponse></soapenv:Body></soapenv:Envelope>

We have ensured that the class of service has the following settings HCI/CTI/TAPI Call Control Allowed and HCI/CTI/TAPI Monitor Allowed set to YES. This is is the case for both the COS that is assigned to the Agent and the ACD Path that they are assigned to.

Is anyone aware of another setting which could mean that we are unable to monitor an object and trigger a PRIVILEGE_VIOLATION error?
Any assistance would be greatly received.

Thanks,
Richard



Title: Re: Open Integration Gateway (OIG) Monitor Hot desk ACD Agent
Post by: richieaj84 on September 05, 2019, 05:39:38 AM
Hi All,

Just to complete this forum post with a resolution. The issue was due to multiple MiVoice Business consoles being used, one of these MiVB instances was not setup to allow HCI/CTI/TAPI Call Control Allowed and HCI/CTI/TAPI Monitor Allowed. This therefore caused the privilege violation issue.

Hope this might be useful for someone else one day

Title: Re: Open Integration Gateway (OIG) Monitor Hot desk ACD Agent
Post by: ZuluAlpha on September 05, 2019, 08:50:49 AM
Richard, were the MiVB's Class of Service Options forms synced in SDS or are they independent? I'm guessing the latter but wonder if there was something else at play. We do a lot with ACD agents so it might be useful in the future.