<!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. 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> <<A href="mailto:wsisk@cisco.com">wsisk@cisco.com</A>>
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, I will test as soon as I get a few minutes. My
<BR>initial sources say:<BR><BR>SNMP MIB<BR>ccmPhoneInetAddress
- .1.3.6.1.4.1.9.9.156.1.2.1.1.15<BR>ccmPhoneInetAddressType
- .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>>
Andrea,<BR>><BR>> You should download the IP Phone Services SDK for
ccm 4.1(3). There<BR>> is quite a few example applications
that run on asp and some that run<BR>> on jsp. I've played
around with several and know that some have code<BR>> that query's for
the phone IP. I know the Push2Phone app query's for<BR>> IP in
order to push the xml post to the phone's IP address. <BR>><BR>><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>><BR>> Justin<BR>><BR>><BR>><BR>>> Date: Thu, 26
Jan 2006 22:03:09 +0100<BR>>> From: Andrea Cerioli <<A
href="mailto:cerioli@alternet.it">cerioli@alternet.it</A>><BR>>>
Subject: Re: [cisco-voip] Retrieving device information from CISCO
<BR>>> CallManager<BR>>> To:
<A
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR>>>
Message-ID: <<A
href="mailto:43D9390D.7010807@alternet.it">43D9390D.7010807@alternet.it
</A>><BR>>> Content-Type: text/plain; charset=us-ascii;
format=flowed<BR>>><BR>>> Thanks to all for your
support.<BR>>> The very ugly way is not for us, and SNMP does not
return this info<BR>>> since
ccmPhoneInfo.ccmPhoneTable.ccmPhoneEntry.ccmPhoneIpAddress<BR>>> looks
to be always empty.<BR>>><BR>>> THe supported SOAP interface is
the one we investigated, but although<BR>>> we are using 4.1(3) we
could not find the right query to do. <BR>>> We manage to extract any
sort of info but not the IP address.<BR>>><BR>>> Perhaps we
don't have the greatest and latest documentation.<BR>>> Can you please
point us to the right query?<BR>>> <BR>>> Thanks in advance for
any further help.<BR>>><BR>>> Andrea.<BR>>> Wes Sisk
wrote:<BR>>><BR>>>> There are several versions of
SOAP. In CallManager 4.1(3) there<BR>>>> is a
<BR>>>> new SOAP interface that includes device registered
status.<BR>>>><BR>>>> In older versions the
file<BR>http://<ip>/CCMAdmin/reports/DeviceListX.asp<BR>>>>
provides a list of almost all devices (7902/05/12, ATA, and a few
<BR>other<BR>>>> devices excluded), their registration status, and
IP.<BR>>>><BR>>>> The very ugly way to retrieve the data
is via unofficial unsupported<BR>>>> mmfspy from cmd prompt on the
CM server. <BR>>>><BR>>>> The AXL/SOAP interface is the
officially supported interface for all<BR>>>> versions going
forward.<BR>>>><BR>>>>
/Wes<BR>>>><BR>>>> Andrea Cerioli wrote:
<BR>>>><BR>>>><BR>>>>> We are writing an
application that need to query the CallManager<BR>>>>> to obtain
the list of registered Phones, including current
IP<BR>address<BR>>>>> for each phone.
<BR>>>>><BR>>>>> We have tried with AXL SOAP
interface, and also looked into the DC<BR>>>>>
directory<BR>>>>> and the SQL database, but we couldn't find
this information.<BR>>>>> We obtained plenty of information
about phones, but not their
IP<BR>address.<BR>>>>><BR>>>>> The information must
be there, since it is there in<BR>>>>> the web based
administration interface ... <BR>>>>><BR>>>>> This
is driving us mad.<BR>>>>> Where are we
wrong?<BR>>>>> Do we miss the right documentation? (we use the
publicly available<BR>docs<BR>>>>> on AXL SOAP from the CISCO
web site). <BR>>>>><BR>>>>> Thanks for any help (or
direction to the proper place to ask this<BR>>>>>
question).<BR>>>>><BR>>>>><BR>>><BR>>>
--<BR>>> | Andrea
Cerioli
<A href="http://alter.net">alter.net</A>
Srl |<BR>>>
| e-mail: <A
href="mailto:cerioli@alter.it">cerioli@alter.it</A>
Via Attilio Ambrosini, 177 |<BR>>> | VOICE:
+39-6-5405740 I-00147
Rome
| <BR>>> | FAX:
+39-6-5405883
Italy |<BR>>><BR>>><BR>>><BR><BR>--<BR>|
Andrea
Cerioli
<A href="http://alter.net">alter.net</A>
Srl |<BR>|
e-mail: <A
href="mailto:cerioli@alter.it">cerioli@alter.it</A>
Via Attilio Ambrosini, 177 |<BR>| VOICE:
+39-6-5405740 I-00147
Rome
|<BR>| FAX:
+39-6-5405883
Italy |<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>