01-14-2015 12:10 PM
Hi
This is what getLineGroup returns to me
<lineGroup uuid="{4AEB4622-84E4-CB12-2BA6-350E55C1E7A9}"><distributionAlgorithm>Broadcast</distributionAlgorithm><rnaReversionTimeOut>10</rnaReversionTimeOut><huntAlgorithmNoAnswer>Try next member; then, try next group in Hunt List</huntAlgorithmNoAnswer><huntAlgorithmBusy>Try next member; then, try next group in Hunt List</huntAlgorithmBusy><huntAlgorithmNotAvailable>Try next member; then, try next group in Hunt List</huntAlgorithmNotAvailable><members><member uuid="{7E0863F7-D066-7AB0-92FC-21E98688FE67}"><lineSelectionOrder>0</lineSelectionOrder><directoryNumber uuid="{4694AB3D-D9E4-E315-E79A-D345AA05B186}"><pattern>7881</pattern><routePartitionName>P_INTERNAL</routePartitionName></directoryNumber></member><member uuid="{A22F3767-F153-F992-75BE-01EF5198E5A8}"><lineSelectionOrder>1</lineSelectionOrder><directoryNumber uuid="{D5E4535C-3E1F-EA7A-D081-86A79A116570}"><pattern>7880</pattern><routePartitionName>P_INTERNAL</routePartitionName></directoryNumber></member></members><name>LG_HuntgroupTest</name><autoLogOffHunt>false</autoLogOffHunt></lineGroup>
Note that no member has an uuid for the route partition. There's no filtering of the return tags. Given that other commands do return the name/uuid combo I'm wondering why this isn't the case with this object.
01-16-2015 09:03 AM
Hey Stephan,
Could you please submit the post you are using so we can have a better idea of why we are seeing what you are seeing?
Below is what I am getting when I perform this operation (CUCM ver. 10.5, utilizing SoapUI to submit request):
Post:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<soapenv:Header/>
<soapenv:Body>
<ns:getLineGroup sequence="?">
<!--You have a CHOICE of the next 2 items at this level-->
<name>LG_test</name>
<!--<uuid>?</uuid>-->
<!--Optional:-->
<returnedTags>
<!--Optional:-->
<distributionAlgorithm>?</distributionAlgorithm>
<!--Optional:-->
<rnaReversionTimeOut>?</rnaReversionTimeOut>
<!--Optional:-->
<huntAlgorithmNoAnswer>?</huntAlgorithmNoAnswer>
<!--Optional:-->
<huntAlgorithmBusy>?</huntAlgorithmBusy>
<!--Optional:-->
<huntAlgorithmNotAvailable>?</huntAlgorithmNotAvailable>
<!--Optional:-->
<members>
<!--Zero or more repetitions:-->
<member uuid="?">
<!--Optional:-->
<lineSelectionOrder>?</lineSelectionOrder>
<!--Optional:-->
<directoryNumber>
<!--Optional:-->
<pattern>?</pattern>
<!--Optional:-->
<routePartitionName uuid="?">?</routePartitionName>
</directoryNumber>
</member>
</members>
<!--Optional:-->
<name>?</name>
<!--Optional:-->
<autoLogOffHunt>?</autoLogOffHunt>
</returnedTags>
</ns:getLineGroup>
</soapenv:Body>
</soapenv:Envelope>
Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getLineGroupResponse xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<return>
<lineGroup uuid="{EA2432B4-655C-D640-40CA-551C044EA596}">
<distributionAlgorithm>Circular</distributionAlgorithm>
<rnaReversionTimeOut>10</rnaReversionTimeOut>
<huntAlgorithmNoAnswer>Try next member, but do not go to next group</huntAlgorithmNoAnswer>
<huntAlgorithmBusy>Try next member; then, try next group in Hunt List</huntAlgorithmBusy>
<huntAlgorithmNotAvailable>Stop hunting</huntAlgorithmNotAvailable>
<members/>
<name>LG_test</name>
<autoLogOffHunt>false</autoLogOffHunt>
</lineGroup>
</return>
</ns:getLineGroupResponse>
</soapenv:Body>
</soapenv:Envelope>
01-16-2015 10:15 AM
Christopher
Request and response as requested.
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<soapenv:Header/>
<soapenv:Body>
<ns:getLineGroup sequence="10">
<name>LG_Huntgroup Test</name>
</ns:getLineGroup>
</soapenv:Body>
</soapenv:Envelope>
Response:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getLineGroupResponse xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<return>
<lineGroup uuid="{4AEB4622-84E4-CB12-2BA6-350E55C1E7A9}">
<distributionAlgorithm>Broadcast</distributionAlgorithm>
<rnaReversionTimeOut>10</rnaReversionTimeOut>
<huntAlgorithmNoAnswer>Try next member; then, try next group in Hunt List</huntAlgorithmNoAnswer>
<huntAlgorithmBusy>Try next member; then, try next group in Hunt List</huntAlgorithmBusy>
<huntAlgorithmNotAvailable>Try next member; then, try next group in Hunt List</huntAlgorithmNotAvailable>
<members>
<member uuid="{95172383-279C-5489-D24A-0252E9FC217F}">
<lineSelectionOrder>0</lineSelectionOrder>
<directoryNumber uuid="{4694AB3D-D9E4-E315-E79A-D345AA05B186}">
<pattern>7881</pattern>
<routePartitionName>P_INTERNAL</routePartitionName>
</directoryNumber>
</member>
<member uuid="{169D2491-741D-7397-690C-111E8E4A826C}">
<lineSelectionOrder>1</lineSelectionOrder>
<directoryNumber uuid="{D5E4535C-3E1F-EA7A-D081-86A79A116570}">
<pattern>7880</pattern>
<routePartitionName>P_INTERNAL</routePartitionName>
</directoryNumber>
</member>
</members>
<name>LG_Huntgroup Test</name>
<autoLogOffHunt>false</autoLogOffHunt>
</lineGroup>
</return>
</ns:getLineGroupResponse>
</soapenv:Body>
</soapenv:Envelope>
I marked the routePartitionName of my two members in bold.. I think they are lacking the uuid tag.
01-16-2015 10:16 AM
By the way.. where did the sequence go in the reply? I've never really used it before - I assumed it was to correlate request and reply
01-16-2015 12:05 PM
I don't know why it doesn't return the uuid, but you can always get it with getRoutePartition, searching by name.
01-22-2015 09:51 AM
Of course - I was merely pointing out an inconsistency. I'm not sure it's by design (in fact I'm quite convinced it is not) so in my book it smells like a bug that ought to be corrected.
01-23-2015 03:50 PM
I can speak with the engineers about it to see why or if the uuid was left off intentially or not
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