<div style="font-family: Helvetica; font-size: 13px;">or you could use the loopback endpoint or implement an endpoint interface in mod_oreka<br></div>
                <div><div><br></div><div>--&nbsp;</div><div>Seven Du</div><div><span style="font-size: 10pt;">http://about.me/dujinfang</span></div><div><div>http://www.dujinfang.com</div></div><div><div><span style="font-size: 10pt;">http://www.freeswitch.org.cn</span></div></div><div><span style="font-size: 10pt;"><br></span></div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Tuesday, November 4, 2014 at 3:59 PM, Moises Silva wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div dir="ltr"><div><br><div>On Wed, Sep 17, 2014 at 9:16 AM, miguelo <span dir="ltr">&lt;<a href="mailto:sanatulp@gmail.com" target="_blank">sanatulp@gmail.com</a>&gt;</span> wrote:<br><blockquote type="cite"><div>Hello,<br>
<br>
I try to setup recording with mod_conference and mod_oreka.<br>
I know it is possible to record to file with mod_conference, but i want to<br>
record a conference using mod_oreka. I tried dialing out to the loopback<br>
interface and answering that call in the dialplan to start recording but&nbsp; the<br>
recording will stop when the end of the extension is reached.<br></div></blockquote><div><br></div><div>You must do a blocking operation that performs I/O read/write.</div><div><br></div><div>Calling oreka_record is not a blocking operation and hence the extension will reach the end and hangup.&nbsp;</div><div><br></div><div>If you call oreka_record followed by playback() to play silence (<a href="https://wiki.freeswitch.org/wiki/Silence_stream">https://wiki.freeswitch.org/wiki/Silence_stream</a>) that should do the trick. You'll need to set the variable timer_name=soft to ask playback() to consume audio.</div><div><br></div><div>btw, this question is better suited for the freeswitch-users mailing list</div><div><br></div><div>Moy</div><div><br></div><div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Moises Silva<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Manager, Software Engineering<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)"><u></u>&nbsp;<u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Sangoma Technologies<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">100 Renfrew Drive, Suite 100, Markham, Ontario, Canada L3R 9R6<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">T&nbsp;<a value="+19054741990">+1 905 474 1990</a>&nbsp;x128 | toll-free in North America&nbsp;<a value="+18003882475">+1 800 388-2475</a>&nbsp;| F&nbsp;<a value="+19054749223">+1 905 474 9223</a><u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)"><a href="http://www.sangoma.com/" target="_blank">www.sangoma.com</a></span></p></div></div></div></div>
</div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-dev mailing list</div><div><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>