Hi Ray,<br><br>Thanks a lot for the replies. Allow me to elaborate a little bit about my situation.<br><br>1. client A calls in and parks at Fifo myq.<br>2. FS connets Agent B to an extension (via originate skypiax/ANY/jingwei.yang 33333)<br>
3. uuid_bridge client A and agent B<br><br>I believe the spice I can add is in the extension 33333. Here&#39;s how I define it.<br><br>    &lt;extension name=&quot;agent_hold&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^33333$&quot;&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;<b>execute_on_answer</b>=record_session /tmp/33333.wav&quot;/&gt;<br>        &lt;action application=&quot;answer&quot;/&gt;<br>        &lt;action application=&quot;sleep&quot; data=&quot;2000&quot;/&gt;<br>
        &lt;action application=&quot;info&quot;/&gt;<br>        &lt;action application=&quot;playback&quot; data=&quot;ivr/ivr-hold_connect_call.wav&quot;/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br><br>
But the wav file didn&#39;t get generated at all. Please advise whether the above is in correct usage. <br><br>I&#39;ve also tried bridge_pre_execute_bleg_app and bridge_pre_execute_bleg_data<br><br>        &lt;action application=&quot;set&quot; data=&quot;bridge_pre_execute_bleg_app=record_session&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;bridge_pre_execute_bleg_data=/tmp/33333.wav&quot;/&gt;<br><br>The audio file didn&#39;t appear either.<br><br>The only successful method is by using record_session directly like this:<br>
<br>        &lt;action application=&quot;record_session&quot; data=&quot;/tmp/33333.wav&quot;/&gt;<br><br>However, in this form, the wav file includes the waiting music, which is not ideal.<br><br>Thanks and best regards,<br>
-Jingwei<br><br><div class="gmail_quote">On Wed, Feb 10, 2010 at 12:01 PM, Raymond Chandler <span dir="ltr">&lt;<a href="mailto:intralanman@freeswitch.org">intralanman@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
errr... .execute_on_answer might be better ;-)<br>
-Ray<br>
<div class="im"><br>
On Feb 9, 2010, at 9:19 PM, Jingwei Yang wrote:<br>
<br>
</div><div><div></div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m using uuid_bridge to bridge two calls. May I know how to start recording only when the bridge succeeds?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; -Jingwei<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>
</div></div></blockquote></div><br>