<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Associating a User to a Phone in a bidirectional manner in Management</title>
    <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688165#M2916</link>
    <description>&lt;P&gt;I am using Python to automate the User Device association, what I have achieved is making an association of device to a User using the following call:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;  
        &amp;lt;SOAP-ENV:Body&amp;gt;    
          &amp;lt;axl:updateUser xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="12055"&amp;gt;         
            &amp;lt;userid&amp;gt;ar&amp;lt;/userid&amp;gt;         
           &amp;lt;associatedDevices&amp;gt;
              &amp;lt;device&amp;gt;SEP12334555D455&amp;lt;/device&amp;gt;      
            &amp;lt;/associatedDevices&amp;gt;    
          &amp;lt;/axl:updateUser &amp;gt;
          &amp;lt;/SOAP-ENV:Body&amp;gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/PRE&gt;
&lt;P&gt;But now what I want to achieve is the association UserID in a Phone. is this possible with a single API call? What might the syntax of the XML be?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2018 15:09:14 GMT</pubDate>
    <dc:creator>AR7</dc:creator>
    <dc:date>2018-08-14T15:09:14Z</dc:date>
    <item>
      <title>Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688165#M2916</link>
      <description>&lt;P&gt;I am using Python to automate the User Device association, what I have achieved is making an association of device to a User using the following call:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;  
        &amp;lt;SOAP-ENV:Body&amp;gt;    
          &amp;lt;axl:updateUser xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="12055"&amp;gt;         
            &amp;lt;userid&amp;gt;ar&amp;lt;/userid&amp;gt;         
           &amp;lt;associatedDevices&amp;gt;
              &amp;lt;device&amp;gt;SEP12334555D455&amp;lt;/device&amp;gt;      
            &amp;lt;/associatedDevices&amp;gt;    
          &amp;lt;/axl:updateUser &amp;gt;
          &amp;lt;/SOAP-ENV:Body&amp;gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/PRE&gt;
&lt;P&gt;But now what I want to achieve is the association UserID in a Phone. is this possible with a single API call? What might the syntax of the XML be?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 15:09:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688165#M2916</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-14T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688280#M2917</link>
      <description>&lt;P&gt;If you're referring to the 'Owner User ID' field in the phone config, this can be updated via &amp;lt;updatePhone&amp;gt; and the &amp;lt;ownerUserId&amp;gt; element.&amp;nbsp; Note that the user-&amp;gt;device association and the Owner User ID field are used for somewhat different purposes (the latter is mainly an indicator for licensing.)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 17:03:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688280#M2917</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2018-08-14T17:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688579#M2918</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Would you like to display the UserID on the handset (Phone)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to show the Name on the handset, then you can use updatePhone (lines -&amp;gt; line -&amp;gt; label, lines -&amp;gt; line -&amp;gt; display) and updateLine (alertingName, asciiAlertingName). And if not you can use updatePhone (ownerUserName - uuid) to update uuid of user as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it would help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Thuy Doan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 02:05:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3688579#M2918</guid>
      <dc:creator>TDoan</dc:creator>
      <dc:date>2018-08-15T02:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689406#M2919</link>
      <description>Want a clarification, when we do a user-device association using updateUser tag, the ownerid, in the Phone config is not set, will a call to UpdatePhone and updating the ownerid complete the process of association.</description>
      <pubDate>Thu, 16 Aug 2018 04:34:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689406#M2919</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-16T04:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689409#M2920</link>
      <description>&lt;P&gt;I am using the following call to associate the OwnerId in a Phone Config and change the Owner from anonymous to user. I am using Python to run the code, it's showing successful updation, but the changes are not reflected in the Call Manager. is there anything I am doing wrong:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;  
&amp;lt;SOAP-ENV:Body&amp;gt;    
  &amp;lt;axl:updatePhone xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="12055"&amp;gt;         
    &amp;lt;ownerUserId&amp;gt;john.doe&amp;lt;/ownerUserId&amp;gt;
    &amp;lt;owner&amp;gt;User&amp;lt;/owner&amp;gt;
    &amp;lt;name&amp;gt;SEP987654321098&amp;lt;/name&amp;gt;
    
  &amp;lt;/axl:updatePhone&amp;gt;
  &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Aug 2018 04:54:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689409#M2920</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-16T04:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689410#M2921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The value of&amp;nbsp;ownerUserId is uuid, not the name&lt;/P&gt;
&lt;P&gt;I changed it as follows&lt;/P&gt;
&lt;P&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&amp;gt; &lt;BR /&gt;&amp;lt;SOAP-ENV:Body&amp;gt; &lt;BR /&gt; &amp;lt;axl:updatePhone xmlns:axl="&lt;A href="http://www.cisco.com/AXL/API/1.0" target="_blank"&gt;http://www.cisco.com/AXL/API/1.0&lt;/A&gt;" sequence="12055"&amp;gt; &lt;BR /&gt; &amp;lt;ownerUserId&amp;gt;User's Uuid&amp;lt;/ownerUserId&amp;gt;&lt;BR /&gt; &amp;lt;/axl:updatePhone&amp;gt;&lt;BR /&gt; &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;BR /&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/P&gt;
&lt;P&gt;You need to get uuid of john.doe as in your sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it would help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;T Doan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 05:07:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689410#M2921</guid>
      <dc:creator>TDoan</dc:creator>
      <dc:date>2018-08-16T05:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689427#M2922</link>
      <description>I am not able to get the uuid for my user, when I run the query select * from enduser where userid="john.doe".&lt;BR /&gt;Is uuid automatically assigned, or we have to feed it manually when adding a user.</description>
      <pubDate>Thu, 16 Aug 2018 05:57:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689427#M2922</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-16T05:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689434#M2923</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The uuid will be created automatically after adding a new user.&lt;/P&gt;
