Voice over IP Cisco - Retrieving device information from CISCO CallManager

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





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 Retrieving device information from CISCO CallManager
Andrea Cerioli

2006-01-27, 8:49 pm



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@alter.it Via Attilio Ambrosini, 177 |
| VOICE: +39-6-5405740 I-00147 Rome |
| FAX: +39-6-5405883 Italy |
Lelio Fulgenzi

2006-01-27, 8:49 pm

Some of the information is live information and not stored. Wes talked previously about the following, it worked great for us.

----- Original Message -----
From: Wes Sisk
To: Marcin Nowacki
Cc: cisco-voip@puck.nether.net
Sent: Sunday, January 02, 2005 9:15 AM
Subject: Re: [cisco-voip] IP Phone serial numbers


No automated way built into CM, but pretty easy:

1. use 'mmfspy a' to ge the IP of all phones registered to CM
2. use 'wget', an Open Source utility, to http get all of the web pages
from the phones.
3. use 'grep' to parse the files and pick out the serial numbers

/Wes


--------------------------------------------------------------------------------
Lelio Fulgenzi, B.A.
Network Analyst (CCS) * university of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"I had a coffee and Coke at lunch today...and now, I've got more jitter than an
IP phone on a long haul 10base2 connection" LFJ
----- Original Message -----
From: Andrea Cerioli
To: cisco-voip@puck.nether.net
Sent: Thursday, January 26, 2006 12:36 PM
Subject: [cisco-voip] Retrieving device information from cisco CallManager




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@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

Philip Walenta

2006-01-27, 8:49 pm

I believe all of the information you're looking for can now be pulled via
SNMP (SOAP/AXL can do it, it's just more tedious IMHO).

The MIB itself can be found here:

http://tools.cisco.com/Support/SNMP...mibName=CISCO-C
CM-MIB



-----Original Message-----
From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Andrea Cerioli
Sent: Thursday, January 26, 2006 11:36 AM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] Retrieving device information from cisco CallManager



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@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
Wes Sisk

2006-01-27, 8:49 pm

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

2006-01-27, 8:49 pm

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:[vbcol=seagreen]
> 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:
>

--
| 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 |
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com