<?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>Retrieve calling number using device name</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12238586" />
  <subtitle>Retrieve calling number using device name</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12238586</id>
  <updated>2013-05-19T04:24:45Z</updated>
  <dc:date>2013-05-19T04:24:45Z</dc:date>
  <entry>
    <title>RE: Retrieve calling number using device name</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12266399" />
    <author>
      <name>David Nguyen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12266399</id>
    <updated>2013-02-22T17:28:12Z</updated>
    <published>2013-02-22T17:28:12Z</published>
    <summary type="html">Thanks Thomas. That's really helpful.

David</summary>
    <dc:creator>David Nguyen</dc:creator>
    <dc:date>2013-02-22T17:28:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Retrieve calling number using device name</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12259222" />
    <author>
      <name>Thomas Vanier</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12259222</id>
    <updated>2013-02-22T14:28:43Z</updated>
    <published>2013-02-22T14:28:43Z</published>
    <summary type="html">Hi David,
The current Jabber SDK does not have any "offline" API, as you say you must connect first before getting access to the device/line information. The next CUCM release 10.0 will expose a "user data services" REST API to retrieve this kind of information.
In the meantime you could download manually the device configuration from the CUCM TFTP server, parse the returned XML and read the &lt;line&gt; element(s). Each line has a &lt;name&gt; child node which contains the DN. Device configuration can be retrieved over TFTP or HTTP at these URLs:
tftp://cucm/devicename.cnf.xml
http://cucm:6970/devicename.cnf.xml
Hope this helps, Thomas</summary>
    <dc:creator>Thomas Vanier</dc:creator>
    <dc:date>2013-02-22T14:28:43Z</dc:date>
  </entry>
  <entry>
    <title>Retrieve calling number using device name</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12238585" />
    <author>
      <name>David Nguyen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12238585</id>
    <updated>2013-02-22T00:22:59Z</updated>
    <published>2013-02-22T00:22:59Z</published>
    <summary type="html">Hi,  
When a device is connected one can use lineDNs() to retrieve line DNs associated with this device. Is there a way to retrieve the line DNs given the device name without having the device connected?  

Any help would be greatly appreciated
Thanks.
David </summary>
    <dc:creator>David Nguyen</dc:creator>
    <dc:date>2013-02-22T00:22:59Z</dc:date>
  </entry>
</feed>

