<html><head><title>Re: [Freeswitch-users] Question about the recording session (record_session)</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hello,<br>
<br>
Do you have an example of such a solution by which you can see?<br>
<br>
<span style=" font-family:'calibri'; color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
mob.tel. 775-415-382<br>
<br>
středa 24. června 2015, 18:04:46, napsal jste:<br>
<br>
</i></span></span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 9pt;">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>
This kind of logic can be done very easily in lua as well instead of a macro.<br>
<br>
On Wed, Jun 24, 2015 at 3:41 AM, Denis Jakovlev <</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:yadenis@seznam.cz">yadenis@seznam.cz</a><span style=" font-family:'courier new'; font-size: 9pt;">> wrote:<br>
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">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?<br>
<br>
<span style=" color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
</i></span></span><a style=" color: #c0c0c0; font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://mob.tel">mob.tel</a><span style=" font-family:'courier new'; font-size: 9pt; color: #c0c0c0;"><i>. 775-415-382<br>
<br>
<br>
</i><span style=" color: #000000;">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">Official FreeSWITCH Sites<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">FreeSWITCH-users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;">UNSUBSCRIBE:</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org">http://www.freeswitch.org</a></td>
</tr>
</table>
</body></html>