QUERY_AGENT_STATISTICS_REQ failure

Version 1
    This document was generated from CDN thread

    Created by: James Church on 17-07-2008 08:46:02 PM
    My application is receiving a failure in response to a QUERY_AGENT_STATISTICS_REQ. Why?

    Subject: Re: QUERY_AGENT_STATISTICS_REQ failure
    Replied by: David Lender on 18-07-2008 03:29:08 PM
    QUERY_AGENT_STATISTICS_REQ is not supported. Use QUERY_AGENT_QUEUE_STATISTICS_REQ instead. The format is

    QUERY_AGENT_QUEUE_STATISTICS_REQ Message Body Format

    The messagetypeid is 239.
    Fixed Part

    InvokeID A unique ID generated by the CTI client for
    each request message. This ID is returned in
    the corresponding confirmation message.
    UINT 4

    Floating Part
    Field Name Value Data Type
    Maximum
    Size
    AgentID[194 Tag ID]
    (required)
    The Agent ID. STRING 32

    QUERY_AGENT_QUEUE_STATISTICS_CONF Message Body Format
    The messagetypeid is 240.

    Fixed Part

    InvokeID Set to the same value as the InvokeID from the
    corresponding request message.
    UINT 4
    Real-Time Statistics
    CallsInQueue The sum of the total number of calls in queue for
    all the CSQ?s that this Agent belongs to.
    UINT 4
    OldestCallInQueue The elapsed wait time of the oldest call currently
    in queue for any of the CSQs to which the Agent
    belongs.
    UINT 4

    Floating Part
    Maximum
    Size
    AgentID[194 Tag ID]
    (required)
    The Agent ID. STRING