Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

query real time active calls on 7940 7942 device

I have a bunch of cisco 7940 and 7942g phones that Id like to be able to be able to query real time call info on

Basically given a phone tell me if its on an active call and if so with whom?

Ive managed to figure out how to query Cisco Unified Communications Manager ( CUCM 8.5 if that matters ) to get physical device info
so via the following I can get a phone IP and directory #s registered to that device
   Calling Cisco Communications Manager Real Time Information Port (RisPort) Serviceability XML APIs with PHP

Using that info I can then communicate directly with a phone and do neat things like progamatically pickup lines, toggle mute and speaker, or take a screen shot of the phone
   How to take a screen shot from a Cisco IP Phone, basically
      curl -u user:password -L http://phoneIPaddress/CGI/Screenshot > screenshot.cif
      Cip2Gif.exe screenshot.cif screenshot.gif

   Make Your Cisco IP Phone Ring Using .NET

Thats all great but I just want to be able to query a phone and see if a registered line is in use and if so who the is the other directory number the line is communicating with. The screen shot thing works and is neat and all... but I need text output i can manipulate
Ive looked over the following, and googled to no end but still havent really found a solution.
   Cisco IP Phone Services Application Development Notes for Release 3.3(3)
   Chapter 2. Serviceability XML Programming

Im begining to think what Im wanting to do isnt progamatically possible. Though I know call center software exists that can show a grouping of phones and their real time status. So somehow this data is programatically accessable.
Perhaps Im missing something ?

Any advice would be greatly apprecaited.
Thanks in advance and thanks for a great forum community

CreatePlease login to create content