&lt;P&gt;I used getUser to get the user's details as shown below&lt;/P&gt;
&lt;P&gt;//&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&amp;lt;ns:getUser sequence="1"&amp;gt;&lt;BR /&gt;&amp;lt;userid&amp;gt;&lt;SPAN&gt;Agent001&lt;/SPAN&gt;&amp;lt;/userid&amp;gt;&lt;BR /&gt;&amp;lt;returnedTags&amp;gt;&amp;lt;firstName/&amp;gt;&amp;lt;lastName/&amp;gt;&amp;lt;userid/&amp;gt;&lt;BR /&gt;&amp;lt;/returnedTags&amp;gt;&lt;BR /&gt;&amp;lt;/ns:getUser&amp;gt;&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;//&lt;SPAN&gt;getUserResponse&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;"&amp;gt;&lt;BR /&gt; &amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt; &amp;lt;ns:getUserResponse xmlns:ns="&lt;A href="http://www.cisco.com/AXL/API/10.0" target="_blank"&gt;http://www.cisco.com/AXL/API/10.0&lt;/A&gt;"&amp;gt;&lt;BR /&gt; &amp;lt;return&amp;gt;&lt;BR /&gt; &amp;lt;user uuid="{33CF90D3-7E96-A544-7995-426828546118}"&amp;gt;&lt;BR /&gt; &amp;lt;firstName&amp;gt;Jane&amp;lt;/firstName&amp;gt;&lt;BR /&gt; &amp;lt;lastName&amp;gt;Doe&amp;lt;/lastName&amp;gt;&lt;BR /&gt; &amp;lt;userid&amp;gt;Agent001&amp;lt;/userid&amp;gt;&lt;BR /&gt; &amp;lt;/user&amp;gt;&lt;BR /&gt; &amp;lt;/return&amp;gt;&lt;BR /&gt; &amp;lt;/ns:getUserResponse&amp;gt;&lt;BR /&gt; &amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;
&lt;P&gt;//&lt;/P&gt;
&lt;P&gt;uuid is&amp;nbsp;&lt;SPAN&gt;{33CF90D3-7E96-A544-7995-426828546118}. You will use this uuid for updatePhone.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TDoan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 06:13:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689434#M2923</guid>
      <dc:creator>TDoan</dc:creator>
      <dc:date>2018-08-16T06:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689441#M2924</link>
      <description>&lt;P&gt;Thanks for the reply. I was able to retrieve the uuid of the user using the syntax you sent earlier. But when I am running the following code, its still not updating in the Call manager. Is there something else, I am missing in the syntax.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;  
&amp;lt;SOAP-ENV:Body&amp;gt;    
  &amp;lt;axl:updatePhone xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="12055"&amp;gt;         
    &amp;lt;ownerUserId&amp;gt;5D32F080-AC28-294E-39E1-8EB80542667E&amp;lt;/ownerUserId&amp;gt;
    &amp;lt;name&amp;gt;SEP987654321098&amp;lt;/name&amp;gt;
    
  &amp;lt;/axl:updatePhone&amp;gt;
  &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Aug 2018 06:30:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689441#M2924</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-16T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689449#M2925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes. Please change ownUserId to ownerUserName as follow.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;ownerUserName&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;uuid&amp;gt;{5D32F080-AC28-294E-39E1-8EB80542667E}&amp;lt;/uuid&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/ownerUserName&amp;gt;&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;TDoan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 06:53:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689449#M2925</guid>
      <dc:creator>TDoan</dc:creator>
      <dc:date>2018-08-16T06:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689555#M2926</link>
      <description>&lt;P&gt;After Updating my XML below:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;  
&amp;lt;SOAP-ENV:Body&amp;gt;    
  &amp;lt;axl:updatePhone xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="12055"&amp;gt;         
    &amp;lt;ownerUserName&amp;gt;
    &amp;lt;uuid&amp;gt;{B2A75DFC-F05E-E12D-A820-164E4D9870A4}&amp;lt;/uuid&amp;gt;
    
    &amp;lt;/ownerUserName&amp;gt;
    &amp;lt;name&amp;gt;SEPE8B7480316D6&amp;lt;/name&amp;gt;
    
  &amp;lt;/axl:updatePhone&amp;gt;
  &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;I am getting the Error Message&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Item not valid: The specified User Id was not found&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;The user is there in the CUCM, but this error message keeps coming, hope this time I am getting the syntax right.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 09:34:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689555#M2926</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-16T09:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Associating a User to a Phone in a bidirectional manner</title>
      <link>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689643#M2928</link>
      <description>&lt;P&gt;As a possible solution to my question, my problem got solved when I used the following syntax:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;  
&amp;lt;SOAP-ENV:Body&amp;gt;    
  &amp;lt;axl:updatePhone xmlns:axl="http://www.cisco.com/AXL/API/12.0" sequence="12055"&amp;gt;         
    &amp;lt;ownerUserName&amp;gt;john.doe1&amp;lt;/ownerUserName&amp;gt;
    &amp;lt;uuid&amp;gt;{2B46E9DC-D511-B47B-F1BF-27FB6DAC1ECE}&amp;lt;/uuid&amp;gt;
    
  &amp;lt;/axl:updatePhone&amp;gt;
  &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:29:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/associating-a-user-to-a-phone-in-a-bidirectional-manner/m-p/3689643#M2928</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-16T12:29:45Z</dc:date>
    </item>
  </channel>
</rss>

