Hi Michael,<br><br>Thanks for the reply. I'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"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></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"><<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@gmail.com</a>></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's how I define it.<br><br> <extension name="agent_hold"><br> <condition field="destination_number" expression="^33333$"><br>
<action application="set" data="<b>execute_on_answer</b>=record_session /tmp/33333.wav"/><br> <action application="answer"/><br> <action application="sleep" data="2000"/><br>
<action application="info"/><br> <action application="playback" data="ivr/ivr-hold_connect_call.wav"/><br> </condition><br> </extension><br><br>
But the wav file didn't get generated at all. Please advise whether the above is in correct usage. <br><br>I've also tried bridge_pre_execute_bleg_app and bridge_pre_execute_bleg_data<br><br> <action application="set" data="bridge_pre_execute_bleg_app=record_session"/><br>
<action application="set" data="bridge_pre_execute_bleg_data=/tmp/33333.wav"/><br><br>The audio file didn't appear either.<br><br>The only successful method is by using record_session directly like this:<br>
<br> <action application="record_session" data="/tmp/33333.wav"/><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"><<a href="mailto:intralanman@freeswitch.org" target="_blank">intralanman@freeswitch.org</a>></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>> Hi,<br>
><br>
> I'm using uuid_bridge to bridge two calls. May I know how to start recording only when the bridge succeeds?<br>
><br>
> Thanks,<br>
> -Jingwei<br>
</div></div><div><div></div><div>> _______________________________________________<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>
<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>