Hi Michael,<br><br>Thanks for the reply. I&#39;ve upgraded FS to the latest revision 16600 and here are the log details.<br><br>Using execute_on_answer: <a href="http://pastebin.freeswitch.org/12109">http://pastebin.freeswitch.org/12109</a><br>
Using bridge_pre_execute_bleg_app and bridge_pre_execute_bleg_data: <a href="http://pastebin.freeswitch.org/12110">http://pastebin.freeswitch.org/12110</a><br><br>Thanks and best regards,<br>-Jingwei<br><br><div class="gmail_quote">
On Wed, Feb 10, 2010 at 11:09 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@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;">
Make sure that you are on the latest SVN trunk and retest. Pastebin the complete debug log from start to finish of the call.<br><font color="#888888">-MC</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Feb 10, 2010 at 12:39 AM, Jingwei Yang <span dir="ltr">&lt;<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@gmail.com</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;">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>

<font color="#888888">
-Jingwei</font><div><div></div><div><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" target="_blank">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><br>
On Feb 9, 2010, at 9:19 PM, Jingwei Yang wrote:<br>
<br>
</div><div><div></div><div>&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>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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" target="_blank">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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><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>