<?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>CUPI Questions</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=4458577" />
  <subtitle />
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=4458577</id>
  <updated>2013-05-21T07:48:41Z</updated>
  <dc:date>2013-05-21T07:48:41Z</dc:date>
  <entry>
    <title>LDAP not updating all fields</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12622342" />
    <author>
      <name>Derry Lyons</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12622342</id>
    <updated>2013-03-05T16:45:32Z</updated>
    <published>2013-03-04T23:37:05Z</published>
    <summary type="html">My first post, so forgive me if I'm in the wrong spot. [i](I've successfully interfaced with REST to create a Reset PIN script (yay!), have looked at the vmrest XML schema, and have even succeeded in getting the CUDLI reporting tool working... My next project is user import, which I've seen in another post.)[/i]     Quirky question: When a user's attributes change in LDAP, after the sync their DisplayName, SmtpAddress and LdapCcmUserId are all still the old values. I don't see a way to change these as part of the LDAP sync, so I was just going to build a little script and overwrite them. Bad idea? Is there a reason anybody knows why they don't get automatically changed?   Thanks for any insights! :) Derry</summary>
    <dc:creator>Derry Lyons</dc:creator>
    <dc:date>2013-03-04T23:37:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cisco Unity Connection .NET REST SDK</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12264505" />
    <author>
      <name>Jeff Lindborg</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12264505</id>
    <updated>2013-02-22T15:52:37Z</updated>
    <published>2013-02-22T15:52:37Z</published>
    <summary type="html">The home page for the SDK (now with new devlopers guide in progress!) is here:
[url=http://www.ciscounitytools.com/CodeSamples/Connection/CUPI/CUPI.html]http://www.ciscounitytools.com/CodeSamples/Connection/CUPI/CUPI.html[/url]
on there you'll find a link to the SubVersion repository which is open and available to the public - you just need a free SubVersion client (there's a link to what I consider to be the best and easiest - TortoiseSvn) and you can download/update the library easily - We're updating the library with new capabilities and documentation enhancements etc... a couple times a week at this point.  Getting a lot of feature requests and "can you write up how you do X?" type requests going into the dev guide so it's getting a lot of attention.
That's currently the only way we'll distribute the library - there's a little training video out there you can watch that shows how to include and use it in your project if you're not familiar with how to go about that - should get you from A to B on it.  It's not scary, I promise - the whole idea of the SDK is to make working with CUPI/CUTI way easier and less painful...</summary>
    <dc:creator>Jeff Lindborg</dc:creator>
    <dc:date>2013-02-22T15:52:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cisco Unity Connection .NET REST SDK</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12264499" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12264499</id>
    <updated>2013-02-22T15:52:21Z</updated>
    <published>2013-02-22T15:52:21Z</published>
    <summary type="html">SDK and the details are present here:
http://www.ciscounitytools.com/CodeSamples/Connection/CUPI/CUPI.html
 </summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-02-22T15:52:21Z</dc:date>
  </entry>
  <entry>
    <title>Cisco Unity Connection .NET REST SDK</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12264330" />
    <author>
      <name>darrell breyer</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12264330</id>
    <updated>2013-02-22T15:45:53Z</updated>
    <published>2013-02-22T15:45:53Z</published>
    <summary type="html">I am trying to update users voicemail pins via a .net c# web app.  In searching online i found the cisco unity connection .net rest sdk.  Where can i download this sdk and use in my project...

Or is there a better way to do this?
Thanks in advance
Darrell</summary>
    <dc:creator>darrell breyer</dc:creator>
    <dc:date>2013-02-22T15:45:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUC 8 interface to PMS (Hospitality)</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11393195" />
    <author>
      <name>Eri Hendrata Singgih</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11393195</id>
    <updated>2013-02-01T08:25:15Z</updated>
    <published>2013-02-01T08:25:15Z</published>
    <summary type="html">Hi Mr Anil,
Thank you very much for you suggestion, I will try that.
Sorry for my late reply.</summary>
    <dc:creator>Eri Hendrata Singgih</dc:creator>
    <dc:date>2013-02-01T08:25:15Z</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=11345435" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11345435</id>
    <updated>2013-01-31T09:43:43Z</updated>
    <published>2013-01-31T09:43:43Z</published>
    <summary type="html">Thanks Ryan.
