CM 5.1 devicelistx

I used the devicelistx
https://CCMIP/ccmadmin/reports/devicelistx.asp page in CM 4.2 for get the status on real time from devices
Now I use the CM 5.1 but in this version devicelistx page doesnt exist. How can i know now the status on real time from devices?
I need get the active phones info
Thanks

Devicelistx.asp does not exist on CCM 5/6. In fact none of .asp exist on them since they don't even have an IIS server. You will have to use AXL/SOAP to pull phone list in CCM5.

Similar Messages

  • Devicelistx.asp The certificate authority is invalid or incorrect

    Hello
    After some modifications of the file "getdeviceip.asp", I at the following point:
    (1) If I leave the line "xmlhttp.open("GET ", protocol +"://" + callManager + "/CCMAdmin/reports/devicelistx.asp", false);"
    I receive the error
    msxml4.dll error ' 80070005 '
    Acc?s refus?. (Access denied)
    (2) If I replace:
    + callmanager +
    by:
    + "callmanager" +
    With callmanager + IP in my host file
    I receive the error
    msxml4.dll error '80072f0d'
    The certificate authority is invalid or incorrect
    An idea?
    Thank you

    Well, I have the same problem...
    I ask in other forums and emails, and some guy tell me this:
    As you probably already know, your error is coming from URLMON (not XMLHTTP), it is INET_E_SECURITY_PROBLEM.
    Trying to pass a username and password using the "Basic" authentication scheme (thats what you are doing right?) through URLMON by HTTP header will not work. MSXML will not set the user information this way. You should pass the username and password to the XMLHTTP.open method, rather than in a request header. See
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/52aaf5ff-e302-4490-821a-cb3a085fe5ee.asp
    However, also because "Basic" authentication is not generally encrypted, you should be using only SSL here.
    I change the code to:
    xmlhttp.Open "GET", "https://10.0.0.10/CCMAdmin/Reports/devicelistx.asp", False , userID, password
    But doesn't work... this is very frustrating...
    Without the IPs from the phones, we're very limitated...
    Jorge

  • CUCM 4.2 DevicelistX problem

    Hi all,
    I am using the DeviceListX function of the CUCUM 4.2 to generate a report. This has been working for a long time, but recently I noticed something strange:
    All the phones with a MAC address that starts with SEP002 are not listed in that list. For as far as I know these are the newer type of IP Phones. All the older phones (SEP001....) are shown in the returned XML.
    Does anyone know about this behavior?
    Thanks in advance,
    Michiel

    Open devicelistx.asp in a notepad and look for supporting phone models. Update the list to reflect new phones. Here is one some what recent list:
    supportedPhones[supportedPhones.length] = 34; // 7910
    supportedPhones[supportedPhones.length] = 35; // 7960
    supportedPhones[supportedPhones.length] = 36; // 7940
    supportedPhones[supportedPhones.length] = 30018; // 7970
    supportedPhones[supportedPhones.length] = 30002; // 7920
    supportedPhones[supportedPhones.length] = 20003; // 7905
    supportedPhones[supportedPhones.length] = 30022; // 7912
    supportedPhones[supportedPhones.length] = 30041; // IP Communicator
    supportedPhones[supportedPhones.length] = 206; // 7911
    supportedPhones[supportedPhones.length] = 115; // 7941
    supportedPhones[supportedPhones.length] = 30044; // 7961
    supportedPhones[supportedPhones.length] = 119; // 7971
    //CSCsb15170 CM: need support for new phones in devicelistx.asp file
    supportedPhones[supportedPhones.length] = 207; // 7961G-GE
    supportedPhones[supportedPhones.length] = 208; // 7941G-GE
    supportedPhones[supportedPhones.length] = 264; // Cisco 7921
    supportedPhones[supportedPhones.length] = 335; // Cisco 7965
    supportedPhones[supportedPhones.length] = 336; // Cisco 7975
    supportedPhones[supportedPhones.length] = 303; // Cisco 7962
    supportedPhones[supportedPhones.length] = 333; // Cisco 7942
    supportedPhones[supportedPhones.length] = 334; // Cisco 7945

  • CM 4.1 DeviceListX Performance with 10K+ phones

    Greetings,
    We have developed some internal caching apps leveraging the use of the Cisco-provided devicelistx.asp. We have used the tool to evaluate and verify environment changes before/after a change control.
    Everything works fine, except we have found that the devicelistx.asp performs poorly with large records.
    Doing some analysis of the performance we have isolated the "problem" to the getRISInfo() function in the ASP. Specifically, we have found that it takes approximately 46 milliseconds per record to retrieve the status. This sounds pretty quick until you process 13,000+ records.
    My question is this:
    The getRISInfo()function is using the ActiveXComponent: RISX.DeviceInfoX with a method (.SelectDeviceByDeviceName), is there another method for RISX that would allow me to grab all registered (status==1) devices?

    When a device is powered up, it gets information via DHCP, connects to the TFTP server for its .cnf file, and then connects to the Cisco CallManager that is specified in the .cnf file.Refer the following URL
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/prod_troubleshooting_guide_chapter09186a00803fa951.html#wp1003582

  • How to get the list of registered phones from RTMT

    I need to get the list of the registered phones from RTMT in excel sheet or text file how i can do this ?????

    The approach you need to take depends on your CM/CUCM version.  In Windows based systems (3.3.3 to 4.2.3 at least, not sure about 4.3 actually) you can get data using devicelistx.asp.  This is discussed in the thread that James provided (+5 James).
    If you are dealing 5.x or later then you need to look at using RISport.  It is a little more involved but more powerful than devicelistx.asp.  Actually, I think RISport and the associated API was available in later 4x releases but was "hidden").
    I have a brief intro here:
    http://www.netcraftsmen.net/component/content/article/70-unified-communications/452-good-bye-devicelistxasp-hello-risport.html
    I probably need to get some of my notes together and put some examples on my blog now that I think about it.  Anyway, the above link is a quick intro with links to devicelistx.asp info and RISport API info.
    HTH.
    Regards,
    Bill
    Please remember to rate helpful posts.

  • Getdeviceip??? cant get it to work

    Whenever, it get to the getDeviceList, it always said that these two line below are wrong.
    xmlhttp.Send();
    xmlDoc.loadXML(xmlhttp.responseText);
    what wrong with them???
    Here is the code of the function getDeviceList()
    function getDeviceList(callManager, userID, password, protocol) {
    var authstring = text2base64(userID + ":" + password);
    var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
    var xmlDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument.3.0");
    xmlDoc.async = false;
    Response.write("About to get Devices List");
    xmlhttp.Open("GET", protocol + "://" + callManager + "/CCMAdmin/reports/DeviceListX.asp", false);
    xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
    xmlhttp.setRequestHeader("Connection", "close");
    xmlhttp.Send();
    xmlDoc.loadXML(xmlhttp.responseText);
    Application("deviceList") = xmlDoc;

    I too am extremely new at this I have been working on this for a couple of days and finally put it all together based on a couple of other posts here and elsewhere.
    https is not a problem for xmlhttp. This works fine for me:
    Set xmlhttp = CreateObject("MSXML2.serverXMLHttp")
    dlurl = "https://ccmpub/CCMAdmin/reports/devicelistx.asp"
    Set xmldoc = CreateObject("MSXML2.serverXMLHttp")
    xmldoc.setOption 2, 13056 'Ignore certificate errors
    xmldoc.Open "GET", dlurl, False, CCM_UID, CCM_PWD
    The part that threw me for a few days was the certificate error. My CCM, like most everyone?s (right?), has a self-signed certificate. This causes xmlhttp to throw an error. You can get xmlhttp to ignore this error using the setOption method.

  • TAPI for Paging(Intercom) application or IP Services?

    If I can, I would like to use TAPI to fill the following requirements:
    1.) Perform a page (intercom call) to a group of phones
    2.) Send text messages to a group of phones.
    I would like to use TAPI as it 'fits' better with my devolopement environment (VC 6) and my experience (not experienced with web services).
    Is it possible to perform BOTH of these operations via TAPI? If so, can someone point me in the direction of a sample or suggest 'how to do this'. Any help is appreciated.
    I am on a tight schedule (not my fault). So any assistance is greatly appreciated.
    CM- 4.2(3), IP Phones- 7961G.

    here's the appropriate tapi developer guide: http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_usage_guide_book09186a00806a73d8.html
    I'm a JTAPI guy myself so I can't answer the TAPI questions - for JTAPI I'd say it's no and yes.. I know you can send text, I'm not sure you can page. Since features don't necessarily match, you'll have to consult the developer guide to make sure.
    And in the developer services central (http://www.cisco.com/cgi-bin/dev_support/access_level/product_support) you'll find a few TAPI examples.
    Wait a tick.. of course you can page. I have no idea about "regular" paging used on a normal phone system and if there's some built in functionality in Call Manager to do this as well.. but you can just push CiscoIPPhoneExecute Items with RTPMRx: and RTPMTx :commands (Tx to the one who wants to scream at people.. Rx to those who should listen) to the phones.. you don't even need CTI for this ... it's the same push mechanism and it also works via regular HTTP Post to all the phones you're trying to reach (naturally you'll have to look up their IP addresses via DeviceListX.asp) and resolve MAC addresses (= phone name = SEP.....) to phone numbers (AXL) so CTI has its bonuses in that department (speed, single authentication to the CCM versus authentication per phone, no need for AXL).

  • IdleURL Not Showing Extensions

    I have the idleurl asp code from the most recent sdk working on my phone. However unlike the screenshot, the extensions on the right side are not showing up. (The little phone next to the button is showing thereby noting that I have a phone line), yet the number is not showing up.
    I have looked through the code and cant find anything (I even looked through the includes but all looks ok there as well.) The devicelistx.asp seems to be available (I browsed to it without a problem.
    Any help or guidance would be great.
    Thanks,
    michael

    Hmm... debugging ASP. I wonder why the majority of people here writes/tries to write ASP scripts but has no idea about debugging those scripts ;)
    Keep in mind that website wise I'm an ASPX/JSP guy but I think Visual Studio also does ASP. Back in the day, I tried to help myself with print statements, but that is really cumbersome so that the time /money spent to get a decent IDE is well invested.
    By the way, google is also pretty good at figuring out how to debug an ASP: http://www.google.ch/search?hl=de&q=debugging+asp+pages&btnG=Google-Suche&meta=
    Also keep in mind that Cisco's samples are not production ready.. they might work but they lack the error handling and logging to make them stable and help you figure out what is going wrong when something goes wrong. Hence, you shouldn't deploy those apps but instead write your own and using the SDK apps as templates.

  • Broadcast Message to All Phones

    Hi
    I am wanting to develop a solution to send a message to all IP phones or a selection of IP Phones.
    I do not want to use a 3rd party product - I want to write the code myself in c#
    I have downloaded the SDK and have the Push2Phone ASP scripts working.
    I can send text from a C# web application to a particular IP Address by using the Execute Method.
    Is using the Push2Phone example the only method to send to multiple phones?
    Create a queue and send to each IP address one after the other an execute command?
    Is there a broadcast method to send to all phones? How do you configure this?
    The PushToPhone uses the execute method. Is this the correct method one would use to send to 200 phones?
    Where is the best documentation for doing what I want. I have done a lot of searching but since I am new to this technology I keep finding information that is not quite relevant to my task. ( a url please ).
    I hope someone can answer one or more of my questions.
    Cheers
    Chris

    >Create a queue and send to each IP address one after >the other an execute command?
    Yes, that's the way to go. Well, I'd use either a threadpool and send a bunch of requests simultaneously (with authentication, it can take a while before you get a response).
    Also keep in mind to use your own authentication page to reduce the load on your CCM and speed up the process.
    There is no broadcast message so you have to get all devices via DeviceListX.asp (CCM 3/4.x) or AXL Serviceability (CCM 5.x)

  • How request the service URL automatically?

    Hi, Everyone,
    How can I let the 79** serials phone auto request the service URL without user press the 'Services' button?
    (Except using 'IDLE & IDLE Timeout')
    BTW, base on this idea, i'm try to using the push2phone application (ASP) which is in CiscoIPService SDK, but i'm failed;
    Trace the codes, i'm found the problem is in the 'getDeviceList()', see the symbol("-->") marked:
    function getDeviceList(callManager, userID, password, protocol)
    // [callManager: *.*.*.*] [UserID: "pusher"] [password: "pusher"] [protocol: "https"]
    var authstring = text2base64(userID + ":" + password);
    var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
    var xmlDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument.3.0");
    xmlDoc.async = false;
    xmlhttp.Open("GET", protocol + "://" + callManager + "/CCMAdmin/Reports/devicelistx.asp", false);
    xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
    xmlhttp.setRequestHeader("Connection", "close");
    --> xmlhttp.Send(); // Error occured
    --> xmlDoc.loadXML(xmlhttp.responseText);
    --> Application("deviceList") = xmlDoc; // Application("deviceList") is NULL

    Hi, Remy, Thank you for your reply:)
    About my CCM:
    CCM System version: 4.1(3)
    CCM Administration version: 4.1(0.11)
    You say:
    "You have to know taht since CCM 4.1.3 the devicelistx is no longer supported.
    The page is always present but no longer supported by cisco. "
    Is that meaning i cannot call the function 'getDeviceList()' in this CCM version and subsequent?!
    (Yes, i can access the devicelistx.asp by: "https://*.*.*.*/ccmadmin/Reports/devicelistx.asp")
    On the other hand, I try to call the 'phonepush()' directly, it looks like:
    <%@ Language=JavaScript %>
    <%
    function phonePush(phoneIP, URI, userID, password)
    // URI: Spec service URL, such as: http://*.*.*.*/CIP/index.asp
    var authstring = text2base64(userID + ":" + password);
    var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    var pushxml;
    pushxml = "";
    pushxml = "XML=" + Server.URLEncode(pushxml);
    xmlhttp.Open("POST", "http://" + phoneIP + "/CGI/Execute", false);
    xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
    xmlhttp.setRequestHeader("Connection", "close");
    xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlhttp.Send(pushxml);
    return xmlhttp.responseText;
    phonePush(phoneIP, URI, userID, password); // calling
    %>
    But it has not succeeded:( Is that can works well?! Or is there has anyway that can perform the automation?
    Thanks!!!

  • Getdeviceip() maybe there is a solution!!!

    I finally think of a way to get a around it. It is not very efficient, but it kind of work.
    what I did was I save the text from cisco devicelistx to an xml file in my computer. I wrote a function the load that xml file and parse the ip out and return it. Here is my version of getIP()
    [CODE]
    function getIP(phone){
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    var IPaddr
    xmlDoc.async = "false";
    xmlDoc.load("c:\\CiscoIPservices\\ASP\\includes\\devicelist.xml");
    var xmlObj = xmlDoc.documentElement;
    for(var i=0; i<xmlObj.childNodes.length; i++){
    //look for the correct phone
    if(xmlObj.childNodes(i).getAttribute("n") == phone){
    //find the phone. "i" holding the position of where the phone is in the filelist
    IPaddr = xmlObj.childNodes(i).getAttribute("i");
    return IPaddr;
    return false;
    [/CODE]

    A solution for what? You'll still have to update that XML file regularly or your getIP method returns stale data.

  • Get Phone Registration Status

    <p>Does any one know how to get (which table is the info in) a phone's registration status, ie the UCM server its registered to or if its not registered at all?</p>
    <p>This doesnt seem to be held in the Device table...</p>
    <p> </p>
    <p> </p>
    <p> </p>

    I'm afraid that's not in the database. Depending on the CCM release you need to query the DeviceListX.asp report (details in the ip phone services developer guide that you can get in the appropriate section at developer.cisco.com) or send a SelectCmDevices AXL Serviceability query (with the usual caveat of only 200 devices per query.. so you need AXL to extract all devices, then send one AXL Serviceability request per 200 devices until you have all the devices).
    You'll also find the details on developer.cisco.com (http://developer.cisco.com/web/sxml/home)

  • IP Phone SDK7.1.2 - Push2Phone HTTP 404 error

    Hi,
    I'm testing IP Phone SDK7.1.2 Push2Phone with CUCM8.6 but get HTTP 404 error.
    -update the push2phone.asp initial variable such as CUCM IP address and credentials but nothing change other asp files
    -the wireshark steps captured on IIS server side
    1) HTTP client requests HTTP POST to IIS server
    2) IIS server response 200 OK
    3) HTTP client requests HTTP GET to IIS server
    4) IIS server requests HTTP POST to CUCM
    5) CUCM response HTTP 404 not found
    Not sure but suspect devicelistx.asp issue which is not support on CUCM8.6,,,, Advise please how to change the script to run the apps,,,,
    Thanks in advance,

    Hi
    If it is using devicelistx (this should be obvious from the wireshark capture or by reviewing the code) then it will require some significant modification. As you said, devicelistx is not supported, so you would now need to use the RIS API to get the IP addresses of the phones so that the script can send the execute items directly to the phones.
    Regards
    Aaron

  • Phone IP for CCM 5

    I am trying to find out how to get device IP for call manager 5. I know how to do it with 4, but it is not working for 5. Does anyone know how?

    Did you get the appropriate IP Phone services developer guide for your ccm version? It tells you that devicelistx.asp is out with CCM5.. you now can get it via SNMP or via AXL serviceability (the SelectCmDevices command).
    You can find the guide here: http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guides_list.html
    And if you enter SelectCmDevices in the forum search engine you'll find a few threads with working examples.
    Also note that SelectCmDevices only returns 200 devices.. so you'll have to send an sql query to the callmanager using AXL to get the full list, then make one SelectCmDevices query per 200 phones (annoying I know but that's the way it is).

Maybe you are looking for