cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
610
Views
0
Helpful
2
Replies

updateDevicePool not working

thedd
Level 1
Level 1

Hi everyone,

i wrote a script which is preparing a few new sites for me.

1. create partitions

2. create css

3. create location

4. create regions

5. create physical location

6. create SRST reference

7. add device pool

8. add conference bridge

9. add transcoder

10. add Media Resource Group

11. add MRGL

12a. add SIP Trunk

14. add Route Group

15. add device mobility info

16. update device pools

I'm using CUCM 11.5.1.11900-26 and everything is workin as expected.

The only thing not working is updating the DevicePools.

I want to assign the Media Resource Group and Local Route Group and AAR CSS.

<name>$name</name>

<mediaResourceListName>$mrln</mediaResourceListName>

<automatedAlternateRoutingCssName>$css</automatedAlternateRoutingCssName>

<localRouteGroup>

     <name>Standard Local Route Group</name>

     <value>$rg</value>

</localRouteGroup>

<localRouteGroup>

     <name>Backup Local Route Group</name>

     <value>$rg-backup</value>

</localRouteGroup

As this XML was not working i tested to rename with

<name>Name</name><newName>Rename</newName>

This was not working, too.

I tried to use the UUID instead of the names withou success.

Any idea what's wrong?

Thanks.

2 Replies 2

beggenberger
Level 1
Level 1

Well I know the localRouteGroup is working, I just used it for me.  I was stumped on that part forever, so thanks!

What kind of errors are you seeing?  The following request seems to work for me on 11.5:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">

  <soapenv:Header/>

  <soapenv:Body>

      <ns:updateDevicePool>

        <name>testDevicePool1</name>

        <newName>testDevicePool2</newName>

        <mediaResourceListName>testMediaResourceGroupList</mediaResourceListName>

        <automatedAlternateRoutingCssName>testCss</automatedAlternateRoutingCssName>

        <localRouteGroup>

            <name>Standard Local Route Group</name>

            <value>testRouteGroup</value>

        </localRouteGroup>

        <localRouteGroup>

            <name>test Local Route Group</name>

            <value>testRouteGroup</value>

        </localRouteGroup>      

      </ns:updateDevicePool>

  </soapenv:Body>

</soapenv:Envelope>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: