<?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>Some questions about CmDeive Object</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6112685" />
  <subtitle>Some questions about CmDeive Object</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6112685</id>
  <updated>2013-06-19T12:34:00Z</updated>
  <dc:date>2013-06-19T12:34:00Z</dc:date>
  <entry>
    <title>RE: Some questions about CmDeive Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6483864" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6483864</id>
    <updated>2012-09-12T22:09:57Z</updated>
    <published>2012-09-12T22:09:57Z</published>
    <summary type="html">Testing on my 8.5 system with phones, gateway and trunks defined: only phone and trunk devices are returned.  Gateways are not supported with the API, it appears:
[b]
[/b]
[b]...
[/b]
[b]&lt;item xsi:type="ns1:CmDevice"&gt;
   &lt;Name xsi:type="xsd:string"&gt;CUPS-SIP-Trunk&lt;/Name&gt;
   &lt;DirNumber xsi:type="xsd:string" xsi:nil="true"/&gt;
   &lt;Class xsi:type="ns1:DeviceClass"&gt;SIP Trunk&lt;/Class&gt;
   &lt;Model xsi:type="xsd:unsignedInt"&gt;131&lt;/Model&gt;
   &lt;Product xsi:type="xsd:unsignedInt"&gt;0&lt;/Product&gt;
...[/b]</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2012-09-12T22:09:57Z</dc:date>
  </entry>
  <entry>
    <title>Some questions about CmDeive Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6112684" />
    <author>
      <name>Matt Bolton</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6112684</id>
    <updated>2012-07-17T03:40:37Z</updated>
    <published>2012-07-17T03:40:37Z</published>
    <summary type="html">Hi,
 
I'm just started with programming in Serviceability XML, and i found that the RisPort70.SelectCmDevice will return an device array,but for all device , they are the same type "CmDevice" object. that means whether Phone , Trunk or GateWay are CmDevice, How to distinguish from them?
 
[b]i knew the attribute "class"[/b], but i want to know which attributes are belong to "GateWay", or which attributes are belong to "Phone". 
 
for example, the attribute "DirNumber" is not a attribute for gateway but for Phone.
 
Is there have any object are defined for the Gateway? and where is the gateway , phone or trunk contains information in the document?
 
Thx.</summary>
    <dc:creator>Matt Bolton</dc:creator>
    <dc:date>2012-07-17T03:40:37Z</dc:date>
  </entry>
</feed>

