<div dir="ltr"><div>What i would do is use a bind_digit and tie it to a macro, then in that macro have a condition that checks the status of a variable, if the variable (in this case call it is_recording) is set to true, then stop recording (stop_record_session <filename>).<br><br></div>This kind of logic can be done very easily in lua as well instead of a macro.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 3:41 AM, Denis Jakovlev <span dir="ltr"><<a href="mailto:yadenis@seznam.cz" target="_blank">yadenis@seznam.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<span style="font-family:'Courier New';font-size:9pt">Hi all,<br>
<br>
I have a question about the recording session (record_session) <br>
</span><a style="font-family:'Courier New';font-size:9pt" href="https://freeswitch.org/confluence/display/FREESWITCH/record_session" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/record_session</a><span style="font-family:'Courier New';font-size:9pt"> <br>
<br>
<br>
I understand how I can start recording session through dtfm during a call. But! How can I stop a recording session during the call to the conversation continued?<span class="HOEnZb"><font color="#888888"><br>
<br>
<span style="font-family:'calibri';color:#c0c0c0"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
<a href="http://mob.tel" target="_blank">mob.tel</a>. 775-415-382<br>
<br>
</i></span></font></span></span></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>