Play Example

Version 1
    This document was generated from CDN thread

    Created by: Tom Barrand on 09-01-2009 10:08:20 AM
    Hi,

    Has anyone got a simple example of using Play to play an audio file.

    I don't want it to play when someone presses a soft key, I would like it to play automatically when I load an IP Phone Menu.

    Thanks

    Tom

    Subject: Re: Play Example
    Replied by: Stephan Steiner on 09-01-2009 06:30:28 PM
    So, your application would, instead of simply sending a CiscoIpPhoneMenu (or similar element) send a CiscoIpPhoneExecute with two ExecuteItems. E.g this

    <CiscoIPPhoneExecute>
    <ExecuteItem Priority="0" URL="Playop.raw"/>
    <ExecuteItem Priority="0" URL="http://myappliationserver/path/application.jsp"/>
    </CiscoIPPhoneExecute>

    The phone would then proceed to load http://myappliationserver/path/application.jsp (which is your ip phone menu) while playing Pop.raw (one of the default audio files available in CCM).

    Subject: Re: Play Example
    Replied by: Tom Barrand on 10-01-2009 12:18:38 PM
    Managed to get it working. Thanks