<?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 getLine api not giving correct DN with EM logged on the device in Management</title>
    <link>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592787#M2579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - With CUCM 10.5 AXL API, 'getLine' is not providing correct Device's Director number when device is logged in with EM profile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario#1:&lt;/P&gt;&lt;P&gt;1. Device type 7941 made register to CUCM without DN&lt;/P&gt;&lt;P&gt;2. user logged onto registered device with EM device profile having line configured as 1234&lt;/P&gt;&lt;P&gt;3. EM login is successful and on device has directory number 1234&lt;/P&gt;&lt;P&gt;4. with 'getPhone' AXL api retrieved device's line associated directory number uuid&lt;/P&gt;&lt;P&gt;5. with retrieved uuid sent getLine AXL request&lt;/P&gt;&lt;P&gt;response doesn't have lines information, its empty tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario#2:&lt;/P&gt;&lt;P&gt;1. Device is registered and have 7890 directory number&lt;/P&gt;&lt;P&gt;2. user logged onto device with EM profile having line configured as 3456&lt;/P&gt;&lt;P&gt;3. EM login is successful and device now got 3456 directory number&lt;/P&gt;&lt;P&gt;retrieved uuid associated to directory number as above and sent getLine request. Line's pattern received as 7890 instead of 3456.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above 2 scenarios working correctly when tested with CUCM7.0.1.11000-2. Is there any change in response for getLine api or am I missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also JTAPI correctly reporting terminal addresses post EM login both 10.5 and 7.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;IC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 May 2016 07:24:16 GMT</pubDate>
    <dc:creator>chiranjeevi.illa</dc:creator>
    <dc:date>2016-05-07T07:24:16Z</dc:date>
    <item>
      <title>getLine api not giving correct DN with EM logged on the device</title>
      <link>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592787#M2579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - With CUCM 10.5 AXL API, 'getLine' is not providing correct Device's Director number when device is logged in with EM profile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario#1:&lt;/P&gt;&lt;P&gt;1. Device type 7941 made register to CUCM without DN&lt;/P&gt;&lt;P&gt;2. user logged onto registered device with EM device profile having line configured as 1234&lt;/P&gt;&lt;P&gt;3. EM login is successful and on device has directory number 1234&lt;/P&gt;&lt;P&gt;4. with 'getPhone' AXL api retrieved device's line associated directory number uuid&lt;/P&gt;&lt;P&gt;5. with retrieved uuid sent getLine AXL request&lt;/P&gt;&lt;P&gt;response doesn't have lines information, its empty tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario#2:&lt;/P&gt;&lt;P&gt;1. Device is registered and have 7890 directory number&lt;/P&gt;&lt;P&gt;2. user logged onto device with EM profile having line configured as 3456&lt;/P&gt;&lt;P&gt;3. EM login is successful and device now got 3456 directory number&lt;/P&gt;&lt;P&gt;retrieved uuid associated to directory number as above and sent getLine request. Line's pattern received as 7890 instead of 3456.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above 2 scenarios working correctly when tested with CUCM7.0.1.11000-2. Is there any change in response for getLine api or am I missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also JTAPI correctly reporting terminal addresses post EM login both 10.5 and 7.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;IC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 07:24:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592787#M2579</guid>
      <dc:creator>chiranjeevi.illa</dc:creator>
      <dc:date>2016-05-07T07:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: getLine api not giving correct DN with EM logged on the device</title>
      <link>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592788#M2580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can confirm the behaviour on my 10.5 system: &amp;lt;getPhone&amp;gt;&amp;lt;lines&amp;gt; returns the lines configured on the device itself, not the current lines from the extension mobility profile logged in (if any.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, AFAIK, this is the intended behaviour - it sounds like perhaps the behaviour on 7.x was different (possibly defective?)&amp;nbsp; Unfortunately I do not have a system that old to test on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking to determine the lines active on the phone when/if logged in, you can check the &amp;lt;getPhone&amp;gt;&amp;lt;currentProfileName&amp;gt; element's uuid attribute: if this element/attribute is null the phone is not logged into, if the uuid attribute is present you can perform a &amp;lt;getPhone&amp;gt; with the uuid to retrieve the device profile (and associated lines) currently logged into the device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 18:32:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592788#M2580</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2016-05-10T18:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: getLine api not giving correct DN with EM logged on the device</title>
      <link>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592789#M2581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dstaudt - Thank you for looking into this. Do you think there is/was a change in getPhone API to fetch line UUID in recent releases. I am sure it worked(returned EM profile lines) on CUCM8.X. Will share results on 8.X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;IC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 20:49:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getline-api-not-giving-correct-dn-with-em-logged-on-the-device/m-p/3592789#M2581</guid>
      <dc:creator>chiranjeevi.illa</dc:creator>
      <dc:date>2016-05-10T20:49:12Z</dc:date>
    </item>
  </channel>
</rss>

