<?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 Associate a device with a DN using AXL API in Unified Communications Infrastructure</title>
    <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237299#M43865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many in there since I am working on a test alb that is backed up from the real thing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might just do it the hard way by sending the database sql commands and studying the data dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't beleive this API's poor documentation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 13:42:20 GMT</pubDate>
    <dc:creator>laithabbas0</dc:creator>
    <dc:date>2013-06-10T13:42:20Z</dc:date>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237294#M43860</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a DN to an existing phone device using AXL API via Java. I keep getting this error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Devices can only be associated with DNs, Route Patterns and Hunt Pilots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two existing lines on this device which I added through call manager, but now I am trying to add a third one using AXL API. This is what I did to get this error and I am not sure why:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XDirn dn = new XDirn();&lt;/P&gt;&lt;P&gt;dn.setPattern("6340");&lt;/P&gt;&lt;P&gt;XPhoneLine phoneLine = new XPhoneLine();&lt;/P&gt;&lt;P&gt;phoneLine.setDirn(dn)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;phoneLine.setAsciiLabel("TESTING - 6340");&lt;/P&gt;&lt;P&gt;phoneLine.setDisplay("TESTING - 6340");&lt;/P&gt;&lt;P&gt;phoneLine.setDisplayAscii("TESTING - 6340");&lt;/P&gt;&lt;P&gt;phoneLine.setLabel("TESTING - 6340");&lt;/P&gt;&lt;P&gt;phoneLine.setBusyTrigger("2");&lt;/P&gt;&lt;P&gt;phoneLine.setIndex("3");&lt;/P&gt;&lt;P&gt;phoneLine.setMaxNumCalls("4");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UpdatePhoneReq updatePhone = new UpdatePhoneReq();&lt;/P&gt;&lt;P&gt;updatePhone.setName("SEPD824BDBBCAF1");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UpdatePhoneReq.Lines newLine =&amp;nbsp; new UpdatePhoneReq.Lines();&lt;/P&gt;&lt;P&gt;newLine.getLine().add(phoneLine);&lt;/P&gt;&lt;P&gt;updatePhone.setLines(newLine);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;port.updatePhone(updatePhone);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error occurs at the last line when I try to push the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 13:50:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237294#M43860</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2019-03-19T13:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237295#M43861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be better to post API question on the appropriate forums of developers.cisco.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 17:09:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237295#M43861</guid>
      <dc:creator>paolo bevilacqua</dc:creator>
      <dc:date>2013-06-08T17:09:36Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237296#M43862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, can you paste the exception to here.&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 18:22:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237296#M43862</guid>
      <dc:creator>Gergely Szabo</dc:creator>
      <dc:date>2013-06-08T18:22:55Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237297#M43863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to get rid of the exception by taking out this line &lt;/P&gt;&lt;P&gt;newLine.getLine().add(phoneLine);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I also told it that I want to add at index "3" and it just deleted my first two lines and it did not add anything!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the difference between RPhone and XPhone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 18:33:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237297#M43863</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2013-06-08T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237298#M43864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the phone button template. How many lines do you see there.&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 18:48:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237298#M43864</guid>
      <dc:creator>Gergely Szabo</dc:creator>
      <dc:date>2013-06-08T18:48:27Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237299#M43865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many in there since I am working on a test alb that is backed up from the real thing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might just do it the hard way by sending the database sql commands and studying the data dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't beleive this API's poor documentation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 13:42:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237299#M43865</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2013-06-10T13:42:20Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237300#M43866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;please don't use SQL there. AXL was created to hide the internals of the CUCM. Just imagine, what if Cisco changes the database tables. Or they add a constraint so you actually update something in one table but you don't do it in another. AXL gives you a configuration layer regardless of the underlying tables so you shoud stick to using it. &lt;/P&gt;&lt;P&gt;G. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:16:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237300#M43866</guid>
      <dc:creator>Gergely Szabo</dc:creator>
      <dc:date>2013-06-10T14:16:07Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237301#M43867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you, but I can't spend more time trying to get the API to work. I am basically guessing what I need to call and I keep debugging everything to see what kind of information is returned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope somebody from cisco's staff sees this and start working on a proper documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:26:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237301#M43867</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2013-06-10T14:26:31Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237302#M43868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried to execute SQL commands through the API and that is not working well either. The Axlsoaptoolkit.java file works fine but not through the API. this what I have done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExecuteSQLQueryReq sqlReq = new ExecuteSQLQueryReq();&lt;/P&gt;&lt;P&gt;sqlReq.setSql("select * from device");&lt;/P&gt;&lt;P&gt;ExecuteSQLQueryRes sqlRes = port.executeSQLQuery(sqlReq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.out.println(sqlRes.getReturn().getRow().get(0));&lt;/P&gt;&lt;P&gt;System.out.println(sqlRes.getReturn().getRow().get(1));&lt;/P&gt;&lt;P&gt;System.out.println(sqlRes.getReturn().getRow().get(2));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns null on the first 3 rows where I have more than a 1500 entries in that table. I verified using the Axlsoaptoolkit.java app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 15:54:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237302#M43868</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2013-06-10T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237303#M43869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;can you tell me the exact CUCM version you are trying to work with.&lt;/P&gt;&lt;P&gt;I want to prove you that AXL is not complicated, in fact, can be fun.&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 21:22:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237303#M43869</guid>
      <dc:creator>Gergely Szabo</dc:creator>
      <dc:date>2013-06-10T21:22:01Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237304#M43870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am hoping that you would. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using 9.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 21:35:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237304#M43870</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2013-06-10T21:35:59Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237305#M43871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;oh, I see. I don't have that version yet, but I asked my Cisco contact. By the end of the week, I will have it.&lt;/P&gt;&lt;P&gt;In the meantime, I will try what I have (most likely 7.0, 8.0 or 8.5).&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 08:59:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237305#M43871</guid>
      <dc:creator>Gergely Szabo</dc:creator>
      <dc:date>2013-06-11T08:59:37Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237306#M43872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good, I started building my application top-to-bottom, if you can figure it out I will use the API otherwise I'll just do it using the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I posted above have not been changed between 8.5 and 9.1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw what is the difference betwen Xphone and RPhone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 13:38:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237306#M43872</guid>
      <dc:creator>laithabbas0</dc:creator>
      <dc:date>2013-06-11T13:38:10Z</dc:date>
    </item>
    <item>
      <title>Associate a device with a DN using AXL API</title>
      <link>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237307#M43873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright.&lt;/P&gt;&lt;P&gt;Please, double check the phone button template of the phone you are working on. Adding a third line on a phone with no third line is a no-no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between XPhone and RPhone:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://developer.cisco.com/axl/Files/AXLSoap_XPhone.html#LinkE5F"&gt;http://developer.cisco.com/axl/Files/AXLSoap_XPhone.html#LinkE5F&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://developer.cisco.com/axl/Files/AXLSoap_RPhone.html#LinkB80"&gt;http://developer.cisco.com/axl/Files/AXLSoap_RPhone.html#LinkB80&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like they are both the representation of a phone, but each element is used by a different method (the methods are listed there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 13:58:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-communications-infrastructure/associate-a-device-with-a-dn-using-axl-api/m-p/2237307#M43873</guid>
      <dc:creator>Gergely Szabo</dc:creator>
      <dc:date>2013-06-11T13:58:17Z</dc:date>
    </item>
  </channel>
</rss>

