<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=167024314-31012006><FONT face=Arial 
color=#0000ff size=2>Cisco will be removing devicelistx.asp in the near 
future.&nbsp; SNMP and AXL will be the only method of retrieving device 
information.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> cisco-voip-bounces@puck.nether.net 
  [mailto:cisco-voip-bounces@puck.nether.net] <B>On Behalf Of </B>Adam 
  Blomfield<BR><B>Sent:</B> Tuesday, January 31, 2006 8:41 AM<BR><B>To:</B> Wes 
  Sisk<BR><B>Cc:</B> cisco-voip@puck.nether.net<BR><B>Subject:</B> Re: 
  [cisco-voip] Retrieving device information from CISCO<BR></FONT><BR></DIV>
  <DIV></DIV>"devicelistx.asp has a finite future" - Would you care to elaborate 
  on that point? We have many inhouse applications that rely on devicelistx.asp, 
  so if it were to go away these would have to be reprogrammed.<BR><BR>
  <DIV><SPAN class=gmail_quote>On 1/30/06, <B class=gmail_sendername>Wes 
  Sisk</B> &lt;<A href="mailto:wsisk@cisco.com">wsisk@cisco.com</A>&gt; 
  wrote:</SPAN> 
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">As 
    this is such a frequently asked question and devicelistx.asp has a<BR>finite 
    future,&nbsp;&nbsp;I will test as soon as I get a few minutes.&nbsp;&nbsp;My 
    <BR>initial sources say:<BR><BR>SNMP MIB<BR>ccmPhoneInetAddress 
    -&nbsp;&nbsp;.1.3.6.1.4.1.9.9.156.1.2.1.1.15<BR>ccmPhoneInetAddressType 
    -&nbsp;&nbsp;.1.3.6.1.4.1.9.9.156.1.2.1.1.14<BR><BR>AXL<BR>request string - 
    listPhoneByName<BR>parameter - searchstring % <BR><BR>/Wes<BR><BR>On Jan 28, 
    2006, at 9:56 AM, Seth Call wrote:<BR><BR>For real-time reg info, dlx is the 
    only way.<BR><BR>You could also use JTAPI to monitor the device, but that's 
    obviously<BR>pretty heavy, depending on how many phones we are talking 
    about. <BR><BR>-----Original Message-----<BR>From: <A 
    href="mailto:cisco-voip-bounces@puck.nether.net">cisco-voip-bounces@puck.nether.net</A><BR>[mailto:<A 
    href="mailto:cisco-voip-bounces@puck.nether.net">cisco-voip-bounces@puck.nether.net 
    </A>] On Behalf Of Andrea Cerioli<BR>Sent: Saturday, January 28, 2006 4:10 
    AM<BR>To: Justin Steinberg<BR>Cc: <A 
    href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR>Subject: 
    Re: [cisco-voip] Retrieving device information from CISCO <BR><BR><BR>Thanks 
    all for the useful hints.<BR>This saved us a lot of time.<BR><BR>I just have 
    a last question.<BR><BR>I've reviewed the sample application in the 
    SDK,<BR>and it uses DeviceListX.asp.<BR>i.e. to retrieve the IP address of a 
    phone, it gets the complete list, <BR>loads it in a vector, then searches 
    the phone name to extract the IP<BR>address.<BR>This looks to be the only 
    way to do this.<BR><BR>Unfortunately this way can be quite heavvy if you 
    need<BR>to query the resident http server of hundreds, or even thousands of 
    <BR>IP Phones independently from each other.<BR>However we can "optimize" 
    getting the list once per a time interval,<BR>but is still an overhead and 
    prevent us from working asynchronously,<BR>I mean we will need to build a 
    synchronous application that will batch <BR>al operations at fixed time 
    intervals, then get the current list at that<BR>time, perform all batched 
    operations, and the sleeps for next time<BR>interval.<BR>Not very nice IMHO, 
    but looks to be the only way out.<BR><BR>I would have expected a smarter 
    API, something like<BR>GetIPPhoneRegInfoByName,<BR>using the SEP name to 
    retrieve registration info of the phone from<BR>the callmanager.<BR>This 
    would be a natural complement of the DeviceListX.asp report.<BR><BR>Is there 
    any way, perhaps undocumented, to obtain regstration info<BR>for a single IP 
    phone at a time, or are we bound to retrieving the<BR>complete 
    list?<BR><BR>Thanks in advance for your 
    comments.<BR><BR>Andrea<BR><BR>Justin Steinberg wrote:<BR>&gt; 
    Andrea,<BR>&gt;<BR>&gt; You should download the IP Phone Services SDK for 
    ccm 4.1(3).&nbsp;&nbsp; There<BR>&gt; is quite a few example applications 
    that run on asp and some that run<BR>&gt; on jsp.&nbsp;&nbsp; I've played 
    around with several and know that some have code<BR>&gt; that query's for 
    the phone IP.&nbsp;&nbsp;I know the Push2Phone app query's for<BR>&gt; IP in 
    order to push the xml post to the phone's IP address. <BR>&gt;<BR>&gt;<BR><A 
    href="http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programmin">http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programmin</A><BR>g_reference_guide_chapter09186a0080405759.html 
    <BR>&gt;<BR>&gt; Justin<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;&gt; Date: Thu, 26 
    Jan 2006 22:03:09 +0100<BR>&gt;&gt; From: Andrea Cerioli &lt;<A 
    href="mailto:cerioli@alternet.it">cerioli@alternet.it</A>&gt;<BR>&gt;&gt; 
    Subject: Re: [cisco-voip] Retrieving device information from CISCO 
    <BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CallManager<BR>&gt;&gt; To: 
    <A 
    href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR>&gt;&gt; 
    Message-ID: &lt;<A 
    href="mailto:43D9390D.7010807@alternet.it">43D9390D.7010807@alternet.it 
    </A>&gt;<BR>&gt;&gt; Content-Type: text/plain; charset=us-ascii; 
    format=flowed<BR>&gt;&gt;<BR>&gt;&gt; Thanks to all for your 
    support.<BR>&gt;&gt; The very ugly way is not for us, and SNMP does not 
    return this info<BR>&gt;&gt; since 
    ccmPhoneInfo.ccmPhoneTable.ccmPhoneEntry.ccmPhoneIpAddress<BR>&gt;&gt; looks 
    to be always empty.<BR>&gt;&gt;<BR>&gt;&gt; THe supported SOAP interface is 
    the one we investigated, but although<BR>&gt;&gt; we are using 4.1(3) we 
    could not find the right query to do. <BR>&gt;&gt; We manage to extract any 
    sort of info but not the IP address.<BR>&gt;&gt;<BR>&gt;&gt; Perhaps we 
    don't have the greatest and latest documentation.<BR>&gt;&gt; Can you please 
    point us to the right query?<BR>&gt;&gt; <BR>&gt;&gt; Thanks in advance for 
    any further help.<BR>&gt;&gt;<BR>&gt;&gt; Andrea.<BR>&gt;&gt; Wes Sisk 
    wrote:<BR>&gt;&gt;<BR>&gt;&gt;&gt; There are several versions of 
    SOAP.&nbsp;&nbsp;In CallManager 4.1(3) there<BR>&gt;&gt;&gt; is a 
    <BR>&gt;&gt;&gt; new SOAP interface that includes device registered 
    status.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; In older versions the 
    file<BR>http://&lt;ip&gt;/CCMAdmin/reports/DeviceListX.asp<BR>&gt;&gt;&gt; 
    provides a list of almost all devices (7902/05/12, ATA, and a few 
    <BR>other<BR>&gt;&gt;&gt; devices excluded), their registration status, and 
    IP.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; The very ugly way to retrieve the data 
    is via unofficial unsupported<BR>&gt;&gt;&gt; mmfspy from cmd prompt on the 
    CM server. <BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; The AXL/SOAP interface is the 
    officially supported interface for all<BR>&gt;&gt;&gt; versions going 
    forward.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; 
    /Wes<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Andrea Cerioli wrote: 
    <BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; We are writing an 
    application that need to query the CallManager<BR>&gt;&gt;&gt;&gt; to obtain 
    the list of registered Phones, including current 
    IP<BR>address<BR>&gt;&gt;&gt;&gt; for each phone. 
    <BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; We have tried with AXL SOAP 
    interface, and also looked into the DC<BR>&gt;&gt;&gt;&gt; 
    directory<BR>&gt;&gt;&gt;&gt; and the SQL database, but we couldn't find 
    this information.<BR>&gt;&gt;&gt;&gt; We obtained plenty of information 
    about phones, but not their 
    IP<BR>address.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; The information must 
    be there, since it is there in<BR>&gt;&gt;&gt;&gt; the web based 
    administration interface ... <BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; This 
    is driving us mad.<BR>&gt;&gt;&gt;&gt; Where are we 
    wrong?<BR>&gt;&gt;&gt;&gt; Do we miss the right documentation? (we use the 
    publicly available<BR>docs<BR>&gt;&gt;&gt;&gt; on AXL SOAP from the CISCO 
    web site). <BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Thanks for any help (or 
    direction to the proper place to ask this<BR>&gt;&gt;&gt;&gt; 
    question).<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; 
    --<BR>&gt;&gt; | Andrea 
    Cerioli&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <A href="http://alter.net">alter.net</A> 
    Srl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR>&gt;&gt; 
    | e-mail: <A 
    href="mailto:cerioli@alter.it">cerioli@alter.it</A>&nbsp;&nbsp;&nbsp;&nbsp; 
    Via Attilio Ambrosini, 177 |<BR>&gt;&gt; | VOICE: 
    +39-6-5405740&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I-00147 
    Rome&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    | <BR>&gt;&gt; | FAX:&nbsp;&nbsp; 
    +39-6-5405883&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    Italy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR><BR>--<BR>| 
    Andrea 
    Cerioli&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <A href="http://alter.net">alter.net</A> 
    Srl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR>| 
    e-mail: <A 
    href="mailto:cerioli@alter.it">cerioli@alter.it</A>&nbsp;&nbsp;&nbsp;&nbsp; 
    Via Attilio Ambrosini, 177 |<BR>| VOICE: 
    +39-6-5405740&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I-00147 
    Rome&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    |<BR>| FAX:&nbsp;&nbsp; 
    +39-6-5405883&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    Italy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR><BR>_______________________________________________<BR>cisco-voip 
    mailing list<BR><A 
    href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR><A 
    href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip 
    </A><BR><BR><BR>_______________________________________________<BR>cisco-voip 
    mailing list<BR><A 
    href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR><A 
    href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><BR><BR>_______________________________________________<BR>cisco-voip 
    mailing list<BR><A 
    href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR><A 
    href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR><BR>_________________________________________<BR><BR>Adam 
  Blomfield<BR>8989 West 61st Street, Tulsa OK 74131<BR>Tel: 
  918-447-1593<BR>Cell: 918-625-1739<BR>E-mail mailto:<A 
  href="mailto:adman@adman.net">adman@adman.net</A><BR>Internet <A 
  href="http://www.adman.net">http://www.adman.net</A><BR>_________________________________________ 
  <BR></BLOCKQUOTE></BODY></HTML>