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>
-Jingwei<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">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 class="im"><br>
On Feb 9, 2010, at 9:19 PM, Jingwei Yang wrote:<br>
<br>
</div><div><div></div><div class="h5">> 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 class="h5">> _______________________________________________<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>
<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>