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>). This kind of logic can be done very easily in lua as well instead of a macro. On Wed, Jun 24, 2015 at 3:41 AM, Denis Jakovlev <yadenis@seznam.cz> wrote:
Hi all,
I have a question about the recording session (record_session) https://freeswitch.org/confluence/display/FREESWITCH/record_session
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?
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org