That oid and the 1.3.6.1.4.1.9.9.385.1.2.22 gave me what I wanted to know.</summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2013-01-31T09:43:43Z</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=11232682" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11232682</id>
    <updated>2013-01-29T06:40:34Z</updated>
    <published>2013-01-29T06:40:34Z</published>
    <summary type="html">Hello,
  Thanks for this information ... I used the workaround (suppressing the restriction on outdial ...) and now I can create users !
  For your information, in my version when a create action doesn't work, the http request fails and doesn't get an answer. I got only an exception ! So I haven't any information on the error ...
  My conclusion is that VMREST is a very poor interface for managing Unity Connection servers. It's very far from the AXL SOAP API interface available on CallManager environments. Is there a more suitable solution for managing Unity Connection ?
Best regards
Christian</summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-29T06:40:34Z</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=11206761" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11206761</id>
    <updated>2013-01-28T14:36:18Z</updated>
    <published>2013-01-28T14:36:18Z</published>
    <summary type="html">Alright. So you must be getting an error XML in the response something like &lt;ErrorDetails&gt;&lt;errors&gt;.....That's why I asked for the complete output of the request.
This issue has been fixed as a part of CSCty85181 in 8.0ES and above branches.</summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-01-28T14:36:18Z</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=11197586" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11197586</id>
    <updated>2013-01-28T09:38:05Z</updated>
    <published>2013-01-28T09:38:05Z</published>
    <summary type="html">Hello,
  Finally, I found where I can get traces on CUPI requests ...
When I try to add a user, I got the following traces :
[url=http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/11134505]01/28/2013 10:31:09.110 |12422,,,VMREST,3,DEBUG [http-8443-2] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - created authentication information: username=testprov, alias=testprov, id=a76ab312-5967-42d3-b15f-2a834c94808a|
01/28/2013 10:31:09.118 |12422,,,VMREST,3,DEBUG [http-8443-2] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - returning session cached authentication information: alias=testprov, id=a76ab312-5967-42d3-b15f-2a834c94808a|
01/28/2013 10:31:09.887 |12422,,,VMREST,3,ERROR [http-8443-2] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - unable to create a subscriber|
01/28/2013 10:31:09.887 |12422,,,VMREST,3,ERROR [http-8443-2] com.cisco.connection.rest.helper.Utilities  - The Phone Number/Extension has violated a restriction in the restriction table. Phone Number/Extension = [vUserMwiExtension], Restriction Type = [Outdial]|[/url]
Can you explain me why I got a "phone number violation" error ?
If I try to create the user with the same information on the "administration" web page, it works correctly ...
Best regards
Christian</summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-28T09:38:05Z</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=11134505" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11134505</id>
    <updated>2013-01-25T13:21:54Z</updated>
    <published>2013-01-25T13:21:54Z</published>
    <summary type="html">Hello,
  I don't know fiddler and I don't have a lot of time to understand, install, parameter and use it !
Is it possible to get traces on the unity connection server concerning vmrest requests ?
To see what is received and eventually what is wrong ...
Christian</summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-25T13:21:54Z</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=11098147" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11098147</id>
    <updated>2013-01-24T16:13:30Z</updated>
    <published>2013-01-24T16:13:30Z</published>
    <summary type="html">Thats what needs to be checked. The fiddler output will help in this case.</summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-01-24T16:13:30Z</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=11096934" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11096934</id>
    <updated>2013-01-24T15:27:47Z</updated>
    <published>2013-01-24T15:27:47Z</published>
    <summary type="html">OK, I can try to get these informations but why did it work when I do a PUT action like this:
- Method: PUT
- URI: https://10.230.110.177:8443/vmrest/users/75adf033-6a05-4460-bc58-e623186924ec
- XML Data: &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;User&gt;
  &lt;Alias&gt;tst12345&lt;/Alias&gt;
  &lt;LastName&gt;PROVUser&lt;/LastName&gt;
  &lt;FirstName&gt;Test&lt;/FirstName&gt;
  &lt;DisplayName&gt;Test PROVUser&lt;/DisplayName&gt;
  &lt;DtmfAccessId&gt;12345&lt;/DtmfAccessId&gt;
&lt;/User&gt;
I use the same programming code for the two actions. I only change the method ....</summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-24T15:27:47Z</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=11096577" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11096577</id>
    <updated>2013-01-24T14:59:54Z</updated>
    <published>2013-01-24T14:59:54Z</published>
    <summary type="html">Aah.....There you go. It means there can be some issue in creating the request. A couple of things to check:
1. Check the content-type header which you are setting while sending the POST request.
2. The request body which you are setting while sending the POST request.
3. Check the request details using something like Fiddler. 
Do share those details.</summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-01-24T14:59:54Z</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=11091751" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11091751</id>
    <updated>2013-01-24T14:17:18Z</updated>
    <published>2013-01-24T14:17:18Z</published>
    <summary type="html">Hello,
  I have tried to do to POST actions:

