This is not valid:<br><br>&lt;condition field=&quot;is_already_recording&quot; expression!=&quot;^true$&quot;/&gt;<br><br>I recommend this:<br><br>&lt;condition field=&quot;${is_already_recording}&quot; expression=&quot;^$&quot;/&gt;<br>
<br>Try that in place of what you have and re-test. I have a suspicion that it will solve your problem of multiple recordings.<br><br>-MC<br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 6:17 AM, Dmitriy Shumaev <span dir="ltr">&lt;<a href="mailto:pm_zefman_r@mail.ru" target="_blank">pm_zefman_r@mail.ru</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hello world)<br><br>I have session recording extension:<br> &lt;!-- eavesdrop --&gt;<br> &lt;extension name=&quot;record_3..16_digits&quot; continue=&quot;true&quot;&gt;<br>   &lt;condition field=&quot;is_already_recording&quot; expression!=&quot;^true$&quot;/&gt;<br>
   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{3,16})$&quot;&gt;<br> &lt;action application=&quot;set&quot; data=&quot;RECORD_TITLE=Recording ${caller_id_name} ${caller_id_number} to ${destination_number} at ${strftime(%Y-%m-%d %H:%M)}&quot;/&gt;<br>
 &lt;action application=&quot;set&quot; data=&quot;RECORD_COPYRIGHT=(c) 2013&quot;/&gt;<br> &lt;action application=&quot;set&quot; data=&quot;RECORD_SOFTWARE=FreeSwitch&quot;/&gt;<br> &lt;action application=&quot;set&quot; data=&quot;RECORD_ARTIST=FreeSwitch&quot;/&gt;<br>
 &lt;action application=&quot;set&quot; data=&quot;RECORD_COMMENT=FreeSwitch&quot;/&gt;<br> &lt;action application=&quot;set&quot; data=&quot;RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}&quot;/&gt;<br> &lt;action application=&quot;set&quot; data=&quot;RECORD_STEREO=true&quot;/&gt;<br>
 &lt;action application=&quot;set&quot; data=&quot;recording_follow_transfer=true&quot;/&gt;-<br> &lt;action application=&quot;export&quot; data=&quot;ignore_early_media=true&quot;/&gt;<br> &lt;action application=&quot;export&quot; data=&quot;execute_on_answer=record_session $${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${caller_id_name}_${caller_id_number}_2_${destination_number}.wav&quot;/&gt;  &lt;!-- ///execute_on_media --&gt;<br>
 &lt;!-- Against repeated execution of condition --&gt;<br> &lt;action application=&quot;set&quot; data=&quot;is_already_recording=true&quot;/&gt;<br> &lt;action application=&quot;export&quot; data=&quot;is_already_recording=true&quot;/&gt;<br>
   &lt;/condition&gt;<br> &lt;/extension&gt;<br>in the very beginnin of my dialplan. But there are some (IVRs with transfer) and (Group number with loopback) in my dialplan. So recording extension is hited multiple times and as a result I have several files with the &quot;same&quot; recorded session (IVR, Group number, Answered subscriber).<br>
<br>What should I do to prohibit repeated hits of &quot;record_3..16_digits&quot; extension?</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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" 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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>