<?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 Re: Adding Phone-Line and Associating Enduser  thru AXL-API in Management</title>
    <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042968#M3339</link>
    <description>&amp;lt;addPhone&amp;gt; can not directly associate the User.  You must use &amp;lt;add | updateUser&amp;gt; to associate Users with Phones:&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; &amp;lt;addLine&amp;gt;&lt;BR /&gt;--&amp;gt; &amp;lt;addPhone&amp;gt;&amp;lt;lines&amp;gt;&amp;lt;line&amp;gt;&amp;lt;dirn&amp;gt;&lt;BR /&gt;--&amp;gt; &amp;lt;addUser&amp;gt;&amp;lt;associatedDevices&amp;gt;</description>
    <pubDate>Mon, 09 Mar 2020 17:52:56 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2020-03-09T17:52:56Z</dc:date>
    <item>
      <title>Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042344#M3337</link>
      <description>&lt;P&gt;Can Anybody help with correct AXL API's&amp;nbsp; for&amp;nbsp; Adding JABBERDevice&amp;nbsp; (CSF) ,&amp;nbsp; &amp;nbsp;LineNumber&amp;nbsp; and Associating its Enduser-ID&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;thru AXL-API for cucm 12.5&amp;nbsp; &amp;nbsp; in a&amp;nbsp; single&amp;nbsp; &amp;nbsp;API&amp;nbsp; Transaction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I can add a single device&amp;nbsp; and line numbers separately , but cannot associate it with both.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 09:41:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042344#M3337</guid>
      <dc:creator>maqsood ahmed</dc:creator>
      <dc:date>2020-03-08T09:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042560#M3338</link>
      <description>&lt;P&gt;Hi Maqsood,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify, your looking for a single call to the AXL-API that can do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a CSF (Jabber) Device and assign a Line Number&lt;/LI&gt;&lt;LI&gt;Associate the newly created CSF Device to an End User&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;From looking at the Documentation I can't see a particular service that can do all 3 things for you. You could however build out a simple API Gateway and link all 3 seperate API calls off that? Here is an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Call the CSF Build API - &lt;A href="https://yourbusiness.com/newstarter/deploysoftphone" target="_blank"&gt;https://yourbusiness.com/newstarter/deploysoftphone&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. /deploysoftphone then sends 3 calls to Create the CSF, Assign a Line Number then Associate the CSF with the end user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you haven't already done so, you can integrate common Enterprise Directories like Active Directory into CUCM so new users that are created in AD can be added to CUCM.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 03:55:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042560#M3338</guid>
      <dc:creator>LanDownUnda</dc:creator>
      <dc:date>2020-03-09T03:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042968#M3339</link>
      <description>&amp;lt;addPhone&amp;gt; can not directly associate the User.  You must use &amp;lt;add | updateUser&amp;gt; to associate Users with Phones:&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; &amp;lt;addLine&amp;gt;&lt;BR /&gt;--&amp;gt; &amp;lt;addPhone&amp;gt;&amp;lt;lines&amp;gt;&amp;lt;line&amp;gt;&amp;lt;dirn&amp;gt;&lt;BR /&gt;--&amp;gt; &amp;lt;addUser&amp;gt;&amp;lt;associatedDevices&amp;gt;</description>
      <pubDate>Mon, 09 Mar 2020 17:52:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4042968#M3339</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2020-03-09T17:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4044822#M3343</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, u r two assumption is right&amp;nbsp; but&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp; url&amp;nbsp; doesn't work :&amp;nbsp;&lt;A href="https://yourbusiness.com/newstarter/deploysoftphone" target="_blank" rel="nofollow noopener noreferrer"&gt;https://yourbusiness.com/newstarter/deploysoftphone&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 10:00:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4044822#M3343</guid>
      <dc:creator>maqsood ahmed</dc:creator>
      <dc:date>2020-03-12T10:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4047187#M3344</link>
      <description>&lt;P&gt;Currently&amp;nbsp; i am using&amp;nbsp; 3 seperate&amp;nbsp; API's to add device add&amp;nbsp; update user ..&amp;nbsp; i face a lot of issue&amp;nbsp; like:&lt;/P&gt;&lt;P&gt;1. when i add&amp;nbsp; device&amp;nbsp; ,, it doesn't&amp;nbsp; populate sip profile&amp;nbsp; under device page ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Example: &amp;lt;sipProfileName uuid="?"&amp;gt;Jabber-For-Android-Sip-Profile&amp;lt;/sipProfileName&amp;gt;&lt;/P&gt;&lt;P&gt;additionally i cannot&amp;nbsp; associate a line index to the added device ,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Still try to get a single API&amp;nbsp; to add device and also associate a primary line to the added device&amp;nbsp;&lt;/P&gt;&lt;P&gt;the only part working good for me is&amp;nbsp; updateUser&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls if u can show me the&amp;nbsp; API with example..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 11:16:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4047187#M3344</guid>
      <dc:creator>maqsood ahmed</dc:creator>
      <dc:date>2020-03-17T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4048210#M3345</link>
      <description>&lt;P&gt;I've added the sipProfileName field to the Python example here, if it helps: &lt;A href="https://github.com/CiscoDevNet/axl-python-zeep-samples/blob/master/axl_add_User_Line_Phone.py" target="_blank"&gt;https://github.com/CiscoDevNet/axl-python-zeep-samples/blob/master/axl_add_User_Line_Phone.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Its working for me on CUCM 12.5...&lt;/P&gt;&lt;P&gt;Unfortunately, creating each of the three objects you want to associate - line/phone/user - requires three separate AXL requests.&amp;nbsp; Perhaps if we can understand your requirement to do it in 'one shot' in more detail we can make some alternate suggestions..?&lt;/P&gt;&lt;P&gt;Note, it may theoretically be possible to do something using multiple transactions in an &amp;lt;executeSqlUpdate&amp;gt; request, as you can include multiple SQL statements in one request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5"&amp;gt;
   &amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
      &amp;lt;ns:executeSQLUpdate sequence="1"&amp;gt;
         &amp;lt;sql&amp;gt;insert into numplan... ;
              insert into device... ;
              insert into user... ;
              insert into devicenumplan map... ;
              insert into enduserdevicemap ...;
       	&amp;lt;/sql&amp;gt;
      &amp;lt;/ns:executeSQLUpdate&amp;gt;
   &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt;&lt;P&gt;However this would require extensive knowledge of the CUCM database schema, the order/tables/fields and object relationships used when creating each type of object, and extensive SQL experience.&amp;nbsp; The result would likely be difficult to maintain/expand, and could be brittle across CUCM versions.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 17:17:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/4048210#M3345</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2020-03-18T17:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Phone-Line and Associating Enduser  thru AXL-API</title>
      <link>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/5250387#M4258</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;If you are still looking for a CUCM automation.&lt;/P&gt;
&lt;P&gt;Please check my course&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cisco CUCM Automation (Bulk Provisioning) with Python Pandas&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Course Link (with discount code)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://shasoft.thinkific.com/courses/cisco-callmanager-cucm-automation-with-python" target="_blank" rel="noopener"&gt;Cisco CUCM Automation with Python (Zeep &amp;amp; Pandas)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":cinema:"&gt;🎦&lt;/span&gt; 5.5 hours of on-demand video (with caption)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":floppy_disk:"&gt;💾&lt;/span&gt; Downloadable sample Python code&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":bell:"&gt;🔔&lt;/span&gt; Full lifetime access&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://www.youtube.com/watch?v=Y7-3jXY-2cc&amp;amp;t=3s" target="_blank" rel="noopener"&gt;New - Cisco UC | CUCM | CallManager Automation with Python - YouTube&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=HOp45FLHxrY" target="_blank"&gt;Cisco CUCM v15.0 Automation with Python&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 18:33:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-phone-line-and-associating-enduser-thru-axl-api/m-p/5250387#M4258</guid>
      <dc:creator>Mohamed Shameer Fareed</dc:creator>
      <dc:date>2025-01-21T18:33:26Z</dc:date>
    </item>
  </channel>
</rss>