First one, I tried to create a contact with the following informations:
- Method: POST
- URI: https://10.230.110.177:8443/vmrest/contacts?templateAlias=voicemailusertemplate
- XML Data: &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;Contact&gt;&lt;Alias&gt;ctc2345&lt;/Alias&gt;&lt;DisplayName&gt;ctc2345&lt;/DisplayName&gt;&lt;/Contact&gt;
For this firts test, I got the same error: The remote server returned an error: (400) Bad Request.
-------------------------------
On a second time, I tried a POST to reset a user's MWI with the following informations:
- Method: POST
- URI: https://10.230.110.177:8443/vmrest/users/75adf033-6a05-4460-bc58-e623186924ec?method=resetmwi
- XML Data: Nothing
For this second test, I got the result code: 204 - NoContent
Thus it works on the second test ...
Have you some idea ?


Christian</summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-24T14:17:18Z</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=11090943" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11090943</id>
    <updated>2013-01-24T13:22:10Z</updated>
    <published>2013-01-24T13:22:10Z</published>
    <summary type="html">I tried it with a 7.1.5ES setup and my java API works fine for the POST operation. Not very much familiar with the .NET api though.
As far as I am suspecting, this can be a case of incorrect request format. Try creating some object other than user like a callhandler, cos, partition etc. and see if you get the same error or not.</summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-01-24T13:22:10Z</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=11082271" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11082271</id>
    <updated>2013-01-24T07:43:27Z</updated>
    <published>2013-01-24T07:43:27Z</published>
    <summary type="html">Hello,
  My code is based on the sample available on the CUPI documentation (http://developer.cisco.com/documents/4453236/4479360/VoiceMailboxQuotaReport.zip/f2437d92-fe8b-4cc9-9729-674ea5827ad3?version=1.0).
All the others actions work correctly.
I can get (GET method), update (PUT method) and delete (DELETE method) existing users or update user's PIN code.
I try yesterday to create a "user template" an I got 405 (405 Method Not Allowed ) exception error. It's normal "user template" creation is not allowed with our CUC version !
So can you help me to find where is the mistake in my create action.
Best regards
Christian
 </summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-24T07:43:27Z</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=11039460" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11039460</id>
    <updated>2013-01-23T17:03:32Z</updated>
    <published>2013-01-23T17:03:32Z</published>
    <summary type="html">Hmm......Can you share the code snippet where you are making the request and sending it to the server.</summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-01-23T17:03:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUPI - create User</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11035775" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11035775</id>
    <updated>2013-01-23T15:34:19Z</updated>
    <published>2013-01-23T15:34:19Z</published>
    <summary type="html">Hello Utkarsh,

  The exact version is 7.1.5.0ES33

  And for the request, I got an exception when I send the request to the server with the error message giving in my first post. So I don't receive any answer to my request ... and I don't have any other information.

Christian
 </summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-23T15:34:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUPI - create User</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11035507" />
    <author>
      <name>Utkarsh Katiyar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11035507</id>
    <updated>2013-01-23T15:21:24Z</updated>
    <published>2013-01-23T15:21:24Z</published>
    <summary type="html">Hey Christian,

What's the complete output of the failed request? Also which version of 7.1.5 are you using?
-Utkarsh</summary>
    <dc:creator>Utkarsh Katiyar</dc:creator>
    <dc:date>2013-01-23T15:21:24Z</dc:date>
  </entry>
  <entry>
    <title>CUPI - create User</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11031129" />
    <author>
      <name>Christian LUDGER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11031129</id>
    <updated>2013-01-23T13:26:41Z</updated>
    <published>2013-01-23T13:26:41Z</published>
    <summary type="html">Hello,
  I am trying to create a user in a version 7.1.5 Unity Connection server.
A use the following informations:
- Method: POST
- URI: https://10.230.110.177:8443/vmrest/users?templateAlias=voicemailusertemplate

- XML Data:
&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;
&lt;User&gt;
  &lt;Alias&gt;tst2345&lt;/Alias&gt;
  &lt;LastName&gt;PROVUser&lt;/LastName&gt;
  &lt;FirstName&gt;Test1&lt;/FirstName&gt;
  &lt;DisplayName&gt;Test1 PROVUser&lt;/DisplayName&gt;
  &lt;DtmfAccessId&gt;23456&lt;/DtmfAccessId&gt;
&lt;/User&gt;


I got the following error: The remote server returned an error: (400) Bad Request
For information, I can get, update and delete a user. Only the create process fail!
Christian</summary>
    <dc:creator>Christian LUDGER</dc:creator>
    <dc:date>2013-01-23T13:26:41Z</dc:date>
  </entry>
</feed>

