How to display text when a call is answered?

Version 1
    This document was generated from CDN thread

    Created by: Steve Schultz on 13-07-2009 04:50:35 PM
    When a user dials out on the cisco phone and that call is answered, I'd like to display some custom text.
    Any ideas how to do this?

    Subject: RE: How to display text when a call is answered?
    Replied by: David Staudt on 13-07-2009 05:19:32 PM
    You will need to use a combination of APIs to achieve something like this:
     
    - CTI (TAPI or JTAPI) to monitor the device and receive events - such as dialing, connected (with call IDs), etc.
    - IP Phone XML Services - to push an XML object to the phone to render on its display
     
    Check the Tech Centers page for accessing the docs/resources for these APIs.  The IPPS SDK installer actually contains a screenpop sample app that will probably get you a long way towards getting started.
     
    Also of interest is the CUAE platform, which (once set up properly) would make developing an app like this relatively simple.  Samples availabel as well: http://developer.cisco.com/web/cuae/home

    Subject: RE: How to display text when a call is answered?
    Replied by: Steve Schultz on 17-07-2009 01:51:06 PM
    Thanks, I think I have a solution now.

    Subject: RE: How to display text when a call is answered?
    Replied by: Rami Abbas on 20-07-2009 08:35:46 AM
    Hi Steve,
     
    how did it work with you? In fact i need to send a text when a call is NOT answered and i don't know how to start. Can you help me please?
     
    thanks a lot!

    Subject: RE: How to display text when a call is answered?
    Replied by: Steve Schultz on 20-07-2009 01:47:24 PM
    I actually didn't use the SDK or get too fancy. In fact, I kludged the solution
     
    One of the reasons I can do this is because the dialing and answering will be very predictable. I use the Dial command to make the phone call our phone switch. Our phone switch is setup to answer the call in less than a second every time, so once I dial the number, I just wait 1 second and I push some text to the phone.
     
    It's not a very robust solution, but it works for our application.
     
    Steve

    Subject: RE: How to display text when a call is answered?
    Replied by: Rami Abbas on 21-07-2009 05:44:09 AM
    Txs Steve!
    I'll try to solve it in a way or another...
    Good luck!
    Rami

    Subject: RE: How to display text when a call is answered?
    Replied by: Muhammad Sabir on 22-07-2009 06:08:25 PM
    We developed an appication where when a call is answered, based on the caller ID, it does a loookup on CRM system to extract customer data, and it display it on the phone screen.
     
    We use JTAPI to egt event listener for call answering event and then use CiscoIPPhoneExecute to push text to the phone.

    Subject: RE: How to display text when a call is answered?
    Replied by: Rami Abbas on 23-07-2009 05:43:43 AM
    Hi Muhammad,
     
    Can you please tell me how to deal with the jtapi events? i'm not able to create my own class that implements an event listener!!! In fact, i need to send a busy notificator (which means when somebody calls someone who's already having a call, he will get the call waiting notification)...
    I will be really gratefull if you can help... I realy don't know waht to do.. I tried using the CallerInfoServer and pass the notification as the last argument of the class.. It is supposed to work but it didn't...
     
    anyway, thanks a lot!
     
    Rami