Re: Retrieving device information from CISCO
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > Voice Over IP > Voice over IP Cisco > Re: Retrieving device information from CISCO




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Retrieving device information from CISCO  
Wes Sisk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-31-06 11:02 PM

Yes, SNMP works great with 4.1(3)sr2.  My phone happens to be instance
13 so:

[wsisk@ws-fc snmp]$ snmpwalk -Os -c public -v 1 172.18.110.96
.1.3.6.1.4.1.9.9.156.1.2.1.1.15.13
enterprises.9.9.156.1.2.1.1.15.13 = IpAddress: 14.48.40.131
[wsisk@ws-fc snmp]$ snmpwalk -Os -c public -v 1 172.18.110.96
.1.3.6.1.4.1.9.9.156.1.2.1.1.14.13
enterprises.9.9.156.1.2.1.1.14.13 = INTEGER: 1
[wsisk@ws-fc snmp]$ snmpwalk -Os -c public -v 1 172.18.110.96
.1.3.6.1.4.1.9.9.156.1.2.1.1.2.13
enterprises.9.9.156.1.2.1.1.2.13 = Hex-STRING: 00 0A 41 F9 7C C4

000A.41F9.7CC4 is the MAC address of my phone.

/Wes

Wes Sisk 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] On Behalf Of Andrea Ceriol
i
> 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:
> 
> http://www.cisco.com/en/US/products...ucts_programmin
>  g_reference_guide_chapter09186a008040575
9.html
> 
> http://<ip>/CCMAdmin/reports/DeviceListX.asp
> 
> other
> 
> address
> 
> address.
> 
> docs
> 
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register