<?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>tables used in the cucm db for cups</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4026324" />
  <subtitle>tables used in the cucm db for cups</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4026324</id>
  <updated>2013-06-19T19:21:36Z</updated>
  <dc:date>2013-06-19T19:21:36Z</dc:date>
  <entry>
    <title>RE: tables used in the cucm db for cups</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4071118" />
    <author>
      <name>Randy Watson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4071118</id>
    <updated>2011-06-17T11:57:43Z</updated>
    <published>2011-06-17T11:57:43Z</published>
    <summary type="html">Is there also a parameter to pullout and display the watchers.  Unfotunately, the product does not have an ASK first option for people in the company.
You can only block or allow and to block all is not really a good option because then you have everyone asking others for permission to see them. 
Any help would be appreciated</summary>
    <dc:creator>Randy Watson</dc:creator>
    <dc:date>2011-06-17T11:57:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: tables used in the cucm db for cups</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4031310" />
    <author>
      <name>Stephan Steiner</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4031310</id>
    <updated>2011-06-10T15:49:25Z</updated>
    <published>2011-06-10T15:37:25Z</published>
    <summary type="html">Small followup.. did it work out for you? I managed to extract users, settings and potential values for those user configurable fields.. but even sending the same uuid/name pair for each XFKType back returns a useless error (axlcode = -1, axlmessage empty) - this is using a .NET stub created as per Cisco's instructions.
I'm currently triyng to go the old "write the xml on your own" route where I can play with the syntax in the hope that cups will eventually accept something that I'm sending to it.
 
@edit.. using SoapUI I managed to quickly try out various ways of sending the update request.. here's how the user looks that I'm trying to modify
 
&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   &lt;soapenv:Body&gt;
      &lt;ns:listUpcUserSettingsResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5"&gt;
         &lt;return&gt;
            &lt;upcUserSettings uuid="{3CCDA087-5ADE-4733-93D7-238B0122590A}"&gt;
               &lt;userid&gt;register&lt;/userid&gt;
               &lt;voicemailprofile uuid="{75224352-9994-189C-595E-A6A233DEB1FE}"&gt;p_Unity&lt;/voicemailprofile&gt;
               &lt;ctigatewayprofile uuid="{4200D77E-8E83-4163-AC01-20420A9A3E7E}"&gt;Default_Profile&lt;/ctigatewayprofile&gt;
               &lt;conferencingprofile/&gt;
               &lt;ldapprofile/&gt;
               &lt;audioprofile/&gt;
               &lt;ccmcipprofile/&gt;
            &lt;/upcUserSettings&gt;
         &lt;/return&gt;
      &lt;/ns:listUpcUserSettingsResponse&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
 
if I then send a 
 
&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5"&gt;
   &lt;soapenv:Header/&gt;
   &lt;soapenv:Body&gt;
      &lt;ns:updateUpcUserSettings sequence="?"&gt;
         &lt;userid&gt;register&lt;/userid&gt;
         &lt;voicemailprofile&gt;p_Unity&lt;/voicemailprofile&gt;
         &lt;ctigatewayprofile&gt;Default_Profile&lt;/ctigatewayprofile&gt;
         &lt;conferencingprofile/&gt;
         &lt;ldapprofile/&gt;
         &lt;audioprofile/&gt;
         &lt;ccmcipprofile/&gt;
      &lt;/ns:updateUpcUserSettings&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
 
I get  the following back
 
&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   &lt;soapenv:Body&gt;
      &lt;soapenv:Fault&gt;
         &lt;faultcode&gt;soapenv:Server&lt;/faultcode&gt;
         &lt;faultstring/&gt;
         &lt;detail&gt;
            &lt;axlError&gt;
               &lt;axlcode&gt;-1&lt;/axlcode&gt;
               &lt;axlmessage/&gt;
               &lt;request&gt;updateUpcUserSettings&lt;/request&gt;
            &lt;/axlError&gt;
         &lt;/detail&gt;
      &lt;/soapenv:Fault&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
 
