cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1300
Views
5
Helpful
3
Replies

SOAP update to device profile speed dials in CUCM

Bhunt 410
Beginner
Beginner

Does anyone have an example they can share to update the speed dials of a device profile, or any device really in this format?

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

  <soapenv:Header/>

  <soapenv:Body>

   <ns:updateLine sequence="?">

    <pattern>"dn"</pattern>

    <routePartitionName>'''internal'''</routePartitionName>

    <newRoutePartitionName>"test"</newRoutePartitionName>

   </ns:updateLine>

  </soapenv:Body>

</soapenv:Envelope>'''

I have had success using this method with curl to change directory number partitions, this is an example I found online a while back.

BAT has an update speed dials based on template for phones, but not device profiles. I know you can use bulk import / export, but I have had bad experiences with that in the past and an looking to learn more about using the SOAP API.

It is ok if I need to first query the pkid for the device profiles, I can query them from the CLI in advance.

1 Accepted Solution

Accepted Solutions

npetrele
Cisco Employee
Cisco Employee

Here is an example of how you'd set speed dials on a device profile:

<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:updateDeviceProfile>

         <name>Test Device Profile</name>

         <speeddials>

            <speeddial>

               <dirn>7926</dirn>

               <label>Nick Fury</label>

               <index>1</index>

            </speeddial>

            <speeddial>

               <dirn>7101</dirn>

               <label>Nick Danger</label>

               <index>2</index>

            </speeddial>

         </speeddials>

      </ns:updateDeviceProfile>

   </soapenv:Body>

</soapenv:Envelope>

View solution in original post

3 Replies 3

amoherek
Cisco Employee
Cisco Employee

I'm moving this post to the AXL forums so that those subscribed to that space can reply.

npetrele
Cisco Employee
Cisco Employee

Here is an example of how you'd set speed dials on a device profile:

<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:updateDeviceProfile>

         <name>Test Device Profile</name>

         <speeddials>

            <speeddial>

               <dirn>7926</dirn>

               <label>Nick Fury</label>

               <index>1</index>

            </speeddial>

            <speeddial>

               <dirn>7101</dirn>

               <label>Nick Danger</label>

               <index>2</index>

            </speeddial>

         </speeddials>

      </ns:updateDeviceProfile>

   </soapenv:Body>

</soapenv:Envelope>

Thank you so much, we have a working script.  

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: