<div>I think you only have to specify it relative to the sounds directory, no need for full path.</div>
<div> </div>
<div>Test it by just specifying the name without a path. <br><br></div>
<div class="gmail_quote">On Tue, May 25, 2010 at 6:10 PM, Thirupathi <span dir="ltr">&lt;<a href="mailto:s_thirupathikumar@yahoo.com">s_thirupathikumar@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top"><span style="FONT-FAMILY: verdana,helvetica,sans-serif">Hi, <br><br>i am using record function to record the user information through channel into the voice file.</span><br style="FONT-FAMILY: verdana,helvetica,sans-serif">
<br style="FONT-FAMILY: verdana,helvetica,sans-serif"><span style="FONT-FAMILY: verdana,helvetica,sans-serif">@con.execute(&quot;record&quot;, &quot;#{record_file_path} #{record_duration} #{silence_threshold}&quot;)</span><br style="FONT-FAMILY: verdana,helvetica,sans-serif">
<br style="FONT-FAMILY: verdana,helvetica,sans-serif"><span style="FONT-FAMILY: verdana,helvetica,sans-serif">I have specified the full path with the record_file_path variable. But i got the below error</span><br style="FONT-FAMILY: verdana,helvetica,sans-serif">
<span style="FONT-FAMILY: verdana,helvetica,sans-serif">2010-05-24 12:53:32.917541 [ERR] mod_sndfile.c:194 Error Opening File [/opt/freeswitch/sounds/123.wav] [System error : No such file or directory.]</span><br style="FONT-FAMILY: verdana,helvetica,sans-serif">
<br style="FONT-FAMILY: verdana,helvetica,sans-serif"><span style="FONT-FAMILY: verdana,helvetica,sans-serif">Is there any record function available in the freeswitch so that it will create the file automatically in the specified record_file_path parameter.</span><br style="FONT-FAMILY: verdana,helvetica,sans-serif">
<br style="FONT-FAMILY: verdana,helvetica,sans-serif"><font style="FONT-FAMILY: verdana,helvetica,sans-serif" color="#0000ff" size="1" face="verdana">
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: blue; FONT-SIZE: 10pt">Thanks and Regards, <br>Thirupathi</span><span style="FONT-SIZE: 10pt"></span></div></font></td></tr></tbody></table><br><br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>