Check out the DeviceListX functionality, available in CallManager 3.2(2b) and 3.3+. It allows you to get a list of devices (name, ip, description, calling search space, device pool, status) registered with CallManager.
Note that you can only call this at 60 second intervals (preferably longer), so you may need to cache the data returned by this for use by your applications.
Information on this function is available in the latest IPPS SDK.
I can't tell you how to get the user information from the phone without the DeviceListX function, but I do know how to get the IP address. Just use the PhoneIP = Request.ServerVariables("REMOTE_HOST") in your ASP page to get the address.
could you explain this method to get the ip-address of a phone in more detail? you said "PhoneIP = Request.ServerVariables("REMOTE_HOST")", but which "remote_host"? for example, i have the mac-address and the dn of the phone and want to get the ip? how could i accomplish that with your way?
thanks for the source, it works fine but isn't what i'm looking for at all!
i'm developing a ani-service and must have the ip of the called phone! it seems that i have to use the devicelistx-function! but my problem is, that i connect to the devicelistx.asp through a java-urlconnection and don't know how to get the info's back in java?
another idea is, that i synchronize the ccm-sql-db with a second db-system and than make a db-query with java odbc! sure, it's not the best way, but i'll try it!
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...