<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2>Hi All,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2>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?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2>A few more questions:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=359422916-18062009><FONT face=Arial
color=#0000ff size=2>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?</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=359422916-18062009><FONT face=Arial color=#0000ff size=2>Many thanks for
sorting this one for me and for all your help.</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=359422916-18062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=359422916-18062009><FONT face=Arial color=#0000ff
size=2>regards</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=359422916-18062009><FONT face=Arial color=#0000ff
size=2>Andy</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=359422916-18062009> </SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2><B>From:</B> freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Michael Collins<BR><B>Sent:</B> 12 June 2009 18:52<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> Re: [Freeswitch-users]
Sample rate and recordFile<BR></FONT><BR></DIV>
<DIV></DIV><BR><BR>
<DIV class=gmail_quote>On Fri, Jun 12, 2009 at 9:26 AM, Andy <SPAN
dir=ltr><<A
href="mailto:andy@fabulous4.co.uk">andy@fabulous4.co.uk</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Excellent,
thanks Anthony, I'll give it a go.</FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV></DIV>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.<BR><BR>-MC<BR></BODY></HTML>