<?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 - create User</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>CUPI - create User</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-23T18:25:46Z</updated>
  <dc:date>2013-05-23T18:25:46Z</dc:date>
  <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=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=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=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=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</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>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>

