How to play customized sound on the ip phone?

Version 1
    This document was generated from CDN thread

    Created by: an dong on 05-08-2008 02:22:54 AM
    I can use the play tag to play a ring file. I want to play a customized sound file like people's sound now, how do i do it?

    Is there other sound file format can support by the phone?
    Where do i can put the file to?
    Can i use the URL to locate the file sound?

    Edited by: an dong on 2008-8-4 ??11:11

    Subject: Re: How to play customized sound on the ip phone?
    Replied by: an dong on 07-08-2008 02:15:59 AM
    Are any body here?

    Subject: Re: How to play customized sound on the ip phone?
    Replied by: Tony Tjo on 12-11-2008 02:11:07 AM
    From Cisco Unified IP Phone Services Application Development Notes:

    The audio files for the rings must meet the following requirements for proper playback on Cisco Unified IP Phones:
    •Raw PCM (no header)
    •8000 samples per second
    •8 bits per sample
    •uLaw compression
    •Maximum ring size—16080 samples
    •Minimum ring size—240 samples
    •Number of samples in the ring is evenly divisible by 240.
    •Ring starts and ends at the zero crossing.

    My experience is that, use Java program to TFTP download one of the .raw files, then have a look on its format.

    Then you need to TFTP upload your customized sound onto CM (e.g. at the same directory as others .raw files).

    Restart the TFTP service.

    Then you should be able to use the <CiscoIPPhoneExecute><ExecuteItem URL=\"Play:youFile.raw\"/></CiscoIPPhoneExecute>

    I can use .wav instead of .raw for my customized sound.

    Hope it may help.

    Tony