[cisco-voip] Retrieving device information from CISCO

Philip Walenta pwalenta at wi.rr.com
Tue Jan 31 09:43:40 EST 2006


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 at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Adam Blomfield
Sent: Tuesday, January 31, 2006 8:41 AM
To: Wes Sisk
Cc: cisco-voip at 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 at 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 at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net
<mailto:cisco-voip-bounces at puck.nether.net> ] On Behalf Of Andrea Cerioli
Sent: Saturday, January 28, 2006 4:10 AM
To: Justin Steinberg
Cc: cisco-voip at 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/sw/voicesw/ps556/products_programmin
g_reference_guide_chapter09186a0080405759.html 
>
> Justin
>
>
>
>> Date: Thu, 26 Jan 2006 22:03:09 +0100
>> From: Andrea Cerioli <cerioli at alternet.it>
>> Subject: Re: [cisco-voip] Retrieving device information from CISCO 
>>       CallManager
>> To: cisco-voip at puck.nether.net
>> Message-ID: <43D9390D.7010807 at alternet.it
<mailto:43D9390D.7010807 at alternet.it> >
>> Content-Type: text/plain; charset=us-ascii; format=flowed
>>
>> Thanks to all for your support.
>> The very ugly way is not for us, and SNMP does not return this info
>> since ccmPhoneInfo.ccmPhoneTable.ccmPhoneEntry.ccmPhoneIpAddress
>> looks to be always empty.
>>
>> THe supported SOAP interface is the one we investigated, but although
>> we are using 4.1(3) we could not find the right query to do. 
>> We manage to extract any sort of info but not the IP address.
>>
>> Perhaps we don't have the greatest and latest documentation.
>> Can you please point us to the right query?
>> 
>> Thanks in advance for any further help.
>>
>> Andrea.
>> Wes Sisk wrote:
>>
>>> There are several versions of SOAP.  In CallManager 4.1(3) there
>>> is a 
>>> new SOAP interface that includes device registered status.
>>>
>>> In older versions the file
http://<ip>/CCMAdmin/reports/DeviceListX.asp
>>> provides a list of almost all devices (7902/05/12, ATA, and a few 
other
>>> devices excluded), their registration status, and IP.
>>>
>>> The very ugly way to retrieve the data is via unofficial unsupported
>>> mmfspy from cmd prompt on the CM server. 
>>>
>>> The AXL/SOAP interface is the officially supported interface for all
>>> versions going forward.
>>>
>>> /Wes
>>>
>>> Andrea Cerioli wrote: 
>>>
>>>
>>>> We are writing an application that need to query the CallManager
>>>> to obtain the list of registered Phones, including current IP
address
>>>> for each phone. 
>>>>
>>>> We have tried with AXL SOAP interface, and also looked into the DC
>>>> directory
>>>> and the SQL database, but we couldn't find this information.
>>>> We obtained plenty of information about phones, but not their IP
address.
>>>>
>>>> The information must be there, since it is there in
>>>> the web based administration interface ... 
>>>>
>>>> This is driving us mad.
>>>> Where are we wrong?
>>>> Do we miss the right documentation? (we use the publicly available
docs
>>>> on AXL SOAP from the CISCO web site). 
>>>>
>>>> Thanks for any help (or direction to the proper place to ask this
>>>> question).
>>>>
>>>>
>>
>> --
>> | Andrea Cerioli               alter.net Srl              |
>> | e-mail: cerioli at alter.it     Via Attilio Ambrosini, 177 |
>> | VOICE: +39-6-5405740         I-00147 Rome               | 
>> | FAX:   +39-6-5405883         Italy                      |
>>
>>
>>

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

_______________________________________________
cisco-voip mailing list
cisco-voip at 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 at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

_______________________________________________
cisco-voip mailing list
cisco-voip at 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 at adman.net
Internet http://www.adman.net
_________________________________________ 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20060131/271d3c36/attachment.html


More information about the cisco-voip mailing list