<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><font class="Apple-style-span" face="arial" size="4"><span class="Apple-style-span" style="font-size: 10pt;">Thanks for answering.</span></font><div style="font-family: arial; font-size: 10pt; ">I did not see your email before posting another thread.</div><div style="font-family: arial; font-size: 10pt; ">I tried to run :</div><div style="font-family: arial; font-size: 10pt; ">apiExecute("uuid_record ......", "");&nbsp;</div><div style="font-family: arial; font-size: 10pt; ">but it does not work.</div><div style="font-family: arial; font-size: 10pt; ">Also, I try this, and it stops right after I answer the call:</div><div style="font-family: arial; font-size: 10pt; ">------</div><div><div><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;">session = new
 Session('sofia/gateway/mygateway/19054516999');</span></font></div><div><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;">session.waitForAnswer(10000);</span></font></div><div><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;">if (session.ready()) {</span></font></div><div><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;">&nbsp;&nbsp; &nbsp;session.execute("record_session", "/usr/local/freeswitch/recordings/" + session.uuid + ".wav"); &nbsp; &nbsp;&nbsp;</span></font></div><div><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;">}</span></font></div></div><div style="font-family: arial;
 font-size: 10pt; ">--------</div><div style="font-family: arial; font-size: 10pt; ">what I am missing. I spent 2 weeks looking for a way to record file, but still going nowhere.</div><div style="font-family: arial; font-size: 10pt; "><br></div><div style="font-family: arial; font-size: 10pt; ">Thank you<br><br>--- On <b>Wed, 12/1/10, Michael Collins <i>&lt;msc@freeswitch.org&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Michael Collins &lt;msc@freeswitch.org&gt;<br>Subject: Re: [Freeswitch-users] Record File<br>To: "FreeSWITCH Users Help" &lt;freeswitch-users@lists.freeswitch.org&gt;<br>Received: Wednesday, December 1, 2010, 9:22 AM<br><br><div id="yiv1807611590">How about uuid_record?<div>-MC<br><br><div class="yiv1807611590gmail_quote">On Mon, Nov 15, 2010 at 7:38 AM, Will Smith <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:willbelair@yahoo.com" target="_blank"
 href="/mc/compose?to=willbelair@yahoo.com">willbelair@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="yiv1807611590gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit;">hi,<div>I am trying to record a call after bridging the 2 legs. 2 parties can talk/listen to each other. There is an audio file created, but just silence, and always stopped at 44bytes. I just wonder if there is any other setup that I missed.</div>
<div>I used 2 ways to record the call, and they both gave the same result:</div><div>1- &nbsp; session.execute("record_session", "foo.wav");</div><div><br></div><div>2- rtn = session.recordFile("foo.wav", true, "", 500,500,3);</div>
<div><br></div><div>Thank you for your help.</div><div><br></div><div>Will</div></td></tr></tbody></table><br><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></blockquote></div></td></tr></table><br>