04-06-2014 07:55 PM - edited 03-18-2019 11:23 AM
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.
04-07-2014 10:37 AM
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.
04-07-2014 01:29 PM
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.
04-08-2014 11:56 AM
Seems like this issue has been fixed by assigning unique session to each request
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide