<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Unassigned Associated Items</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>Unassigned Associated Items</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-06-20T08:52:11Z</updated>
  <dc:date>2013-06-20T08:52:11Z</dc:date>
  <entry>
    <title>RE: Support for SQL Transactions?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8950787" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8950787</id>
    <updated>2012-11-30T15:08:32Z</updated>
    <published>2012-11-30T15:08:32Z</published>
    <summary type="html">David,
Many thanks.  I was curious about this for the reason of taking care with my sql messaging so we're on the same page.  This is all in lab/dev mode.  I didn't know sql statements could be chained so that'll save some overhead, thanks!
Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-11-30T15:08:32Z</dc:date>
  </entry>
  <entry>
    <title>Support for SQL Transactions?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8930114" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8930114</id>
    <updated>2012-11-29T20:53:03Z</updated>
    <published>2012-11-29T20:53:03Z</published>
    <summary type="html">Just wondering if anyone knows whether there is support for sql transactions when using the executeSQL methods?
 
Thanks</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-11-29T20:53:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Dennis Heim in Administration XML (AXL) - Administrati</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7754560" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7754560</id>
    <updated>2012-10-17T19:02:51Z</updated>
    <published>2012-10-17T19:02:51Z</published>
    <summary type="html">If you know where to expect the lines to appear on the device you could use the numplanindex field in devicenumplanmap 'WHERE devicenumplanmap.numplanindex = '1''.  But you might want to include the typepatternusage table as well to make sure you're returning results for numbers assigned to devices and not translation patterns or such.  You could add 'numplan.tkpatternusage = '2'' for that. 
HTH</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-10-17T19:02:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: SQL Update message returns '4052'</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7446034" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7446034</id>
    <updated>2012-10-09T12:06:25Z</updated>
    <published>2012-10-09T12:06:25Z</published>
    <summary type="html">Hi David,
So it was actually an easy fix after I pulled the AXL traces to post here....  The update was creating a duplicate DN/PT combination and so it was failing.  I'm checking each number now instead of a bulk update to avoid this.  For testing, I had been executing the update from the CLI when I got focused on finding out what the 4052 message meant, I should have just gone back to the AXL traces since it provides a more detailed description along with the error code.
 
