<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>Record Application Problem</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi everybody,</FONT>
<BR><FONT SIZE=2>I am having a problem with * Record Application.</FONT>
<BR><FONT SIZE=2>The thing is I don't want the "beep" before recording, so I removed the instructions:</FONT>
</P>
<P> <FONT SIZE=2>ast_streamfile(chan, "null", chan->language);</FONT>
<BR> <FONT SIZE=2>ast_waitstream(chan, "");</FONT>
<BR> <FONT SIZE=2>ast_stopstream(chan);</FONT>
</P>
<P><FONT SIZE=2>Now I am having a strange problem. After I record the sound, the recorded file gets a</FONT>
<BR><FONT SIZE=2>3 second of silence before the actual recorded sound.</FONT>
</P>
<P><FONT SIZE=2>Can anyone solve this?? I can workaround this by playing a silent sound file of about</FONT>
<BR><FONT SIZE=2>0.25s before start recording... but I would prefer to get the problem properly solved.</FONT>
</P>
<P><FONT SIZE=2>Thank you,</FONT>
<BR><FONT SIZE=2>Pedro Goncalves</FONT>
</P>
</BODY>
</HTML>