Getting Started with CUCM Apps

Version 1
    This document was generated from CDN thread

    Created by: Madi jahoura on 12-03-2012 03:55:45 PM
    Hi everybody,

    I am an IPT engineer all of my experience in networking, and I am planning to learn something about programming IPT Apps.
    I read Cisco Press: Developing Cisco IP Phone Services. But it very old book and it is not covering everything. I read many things on Cisco site and I am now confused, I really appreciate if someone can guide me how I should start? And what I should use?

    For the time being I do not need to write programs for CUCCX, Presence or something like this. I need to start with simple apps for IP Phones. But it is good if someone can give me a general description about Unified Communications Apps.
     
    Is there any training from Cisco?

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 21-03-2012 12:35:26 AM
    Is it too much difficult?? closed-eyes


    All what I am asking about, is how to start?

    Subject: Re: New Message from Madi jahoura in IP Phone Services (IPPS) - IP Phone Se
    Replied by: Sascha Monteiro on 21-03-2012 12:52:16 AM
    start by downloading the IPPhone Services SDK and have a look at the examples and docs

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 03:39:47 PM
    At a high level:
     
    - Provide a web server with CGI capabilities, or some other instance able to receive/reply to HTTP messaging (e.g. Tomcat)
    - Create a web page/URL, which receives an HTTP request (from an IP phone), and provides the appropriate XML response - see the supported XML objects and their capabilities
    - Configure UC manager by adding a new IP Phone Service, with URL pointing to your web service
     
     

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 04:40:14 PM
    Thank you too much David,

    I will try to explain some the things that making some confusion to me:

    - The XML Objects are only to display something on the screen. in some cases you need to take an action, like a program to lock the IP phone so no one can use it.
    In this case I do not think XML Object will be used to achieve this action.

    - I read about some tools like:
        CUAE-appserver
        CUAE-coreadd

    but I did not find when I should use these applications.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 04:54:14 PM
    Thank you tooooo much.

    So this is a new thing that I should read about: AXL API.

    Is there any other API functions I should read about?

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 05:12:07 PM
    In the realm of voice/video/collaboration, any of the APIs in this area might be of interest:
     
    http://developer.cisco.com/web/cdc/tech/ucvoice

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 05:33:27 PM
    Thanks again.

    Let me try to tell what I am going to do to start IP Phone Apps:

    1- Start with: Cisco Press: Developing Cisco IP Phone Services.
    2- release notes.
    3- APIs.
    4- SDk.

    Please let me know if I have to adjust the order? or add something else?

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 05:41:11 PM
    Thank you too much.

    what about Java Medlet? shall I use it also?

    and some Cisco tolls like:

    CUAE-appserver
    CUAE-coreadd


    I read many posts here that you can use any programming language like .Net. is there any recommendation?

    Sorry to ask you too much but I am trying to find answers of my questions for more than 10 days.

    Thank you again.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 05:57:24 PM
    Java Midlet API allows developer to create small java applications - including custom UI/animation/etc. -  that run on Cisco phones.  Currently only the 7925/26 wireless mobile phones support Midlets.
     
    CUAE was an application development environment and application server/host which provided a nice GUI for developing apps using many of the APIs available for UCM in a unified framework.  Unfortunately it was complex and most developers preferred to continue writing directly to the APIs themselves, and CUAE is now end-of-life.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 05:59:39 PM
    Thank you toooooo much

    and I really appreciate your help.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Jeffrey Ness on 22-03-2012 06:22:04 PM
    The Midlets are supported on the 9900 series phones as well. They are supported on the 7941/42/45/61/62/65s as well, but the performance is not really up to par (judging from Cisco Unity Connection's VisualVoicemail midlet.)

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 06:30:23 PM
    thank you too much

    I found it in Configuring Visual Voicemail on Your Cisco Unified Communications System

    Service Category: Select Java MIDlet.

    so we can use Java MIDlet with phone types that you mentioned before.

    Regards,

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 06:32:37 PM
    To avoid any confusion, while other models (such as those mentioned above) can support Cisco provided midlets (like Visual Voicemail), 3rd party midlet development is only supported on the 7925/26 phones.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 06:35:20 PM
     
    Do you mean that Cisco use some MIDlet not available for  us?
     
    One more, is ther any tool to buy from Cisco to develop and sell Cisco IP Phone Apps?
     
     

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 02:26:35 PM
    Hi Sascha,

    Thank you for your reply,

    Could you please give me more steps, like:

    Step 1: read Cisco Press IP phone services
    Step 2: SDK.
    Step 3:
    Step 4:
    Step 5:

    because I read some posts here, you can use any programing language to write programs. in the same time I found that there is some tools from Cisco.

    All what I need is: the headlines for each step from beginning to be professional.

    Regards,

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 04:50:57 PM
    True, the IP Phone Services SDK is primarily concerned with developing a UI for the phone display.  If the application the user interacts with needs to make UC manager configuration changes - say changing the phone's Calling Search Space to restrict it to 911/operator calls only - then the web server hosting the XML phoen app would need to use other APIs during its operation.
     
    For specifically changing phone calling search space, this can be done via the AXL API:
     
    http://developer.cisco.com/web/axl/docs
     
    where you would submit an <updatePhone> request with the phone's device name and the calling search space name to change to.  The app could then send an <CiscoIPPhoneText> XML object to the phone saying 'phone locked', providing a softkey to start a UI for unlocking, etc.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 05:35:27 PM
    No particular fixed order, really, but if you get familiarity with those resources you should have a pretty complete understanding of what's possible and how to accomplish it.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 06:50:19 PM
    Cisco has developed some Midlets that can be obtained from Cisco and installed/run on the phones (e.g. Visual Voicemail.)  However, midlets developed by 3rd parties can only be installed on 7925/26.  3rd party midlets on other phones are not supported due to resource constraints and security/stability architecture of the JVMs on the desk phones.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 06:53:07 PM
    Thank you too much for all what you added before.

    I hope this is my last question:

    Is there any tool to buy from Cisco to develop and sell Cisco IP Phone Apps?

    Subject: RE: Getting Started with CUCM Apps
    Replied by: David Staudt on 22-03-2012 07:27:06 PM
    Just the phones themselves and an instance of UC Manager to connect them to - both of which can be obtained at significant discounts by CDN partners:
     
    http://developer.cisco.com/web/partner/devresources
     
    All other resources are freely available.

    Subject: RE: Getting Started with CUCM Apps
    Replied by: Madi jahoura on 22-03-2012 07:39:33 PM
    Thank you too much