You could try doing a bridge_pre_execute and play the sounds to each leg independently prior to the bridge. Check out these chan vars:<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_aleg_app">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_aleg_app</a><br>
<a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_aleg_data">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_aleg_data</a><br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_app">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_app</a><br>
<a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_data">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_data</a><br><br>-MC<br><br><div class="gmail_quote">On Wed, Aug 29, 2012 at 4:24 AM, Dave Horton <span dir="ltr">&lt;<a href="mailto:daveh@beachdognet.com" target="_blank">daveh@beachdognet.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; Set api_on_answer to execute<br>
&gt; uuid_broadcast&lt;<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast</a><br>
&gt; &gt;<br>
&gt; which<br>
&gt; will let you pick which legs to play the recording to.<br>
&gt; You can pass in the UUID with ${uuid}<br>
&gt;<br>
&gt; -Avi<br>
&gt;<br>
I tried this, and it worked.....sort of.  If I play the prompt the A leg it is fine -- caller hears the prompt, then is connected to called party.  If I play it to the B leg, however, the prompt does not seem to start playing at all until the B party actually starts talking, and then the prompt is played extremely choppy and slow.....it takes about 10 seconds to play a 4 second prompt.  Meanwhile, the caller and called party can&#39;t hear each other.  Any idea what is going on and how to fix it?  I am doing it in lua as follows:<br>

<br>
session:execute(&quot;export&quot;,&quot;nolocal:jitterbuffer_msec=100&quot;) ;<br>
session:setVariable(&quot;RECORD_STEREO&quot;,&quot;true&quot;) ;<br>
session:setVariable(&quot;aleg_uuid&quot;,uuid) ;<br>
session:execute(&quot;record_session&quot;, outfile) ;<br>
session:execute(&quot;set&quot;,&quot;progress_timeout=60&quot;) ;<br>
session:execute(&quot;set&quot;,&quot;call_timeout=120&quot;) ;<br>
session:setVariable(&quot;hangup_after_bridge&quot;,&quot;true&quot;) ;<br>
session:execute(&quot;bridge&quot;,&quot;sofia/normal_customer/${outdial}@${egress_gateway}&quot;) ;<br>
--session:execute(&quot;bridge&quot;,&quot;{api_on_answer=&#39;uuid_broadcast &quot; .. uuid .. &quot; &quot; .. this_call_is_being_recorded .. &quot; &quot; .. &quot;bleg&#39;}sofia/normal_customer/${outdial}@${egress_gateway}&quot;) ;<br>

<br>
<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>
</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><br>