Voice over IP Cisco - RE: Retrieving device information from CISCO

This is Interesting: Free IT Magazines  
Home > Archive > Voice over IP Cisco > January 2006 > RE: Retrieving device information from CISCO





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Retrieving device information from CISCO
Philip Walenta

2006-01-31, 6:02 pm

Cisco will be removing devicelistx.asp in the near future. SNMP and AXL
will be the only method of retrieving device information.


_____

From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Adam Blomfield
Sent: Tuesday, January 31, 2006 8:41 AM
To: Wes Sisk
Cc: cisco-voip@puck.nether.net
Subject: Re: [cisco-voip] Retrieving device information from CISCO


"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.


On 1/30/06, Wes Sisk <wsisk@cisco.com> wrote:

As this is such a frequently asked question and devicelistx.asp has a
finite future, I will test as soon as I get a few minutes. My
initial sources say:

SNMP MIB
ccmPhoneInetAddress - .1.3.6.1.4.1.9.9.156.1.2.1.1.15
ccmPhoneInetAddressType - .1.3.6.1.4.1.9.9.156.1.2.1.1.14

AXL
request string - listPhoneByName
parameter - searchstring %

/Wes

On Jan 28, 2006, at 9:56 AM, Seth Call wrote:

For real-time reg info, dlx is the only way.

You could also use JTAPI to monitor the device, but that's obviously
pretty heavy, depending on how many phones we are talking about.

-----Original Message-----
From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net
<mailto:cisco-voip-bounces@puck.nether.net> ] On Behalf Of Andrea Cerioli
Sent: Saturday, January 28, 2006 4:10 AM
To: Justin Steinberg
Cc: cisco-voip@puck.nether.net
Subject: Re: [cisco-voip] Retrieving device information from CISCO


Thanks all for the useful hints.
This saved us a lot of time.

I just have a last question.

I've reviewed the sample application in the SDK,
and it uses DeviceListX.asp.
i.e. to retrieve the IP address of a phone, it gets the complete list,
loads it in a vector, then searches the phone name to extract the IP
address.
This looks to be the only way to do this.

Unfortunately this way can be quite heavvy if you need
to query the resident http server of hundreds, or even thousands of
IP Phones independently from each other.
However we can "optimize" getting the list once per a time interval,
but is still an overhead and prevent us from working asynchronously,
I mean we will need to build a synchronous application that will batch
al operations at fixed time intervals, then get the current list at that
time, perform all batched operations, and the sleeps for next time
interval.
Not very nice IMHO, but looks to be the only way out.

I would have expected a smarter API, something like
GetIPPhoneRegInfoByName,
using the SEP name to retrieve registration info of the phone from
the callmanager.
This would be a natural complement of the DeviceListX.asp report.

Is there any way, perhaps undocumented, to obtain regstration info
for a single IP phone at a time, or are we bound to retrieving the
complete list?

Thanks in advance for your comments.

Andrea

Justin Steinberg wrote:
> Andrea,
>
> You should download the IP Phone Services SDK for ccm 4.1(3). There
> is quite a few example applications that run on asp and some that run
> on jsp. I've played around with several and know that some have code
> that query's for the phone IP. I know the Push2Phone app query's for
> IP in order to push the xml post to the phone's IP address.
>
>

http://www.cisco.com/en/US/products...ucts_programmin
g_reference_guide_chapter09186a008040575
9.html[vbcol=seagreen]
>
> Justin
>
>
>
<mailto:43D9390D.7010807@alternet.it> >[vbcol=seagreen]
http://<ip>/CCMAdmin/reports/DeviceListX.asp[vbcol=seagreen]
other[vbcol=seagreen]
address[vbcol=seagreen]
address.[vbcol=seagreen]
docs[vbcol=seagreen]

--
| Andrea Cerioli alter.net Srl |
| e-mail: cerioli@alter.it Via Attilio Ambrosini, 177 |
| VOICE: +39-6-5405740 I-00147 Rome |
| FAX: +39-6-5405883 Italy |

________________________________________
_______
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
<https://puck.nether.net/mailman/listinfo/cisco-voip>


________________________________________
_______
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

________________________________________
_______
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip





--

________________________________________
_

Adam Blomfield
8989 West 61st Street, Tulsa OK 74131
Tel: 918-447-1593
Cell: 918-625-1739
E-mail mailto:adman@adman.net
Internet http://www.adman.net
________________________________________
_



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com