Hi All, I've tested this new variable and everything works grand. I've tested recording to wav,mp3 and shoutcast and in all cases the sample rate is set correctly. I was about to post an entry on the wiki but I discovered a very similar variable already there called record_rate. I've tested this and it doesn't appear to work. Would you like me to replace this entry with details of the new one that does seem to work? A few more questions: 1) I notice that when I change the sample rate it automatically changes the bit rate too. I understand why this is the case but wondered if it was just as easy to be able to control the bitrate as well as the sample rate. 2) When I use a sample rate other than 8000 I get a warning 'Sample rate doesn't match'. I guess this puts some extra load on the server. If all my calls are being recorded and all at 11025 can/should I alter the sample rate of the base call to 11025? Many thanks for sorting this one for me and for all your help. regards Andy _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 12 June 2009 18:52 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Sample rate and recordFile On Fri, Jun 12, 2009 at 9:26 AM, Andy <andy@fabulous4.co.uk> wrote: Excellent, thanks Anthony, I'll give it a go. Andy, can you report back on your success with this variable? Also, we would appreciate it if you could add an entry to the wiki on the channel_variables page. Let me know if you have any questions and I'll be glad to help. -MC