Getting soft buttons status for the IP Phone from either CUCM or the phone

Version 1
    This document was generated from CDN thread

    Created by: ADEL ABOUCHAEV on 17-04-2009 12:40:36 AM
    Good evening,
     
        I am trying to find a way to retrieve the currently displayed set of the soft buttons on the phone screen. The phone receives this information through SIP or SCCP, however I couldn't find any structure on the CallManager or the Phone itself to retrieve this information using Axl, Svc or direct SOAP to the phone. If any one could shed a light towards the direction where to look for it will really be appreciated.
     
    Cheers,
     
    Adel.
     

    Subject: RE: Getting soft buttons status for the IP Phone from either CUCM or the ph
    Replied by: David Staudt on 17-04-2009 03:33:23 AM
    UCM does not know the state of the phone's soft keys - this determined by the phone based on its softkey template and call state at run time.
     
    However, you can get a screenshot of the phone's display via HTTP GET
     
    http://[phone_ip]/CGI/Screenshot
     
    (This requires basic authentication of a user associated to the phone)

    Subject: RE: Getting soft buttons status for the IP Phone from either CUCM or the ph
    Replied by: ADEL ABOUCHAEV on 17-04-2009 04:25:35 PM
    Thank you for the prompt response, David.
     
        I hoped there was a better way. Seems that I would either need to check the screen or parse runtime SIP/Skinny packets.
     
    Thanks again,
     
    Adel.

    Subject: RE: Getting soft buttons status for the IP Phone from either CUCM or the ph
    Replied by: David Staudt on 17-04-2009 05:08:02 PM
    If you are looking to reliably/positively determine phone call state and effect call-control operations, CTI (TAPI or JTAPI) is intended for this purpose.
     
    If not, what is the use-case for knowing about soft-key presence/position?

    Subject: RE: Getting soft buttons status for the IP Phone from either CUCM or the ph
    Replied by: ADEL ABOUCHAEV on 18-04-2009 09:06:27 PM
    One of the tasks is to push "Park" softkey on the phone when incoming call is present. The button is on the 2nd page, so clicking "more" first is needed, then "Park" button is 1st on the second page. I wanted to know ahead of time the disposition to create a sequence of keypad instructions to send to the phone using HTTP SOAP.

    Subject: RE: Getting soft buttons status for the IP Phone from either CUCM or the ph
    Replied by: David Staudt on 18-04-2009 10:19:14 PM
    Call park can be accomplished via TAPI or JTAPI, and I would strongly advise that avenue over trying to simulate softkey presses - the latter is basically 'blind' and unexpected results can occur depending on user input, incoming/dropping calls, etc.