cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
911
Views
0
Helpful
6
Replies

getLineGroup - empty uuid for routePartitionName

stephan.steiner
Spotlight
Spotlight

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.

6 Replies 6

jocreed
Cisco Employee
Cisco Employee

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>

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.

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

npetrele
Cisco Employee
Cisco Employee

I don't know why it doesn't return the uuid, but you can always get it with getRoutePartition, searching by name.

stephan.steiner
Spotlight
Spotlight

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.

I can speak with the engineers about it to see why or if the uuid was left off intentially or not