Thanks for the help.
 
Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-10-09T12:06:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: SQL Update message returns '4052'</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7140265" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7140265</id>
    <updated>2012-09-27T22:59:42Z</updated>
    <published>2012-09-27T22:59:42Z</published>
    <summary type="html">Thanks for the reply David.  I'll post the AXL response and logs when I get back into the office, hopefully tomorrow.  I do know there are DN's in the numplan table that the sub queries would apply to and checked them seperately to confirm.  I created this quick 'PT flip' program to help move DN's assigned to VG224 ports since you can't get to them through BAT (not that I've been able to find anyway).  It will only be run when we're ready to move a couple hundred DN's at a time.  The crazy thing is that I tested this thouroughly in the lab and it still works there with the same software version!</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-09-27T22:59:42Z</dc:date>
  </entry>
  <entry>
    <title>SQL Update message returns '4052'</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7124155" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7124155</id>
    <updated>2012-09-27T15:39:08Z</updated>
    <published>2012-09-27T15:39:08Z</published>
    <summary type="html">Hello,
I'm using a sql update statement to change the partition of some directory numbers in our CUCM 8.6.2 system and receive a return message of 4052 when running the statement and the partition is not updated.  Does anyone know what this message means?  Here's the satement:
 
run sql update numplan set fkroutepartition = (select pkid from routepartition where name = "NEW_PT") where fkroutepartition = (select pkid from routepartition where name = "OLD_PT")
 
I double checked to make sure the PT names are correct.
 
Thanks</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-09-27T15:39:08Z</dc:date>
  </entry>
  <entry>
    <title>addPhoneReq for Vg224 port (CUCM 8.6.2)</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6284070" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6284070</id>
    <updated>2012-08-15T17:46:58Z</updated>
    <published>2012-08-14T21:12:22Z</published>
    <summary type="html">Hello,
 
I'm trying a shot at adding a Vg224 port w/ Line using the addPhone request.  When I send the message with the product set to "MGCP Station", the return message says that the ENUM for MGCP Station wasn't found in typeProduct.  I can locate MGCP Station in the typeProduct table (enum 120) so I'm thinking the addPhone just won't recognize that product and gives a canned response.  You CAN use the getPhone request with the Vg224 ports just fine, which is how I was building my addPhoneReq.
 
On a side note, I ended up at addPhone because the axl schema doesn't seem to list the way to update a port using the updateVg224Req.  It has some info under the addVg224Req, but it's not exactly what I'm looking to do.
 
If anyone has some experience adding Vg224 ports with AXL, I'd be grateful to have some pointers.  We have a couple hundred to add next month so I'm digging to get some automation in place.
 
Thanks,
 
Marty
 
EDIT:  I'm reading through the 'Configuring VG224 Ports Using AXL' doc that's provided under the documentation link here.  It's for 5/6/7 but hopefully most of it will still apply.
 
Second EDIT: I'm now able to get this to work using the addPhoneReq.  Although the getPhoneReq returns the product as "MGCP Station", the addPhoneReq expects "Cisco MGCP FXS Port".</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-08-14T21:12:22Z</dc:date>
  </entry>
  <entry>
    <title>Using 'addMediaResourceGroup' w/ multiple devices</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6189672" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6189672</id>
    <updated>2012-07-27T02:20:01Z</updated>
    <published>2012-07-27T02:20:01Z</published>
    <summary type="html">Hello,
 
I'm trying to add a media resource group with multiple devices (1 transcoder, 1 conf bridge and 1 MTP) but it only ever takes one of the devices I list and seems to ignore the others.  I'm not sure if it's the structure of my message or just a quirk of the method.  I actually run into this issue often with other 'add' calls and just use the 'update' afterward to insert whatever I need.  I'm on CUCM 8.5.1, using PHP for the Soap calls.  My code is below and I've tried to move things around a bit with coding the 'members'=&gt;array(.... for each device then just the 'member'=&gt;(array.... for each and finally just 'deviceName'=&gt;'actualDevice'
 
    $response = $soapConnection-&gt;addMediaResourceGroup(array('mediaResourceGroup'=&gt;array('name'=&gt;"NameOfMRG",
                                                                                         'description'=&gt;"This is my MRG",
                                                                                         'multicast'=&gt;'false',
                                                                                         'members'=&gt;array('member'=&gt;(array('deviceName'=&gt;"TransCoder",
                                                                                         'members'=&gt;array('member'=&gt;(array('deviceName'=&gt;"MediaTermPoint",
                                                                                         'members'=&gt;array('member'=&gt;(array('deviceName'=&gt;"ConfBridge")
                                                                                         )))))))))));
Any suggestions?
 
Thanks,
 
Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-07-27T02:20:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: AXL perl script "getuser" associatedDevices</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5434074" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5434074</id>
    <updated>2012-04-11T14:42:50Z</updated>
    <published>2012-04-11T14:42:50Z</published>
    <summary type="html">Hi Michael,

For these issues, I would typically use the SQL select method.  I've been using the update and select methods more and more since I find it easier to get and update the information that way.  For your questions, here's what I would do:

1. Is it also possible to read out with "getuser" every user from the CUCM without inserting one specified username?
 
  - I would use "select userid from enduser".  This is assuming you want to list only userid.  You could use "select userid,firstname,lastname,etc...." if you want more info. (Check out the data dictionary for any info on the DB tables - this info is for v8.5.1)

2. Is it also possible just to display all the users with "getuser" which have one phone and / or UDP associated?

  - Use something like "select e.userid, e.firstname, e.lastname, d.name device from ((device d inner join enduserdevicemap em on d.pkid = em.fkdevice) inner join enduser e on e.pkid = em.fkenduser)"  There may be a more elegant way to get the info, but this would be my approach.  It will list users an associated devices.

3. Is there also a command like "getuser" just for getting back the associated devices for a DN (directory number)? Maybe something like "getline"?

  - For this one, you could "select n.dnorpattern, d.name device from ((numplan n inner join devicenumplanmap dnpm on n.pkid = dnpm.fknumplan) inner join device d on d.pkid = dnpm.fkdevice) order by n.dnorpattern".  This will give you a list of DN's with their associated devices, ordered by DN.

This would be my approach but there might be an easier way to do it through the "list" methods (which I've always had issues getting to work for some reason.....).  If you're more comfortable staying away from the SQL statements someone here might be able to recommend a way using the list methods, but I hope this info does help!

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-04-11T14:42:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: AXL perl script "getuser" associatedDevices</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5421702" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5421702</id>
    <updated>2012-04-08T17:36:49Z</updated>
    <published>2012-04-08T17:36:49Z</published>
    <summary type="html">Hey Michael,

Glad it worked for you and Happy Easter to you too!

It sounds like you have the right game plan for updating the devices.  I have run into some weirdness with the updatePhone method when adding lines but I don't think you'll hit that here.  I found that when adding a line to a phone with updatePhone the line gets added but all other lines are removed!  Just test it out if you haven't already to make sure all is well after the update. 

If you wanted to save a message or two you could (but certainly don't have to) use the SQL Update method since both the hard phone and UDP reside in the device table.  Just send a message something like "update device set description = "new description" where description = "old description" (assuming the update is actually intended for the description field :-).  This would update all hardphones, CUPC clients, IP Communicators, UDP's etc in one message.

Have a great holiday and let me know if you need anything else.

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-04-08T17:36:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: AXL perl script "getuser" associatedDevices</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5420576" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5420576</id>
    <updated>2012-04-07T14:48:12Z</updated>
    <published>2012-04-07T14:48:12Z</published>
    <summary type="html">Hey Michael,

I use something like this:

unless ($res-&gt;fault) {
	$Data::Dumper::Incident=3;
        my ($reply) = $res-&gt;paramsall();
	my $devices = $reply-&gt;{user}{associatedDevices}{device};
	foreach (@$devices) {
            print "$_\n";
	}
    }

This will grab each device and print it.  Let me know if you have any issues.

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-04-07T14:48:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: AXL perl script "getuser" associatedDevices</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5414008" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5414008</id>
    <updated>2012-04-06T03:36:48Z</updated>
    <published>2012-04-06T03:36:48Z</published>
    <summary type="html">Hi Michael,

Thanks, I got a chance to test and this worked for me.

print "AssociatedDevices ".$res-&gt;valueof('//getUserResponse/return/user/associatedDevices/device/');   # 'device' added to the end

The XML structure of the return message looks like this:

$VAR1 = {
          'user' =&gt; {
                    'pin' =&gt; '',
                    'firstname' =&gt; 'Martin',
                    'department' =&gt; '',
                    'userid' =&gt; 'msloan'',
                    'lastname' =&gt; 'Sloan',
                    'primaryDevice' =&gt; 'SEP001D4560F000',
                    'password' =&gt; '',
                    'remoteDestinationLimit' =&gt; '4',
                    'digestCredentials' =&gt; '',
                    'associatedDevices' =&gt; {
                                           'device' =&gt; 'SEP001D4560F000'
                                         },
                    'enableCTI' =&gt; 'true',
                    'telephoneNumber' =&gt; '',
                    'associatedPC' =&gt; '',
                    'phoneProfiles' =&gt; {

                    etc....

The device info is a level deeper in the structure.  When there is more than 1 device associated, the XML structure changes and includes an anonymous hash (square brackets):

'associatedDevices' =&gt; {
                                           'device' =&gt; [
                                                       'SEP001D4560F000',
                                                       'SEP9743'
                                                     ]
                                         },
When you try to access assocaiatedDevices-&gt;device the same way as above when there are multiple devices, it returns ARRAY(something).  I can assist if you need (and don't mind using Data Dumper!)

HTH

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-04-06T03:36:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: AXL perl script "getuser" associatedDevices</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5413667" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5413667</id>
    <updated>2012-04-05T22:14:17Z</updated>
    <published>2012-04-05T22:14:17Z</published>
    <summary type="html">Hi Michael,

I'm thinking that the user has more than 1 device associated and the CUCM is returning the results in a hash which you'd have to de-reference and print/other afterward.  If you use Data::Dumper and: 

          print Dumper($res-paramsall());

you could post the results here and I'll try to help further.

Thanks,

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-04-05T22:14:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Help making list form query results perl and soap lite</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5238474" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5238474</id>
    <updated>2012-03-02T18:24:45Z</updated>
    <published>2012-03-02T18:24:45Z</published>
    <summary type="html">Hey Erick,

Glad it worked for you!  I'm in the same boat man.  Perl is a lot of fun and this same issue really gave me some trouble for a bit.  

Good luck!

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-03-02T18:24:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Help making list form query results perl and soap lite</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5236196" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5236196</id>
    <updated>2012-03-02T15:35:00Z</updated>
    <published>2012-03-02T15:35:00Z</published>
    <summary type="html">Hi Erick,

I think this should accomplish what you're looking for:

unless ($res-&gt;fault) {
    my( $reply ) = $res-&gt;paramsall();
    $desc = $reply-&gt;{row};
    foreach(@$desc) {
	print "$_-&gt;{description}\n";
    }
}

HTH!

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-03-02T15:35:00Z</dc:date>
  </entry>
  <entry>
    <title>executeSQLUpdate - devicenumplanmap</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5214808" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5214808</id>
    <updated>2012-02-27T23:10:39Z</updated>
    <published>2012-02-27T23:10:39Z</published>
    <summary type="html">Hello,
 
I'm trying to add lines to a phone using executeSQLUpdate and seem to be running into an issue.  I'm resorting to the sql method since the updatePhone method has some unexpected behavior (it erases all other lines on a phone when I add a line, yikes!).  Here's my message and the error response:
 
Message:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soap:Body&gt;
&lt;executeSQLUpdate xmlns="AXLAPI.wsdl"&gt;
&lt;sql xsi:type="xsd:string"&gt;insert into devicenumplanmap (fkdevice,fknumplan,numplanindex,label,labelascii,display,displayascii,e164mask,logmissedcalls) values ("e31bbc7d-10ae-90ab-948a-cc89842cee39","ec6d081e-31d9-968a-97c9-9d0f149393bf","2","123456","123456","test entry","test entry","2025551212","t")&lt;/sql&gt;&lt;/executeSQLUpdate&gt;
&lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;

Error:
Missing key in referenced table for referential constraint (informix.fk_devicenumplanmap_fknumplan)
 
If I copy/paste the SQL message into the CUCM CLI (adding run sql, of course) it works.
 
Can anyone spot what I might be missing on this one?  Maybe an API version thing?
 
Thanks!
 
Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-02-27T23:10:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unassigned Associated Items</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5160156" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5160156</id>
    <updated>2012-02-16T15:59:28Z</updated>
    <published>2012-02-16T15:59:28Z</published>
    <summary type="html">Thanks David.  That's definitely what I was thinking.  I didn't know it was possible to open cases with the CDN though.  Do I need anything outside of a CCO and support entitlement, which I have?</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-02-16T15:59:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to update device profile name?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5160088" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5160088</id>
    <updated>2012-02-16T15:50:21Z</updated>
    <published>2012-02-16T15:50:21Z</published>
    <summary type="html">Breno,

No problem, but I need to pay closer attention to my replies :*)  You'll need to use the 'newName' tag in the message, NOT the description tag....  Here's a sample:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soap:Body&gt;
&lt;updateDeviceProfile xmlns="http://www.cisco.com/AXL/API/8.5"&gt;
&lt;name xsi:type="xsd:string"&gt;DP_CurrentName&lt;/name&gt;
&lt;newName xsi:type="xsd:string"&gt;DP_NewName&lt;/newName&gt;
&lt;/updateDeviceProfile&gt;
&lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;


HT1H!

Thanks,

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-02-16T15:50:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to update device profile name?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5151857" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5151857</id>
    <updated>2012-02-14T21:46:32Z</updated>
    <published>2012-02-14T21:46:32Z</published>
    <summary type="html">Hi Breno,

I was successful with this update request:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soap:Body&gt;&lt;updateDeviceProfile xmlns="http://www.cisco.com/AXL/API/8.5"&gt;
&lt;name xsi:type="xsd:string"&gt;DP_123456&lt;/name&gt;
&lt;description xsi:type="xsd:string"&gt;This is a test update&lt;/description&gt;
&lt;/updateDeviceProfile&gt;
&lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;

HTH!

Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-02-14T21:46:32Z</dc:date>
  </entry>
  <entry>
    <title>Unassigned Associated Items</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5151837" />
    <author>
      <name>Martin Sloan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5151837</id>
    <updated>2012-02-14T21:40:02Z</updated>
    <published>2012-02-14T21:40:02Z</published>
    <summary type="html">Hello,
 
I saw a post on this same topic from a few years back but it didn't have an answer so I figured I'd give it another shot.  I'm trying to locate a field in the CUCM DB that might indicate whether an item is "unassigned associated".  For example, a 7962 has an expansion module with 10 lines assigned and then during a MACD the expansion module phone button template is removed and replaced with Standard 796X.  In this case, the extra lines that no longer fit on the phone would drop down under the "unassigned associated items" list.  Does the DB differentiate between an assigned or unassigned dn?  I've checked the devicenumplanmap table which I'm thinking would be the only logical place to find this field if it existed and I do not see it.  The DN/Device associations for the unassigned lines appear to be just the same as the assigned lines, with higher numplanindex values.  Just a last ditch effort before I give up the search.
 
Any help is appreciated!
 
Thanks,
 
Marty</summary>
    <dc:creator>Martin Sloan</dc:creator>
    <dc:date>2012-02-14T21:40:02Z</dc:date>
  </entry>
</feed>

