cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
405
Views
0
Helpful
3
Replies

Queuing for multiple hunt pilots

rpogodin1
Level 1
Level 1

Hello everyone,

i need help with setting up multi hunt pilots enviroment.

I have three hunt pilots: 2000, 2001, 2002 and trying to set up queuing for these numbers.

I'm using Perfmon service.

In order to obtain data from server i'm using SOAP requests which look like:

 

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap/">
    <soapenv:Header/>
    <soapenv:Body>
        <soap:PerfmonAddCounter soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
            <SessionHandle xsi:type="ns1:SessionHandleType">072072d8-bdf9-11e3-8000-000000000000</SessionHandle>
            <ArrayOfCounter xsi:type="soap:ArrayOfCounterType">
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\CallsQueued</Name>
                </Counter>
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\LineGroupMembersAvailable</Name>
                </Counter>
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\LongestCallWaitingInQueue</Name>
                </Counter>
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\MaxQueueDepthExceeded</Name>
                </Counter>
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\MaxQueueWaitTimerExceeded</Name>
                </Counter>
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\QueueCallsAbandoned</Name>
                </Counter>
                <Counter xsi:type="soap:CounterType">
                    <Name xsi:type="soap:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\QueueCallsRingNoAnswer</Name>
                </Counter>
            </ArrayOfCounter>
        </soap:PerfmonAddCounter>
    </soapenv:Body>
</soapenv:Envelope>

 

This is request for hunt pilot 2000. If i substitute 2000 in that request for 2001, and respectively 2002, i'll create three request for all hunt pilots.

All these requests work and return responses. The sample response from server shown below.

 

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
        <ns1:PerfmonCollectSessionDataResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://schemas.cisco.com/ast/soap/">
            <ArrayOfCounterInfo soapenc:arrayType="ns1:CounterInfoType[7]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\CallsQueued</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\LineGroupMembersAvailable</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\LongestCallWaitingInQueue</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\MaxQueueDepthExceeded</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\MaxQueueWaitTimerExceeded</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\QueueCallsAbandoned</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
                <item xsi:type="ns1:CounterInfoType">
                    <Name xsi:type="ns1:CounterNameType">\\192.168.110.61\Cisco Hunt Pilots(2000)\QueueCallsRingNoAnswer</Name>
                    <Value xsi:type="xsd:long">0</Value>
                    <CStatus xsi:type="xsd:unsignedInt">0</CStatus>
                </item>
            </ArrayOfCounterInfo>
        </ns1:PerfmonCollectSessionDataResponse>
    </soapenv:Body>
</soapenv:Envelope>

 

This response contain data for hunt pilot 2000, and responses for all other hunt pilots contain 2001 and 2002 in the response body. But results of all responses are the same. It looks like response data for 2001 and 2002 contains the same information as response for 2000.

I need help, how to create correct request in order to receive data for different hunt pilots?

Thank you.

 

3 Replies 3

Brian Meade
Level 7
Level 7

Is that data correct that all values are returning "0"?  Do you have CDR enabled on all nodes?

 

Try doing a Hunt Pilot Summary Report in CAR and see if you're getting good data.

Brian,

thank you for the reply, but the problem not is zeros. It works, it returns number different from zeros, but same for all hunt pilots. I've showed request and response samples. The problem, i think, in correct defining hunt pilot numbers.

Thank you.

rpogodin1
Level 1
Level 1

Seems like this issue has been fixed by assigning unique session to each request