01-16-2017 07:03 AM
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.
05-23-2018 12:01 PM
Well I know the localRouteGroup is working, I just used it for me. I was stumped on that part forever, so thanks!
05-23-2018 01:56 PM
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>
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: