Thanks Tod.
In fact, i did that and it works.
But i got help recording some prompts by someone that could not call  in and
also i want to edit prompts (even if they were recorded by phone).

I used sox and audacity and the files are indeed Little endian, 16bit pcm, 8khz
wav files, at least according to sox/audacity.

Must be some other incompatibility or maybe the error message
really means that there is some other problem with the
wav-header and what not....

Vänliga hälsningar/Kind Regards
Ola Samuelson


Från: Todd Hodgen [thod...@verizon.net]
Skickat: den 10 december 2009 19:24
Till: Ola Samuelsson; sipx-users@list.sipfoundry.org
Ämne: RE: [sipx-users] Sample rate doesn't match

One very simple way to create your messages for sipXecs and ensure they are 
formatted correctly is to leave a recording in a voicemail box, and then grab 
it from the user portal as a wav file.  It’s guaranteed to be in the correct 
format, and it’s very simple to create and move to your recordings.

From: sipx-users-boun...@list.sipfoundry.org 
[mailto:sipx-users-boun...@list.sipfoundry.org] On Behalf Of Ola Samuelson
Sent: Thursday, December 10, 2009 3:39 AM
To: sipx-users@list.sipfoundry.org
Subject: [sipx-users] Sample rate doesn't match

Hi all!
Greatful for any clue.
I am on CentOs5.2/4.0.4 and get:
[WARNING] switch_core_file.c:119 switch_core_perform_file_open() Sample rate 
doesn't match

when changing a prompt.

The prompt is played and sound like it should but log fills up with these 
messages.

I have checked with tools like soxi, Audacity and more ...and they
all show my file is of same spec as one of the default prompts.

sipxecs file:
Input File     : 'default.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 16-bit
Duration       : 00:04:11.85 = 2014809 samples ~ 18888.8 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM


my file(shorter testfile):
Input File     : 'test.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 16-bit
Duration       : 00:00:12.07 = 96579 samples ~ 905.428 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM


No difference is there?

Thank you.
--

Vänliga Hälsningar/Best Regards

Ola Samuelson

_______________________________________________
sipx-users mailing list sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to