I've also tried using lines like &lt;ldapprofile uuid=""&gt;&lt;/ldapprofile&gt;, as well as &lt;ldapprofile&gt;&lt;/ldapprofile&gt; and of cours specifying the uuid where applicable (just copied the lines I got for my listUpdUserSettings request) to no avail.</summary>
    <dc:creator>Stephan Steiner</dc:creator>
    <dc:date>2011-06-10T15:37:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: tables used in the cucm db for cups</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4031198" />
    <author>
      <name>Doug Kartio</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4031198</id>
    <updated>2011-06-10T14:27:39Z</updated>
    <published>2011-06-10T14:27:39Z</published>
    <summary type="html">No problem, glad I could help</summary>
    <dc:creator>Doug Kartio</dc:creator>
    <dc:date>2011-06-10T14:27:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: tables used in the cucm db for cups</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030905" />
    <author>
      <name>Stephan Steiner</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030905</id>
    <updated>2011-06-10T10:16:32Z</updated>
    <published>2011-06-10T10:16:32Z</published>
    <summary type="html">Doug - exactly what I was looking for. Thanks :)</summary>
    <dc:creator>Stephan Steiner</dc:creator>
    <dc:date>2011-06-10T10:16:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: tables used in the cucm db for cups</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4026507" />
    <author>
      <name>Doug Kartio</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4026507</id>
    <updated>2011-06-09T14:02:18Z</updated>
    <published>2011-06-09T14:02:18Z</published>
    <summary type="html">I had these same questions a few weeks ago.

I talked about it on the AXL forum:

http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/3830374

There is a WSDL in the axltoolkit within the CUPS plugin menu.  This is a different axltoolkit than in the CM plugin directory.

There you will find the updateUpcUserSettings, those handle the settings you are looking for.

This documentation is old, but still fairly good.

http://www.cisco.com/en/US/docs/voice_ip_comm/cups/6_0_1/interoperability/developer/guide/cpsinter.html#wp73904

You can fill in the blanks and bring our mental model up to date by downloading the AXL WSDL from CUPS.  Then by using soapUI, one can parse the WSDL and create a prototype request, which gives you the following:

&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0"&gt;
   &lt;soapenv:Header/&gt;
   &lt;soapenv:Body&gt;
      &lt;ns:updateUpcUserSettings sequence="?"&gt;
         &lt;!--You have a CHOICE of the next 2 items at this level--&gt;
         &lt;uuid&gt;?&lt;/uuid&gt;
         &lt;userid&gt;?&lt;/userid&gt;
         &lt;!--Optional:--&gt;
         &lt;voicemailprofile uuid="?"&gt;?&lt;/voicemailprofile&gt;
         &lt;!--Optional:--&gt;
         &lt;ctigatewayprofile uuid="?"&gt;?&lt;/ctigatewayprofile&gt;
         &lt;!--Optional:--&gt;
         &lt;conferencingprofile uuid="?"&gt;?&lt;/conferencingprofile&gt;
         &lt;!--Optional:--&gt;
         &lt;ldapprofile uuid="?"&gt;?&lt;/ldapprofile&gt;
         &lt;!--Optional:--&gt;
         &lt;audioprofile uuid="?"&gt;?&lt;/audioprofile&gt;
         &lt;!--Optional:--&gt;
         &lt;ccmcipprofile uuid="?"&gt;?&lt;/ccmcipprofile&gt;
      &lt;/ns:updateUpcUserSettings&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;

Hope that helps</summary>
    <dc:creator>Doug Kartio</dc:creator>
    <dc:date>2011-06-09T14:02:18Z</dc:date>
  </entry>
  <entry>
    <title>tables used in the cucm db for cups</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4026323" />
    <author>
      <name>Stephan Steiner</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4026323</id>
    <updated>2011-06-09T12:13:52Z</updated>
    <published>2011-06-09T12:13:52Z</published>
    <summary type="html">Is there any documentation as to which tables are used for cups in the cucm database? So far I've only managed to find the two cups fields on the enduser, but there must be a lot more (I'm specifically looking for a list of voicemail profiles, conferencing profiles, ldap profiles, audio profiles and ccmcip profiles and where those values are set on a user)</summary>
    <dc:creator>Stephan Steiner</dc:creator>
    <dc:date>2011-06-09T12:13:52Z</dc:date>
  </entry>
</feed>

