<?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>Modify Users Role</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>Modify Users Role</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-21T06:53:57Z</updated>
  <dc:date>2013-05-21T06:53:57Z</dc:date>
  <entry>
    <title>RE: User Transfer Information</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9977884" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9977884</id>
    <updated>2013-01-07T03:06:32Z</updated>
    <published>2013-01-07T03:06:32Z</published>
    <summary type="html">This is exactly what I needed.  Thanks for you time and help.
Ash</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2013-01-07T03:06:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: User Transfer Information</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9929815" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9929815</id>
    <updated>2013-01-04T22:34:36Z</updated>
    <published>2013-01-04T22:33:40Z</published>
    <summary type="html">Sure.  Our CUC admins used CUDLI, or something to provide me the information in the original post. Their request is here :
[i][b]It is common for us to get requests from support and provisioning teams wanting to know what end users are using for their caller input. The requests come in one of two formats; either a request for caller input key actions for a group of users or a request wanting to know who is using a specific number as a caller input target. These requests usually come about when end users move on or when changes are made to contact center scripts. [color=#000000][/b][/i]
We have a large number of clusters and thus we typically crawl the restful api either ondemand for requests of this nature or crawl key information (like users, dtmfaccessid, objects, etc) to be stored offline.  If I can find this information via the restful api I can create a solution to search it in a manner that fits their needs.  However I cannot find this information.  I can have seen vmrest/handlers/callhandlers//transferoptions but these always list the 3 global options and not what I am hoping for.  [/color] [color=#000000]Thanks so much for your help. [/color]</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2013-01-04T22:33:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: User Transfer Information</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9929559" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9929559</id>
    <updated>2013-01-04T22:18:11Z</updated>
    <published>2013-01-04T22:18:11Z</published>
    <summary type="html">Thanks Jeff.  Unfortunately I don't think CUDLI will work cause I am trying to automate a solution to allow users of our web tools to query for information by transfernumber or show caller input key actions for a subset of users. I was hoping to pull this information via the restful api. 
Thanks for your help.  </summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2013-01-04T22:18:11Z</dc:date>
  </entry>
  <entry>
    <title>User Transfer Information</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9929260" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9929260</id>
    <updated>2013-01-04T21:51:43Z</updated>
    <published>2013-01-04T21:50:35Z</published>
    <summary type="html">Where can I find the following DB information in the API?
 
Database: UnityDirDB
Table: vw_alternatecontactnumber_subscriber
objectid displayname menuentryobjectid subscriberobjectid touchtonekey transfernumber transferrings transfertype
fdb357c2-4256-438d-ab20-b6a96358cd0d Evy Tennison 53edde99-3855-48d5-92db-02c889724f0b 5c9009be-e011-4c30-ad72-141a7e4ebd1c 0 13097352388 4 0</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2013-01-04T21:50:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: changing SmtpAddress</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8858290" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8858290</id>
    <updated>2012-11-27T15:49:10Z</updated>
    <published>2012-11-27T15:49:10Z</published>
    <summary type="html">Thanks for note.  A few related questions. 
Everyone one of our user accounts has a "SMTP Address" defined.  When access /vmrest/user/&lt;userobjectid&gt; they all have an &lt;SmtpProxyAddressURI&gt; but each has a zero entries.  I have only seen existing proxyaddress where I have made changes to the value via the UI.  That seems to align with the previous note from Jeff.  Proxy addresses do not exist until the existing value is modified.  
When the value is changed via the UI the old value appears to move into the /vmrest/smtpproxyaddresses and the new value can be seen a /vmrest/users/&lt;objectid&gt;.  
WIth our group voice mail boxes the smtp address uses a "gvm-&lt;location code&gt;" format.  These location codes can change and when they do I want to update the smtp address to show the updated location code.  If I understand correctly I can add/update proxy addresses but not the original (which can be changed via UI).  Any further explanation would be greatly appreciated.  Also any links to documentation on POST/PUT/DELETE methods on the proxy addresses.  
Thanks</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-11-27T15:49:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: changing SmtpAddress</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8825638" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8825638</id>
    <updated>2012-11-26T15:52:46Z</updated>
    <published>2012-11-26T15:52:46Z</published>
    <summary type="html">I am also running into this issue.  I am running v8.5 and trying to do a put with
 
&lt;SmtpAddress&gt;myaddress&lt;/SmtpAddress&gt;
I get a successful return code but the value isn't changed.   It is successfully changing displayname, alias and department with the same PUT.   Any help would be appreaciated.  
 
Ash</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-11-26T15:52:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: get the number of used licenses in CUC v7</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8707771" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8707771</id>
    <updated>2012-11-20T22:07:26Z</updated>
    <published>2012-11-20T22:07:26Z</published>
    <summary type="html">Follow-up question:
Can you get license consumption information via CUPI or another API?   The only other way I know of today is SNMP with an OID like this 1.3.6.1.4.1.9.9.385.1.2.12 (ciscoUnityLicVMISubscribersMax) .</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-11-20T22:07:26Z</dc:date>
  </entry>
  <entry>
    <title>Sending empty (no voice) message</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8678235" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8678235</id>
    <updated>2012-11-19T20:52:27Z</updated>
    <published>2012-11-19T20:52:27Z</published>
    <summary type="html">I am trying to send a voice message and receiving an error. version=8.5.  I am using perl and LWP but essentially generic HTTP POST like anyone else.  
ERROR: 
[color=#ff0000]&lt;ErrorDetails&gt;&lt;errors&gt;&lt;code&gt;MESSAGE_ERROR&lt;/code&gt;&lt;message&gt;did not receive two body parts (message, recipients): part count=1&lt;/message&gt;&lt;/errors&gt;&lt;/ErrorDetails&gt;
 400 Bad Request
[/color]
$VAR1 = bless( {
                 '_content' =&gt; '--boundary_foo
Content-Type: application/xml
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;Message&gt;&lt;Subject&gt;my subject&lt;/Subject&gt; &lt;ArrivalTime&gt;0&lt;/ArrivalTime&gt;&lt;FromSub&gt;false&lt;/FromSub&gt;&lt;/Message&gt;
--boundary_foo
Content-Type: application/xml
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;Recipients&gt;&lt;Recipient&gt;&lt;Type&gt;TO&lt;/Type&gt;&lt;Address&gt;&lt;ObjectId&gt;"fa8c7df9-b216-45d4-9058-3ab7bd50633d&lt;/ObjectId&gt;&lt;/Address&gt;&lt;/Recipient&gt;&lt;/Recipients&gt;
--boundary_foo
',
                 '_uri' =&gt; bless( do{\(my $o = 'https://MYSERVER:8443/vmrest/messages?userobjectid=fa8c7df9-b216-45d4-9058-3ab7bd50633d')}, 'URI::https' ),
                 '_headers' =&gt; bless( {
                                        'content-type' =&gt; 'multipart/mixed;boundary=boundary_foo',
                                        'authorization' =&gt; 'Basic Y2NhZG1pbjpzdGF0ZWZhcm1AMTIz'
                                      }, 'HTTP::Headers' ),
                 '_method' =&gt; 'POST'
               }, 'HTTP::Request' );</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-11-19T20:52:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: MWI light</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8674280" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8674280</id>
    <updated>2012-11-19T17:46:26Z</updated>
    <published>2012-11-19T17:46:26Z</published>
    <summary type="html"> We are working on a application that does phone checkout.  It will use JTAPI to ensure the MWI is active on a phone.  This helps us validate the users vm is setup correctly in relation to the phone.  I will look into sending the message via CUMI...
Thanks!</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-11-19T17:46:26Z</dc:date>
  </entry>
  <entry>
    <title>MWI light</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8674096" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8674096</id>
    <updated>2012-11-19T17:34:49Z</updated>
    <published>2012-11-19T17:34:49Z</published>
    <summary type="html">Is it possible to just do a PUT/POST to activate the MWI on a phone?  If not I am assuming using CUMI to send a message is the preferred route. 
I have read:
[url=http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API_--_Sending_a_Voice_Message_with_One_or_More_Attachments]http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API_--_Sending_a_Voice_Message_with_One_or_More_Attachments[/url]
[url=http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API_--_HTTP_Samples]http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API_--_HTTP_Samples[/url]
Thanks</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-11-19T17:34:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUPI - create User Template</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6520580" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6520580</id>
    <updated>2012-09-18T13:40:31Z</updated>
    <published>2012-09-18T13:40:31Z</published>
    <summary type="html">Wonderful...THanks!

What doc should I be using to answer these questions?  The schema?</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-09-18T13:40:31Z</dc:date>
  </entry>
  <entry>
    <title>CUPI - create User Template</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6515125" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6515125</id>
    <updated>2012-09-17T22:29:05Z</updated>
    <published>2012-09-17T22:29:05Z</published>
    <summary type="html">Is the creation of a User Template allows via CUPI?  I cannot find any documentation on the creation of usertemplates.  The GET is fully functionality.  If it is allowed can someone point me in the right direction of documentation showing required params for the POST?  
 
Ryan</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-09-17T22:29:05Z</dc:date>
  </entry>
  <entry>
    <title>CUPI query filter options</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5870155" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5870155</id>
    <updated>2012-06-14T23:45:04Z</updated>
    <published>2012-06-14T23:45:04Z</published>
    <summary type="html">I am aware of these examples to filter results by known values
https://foo/vmrest/globalusers?query=(alias%20is%20MYUSER)
https://foo/vmrest/globalusers?query=(alias%20is%20MYUSER)
 
Is there a way to include only those entries where, for example, DtmfAccessId is null or not like XYZ???
 
 </summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-06-14T23:45:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Modify Users Role</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5491079" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5491079</id>
    <updated>2012-04-19T22:26:10Z</updated>
    <published>2012-04-19T22:26:10Z</published>
    <summary type="html">RESOLVED: 

Turns out all of the information I needed are in the CUPI.  They are under the Policy section.  I can query by role membership and hopefully do a POST/DELETE for updates. 

Ash</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-04-19T22:26:10Z</dc:date>
  </entry>
  <entry>
    <title>Modify Users Role</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5379412" />
    <author>
      <name>Ryan Ash</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5379412</id>
    <updated>2012-03-29T21:34:51Z</updated>
    <published>2012-03-29T21:34:51Z</published>
    <summary type="html">We have a large environment with multiple Unity clusters and a large number of support staff.  I need to write some automation which will add and remove roles to a user as necessary.  Our users are automatically created due to a sync with LDAP.  We are currently running v8.5
 
For example I would like to add the role "System Administrator" to user X

 
Here is a related post which indicates it is not possible via CUPI.  
http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/2691367
 
Is this possible via CUPI?  If it is not is it in another API?  Is direct SQL an option if nothing else is?  
 
Thanks for the help!</summary>
    <dc:creator>Ryan Ash</dc:creator>
    <dc:date>2012-03-29T21:34:51Z</dc:date>
  </entry>
</feed>

