Combine lua with execute_on_answer perhaps.<div><br></div><div>Or create an outbound session and only bridge it to Aleg when answered (though then you&#39;ll need to generate your own ringback)</div><div><br></div><div><br>
<br>On Monday, September 23, 2013, David Villasmil  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Brian,<div><br></div><div>I&#39;m receiving a call on one side and bridging it to the B side. But when the calls is answered on the B-side I need to actually check the B-side is the intended terminating party, so I´m adding a sip header and the receiving party is storing the header in a db that I check... </div>


<div><br></div><div>I&#39;m not sure if i&#39;m clear enough...</div><div><br></div><div>thanks!</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 2:59 PM, Brian West <span dir="ltr">&lt;<a href="javascript:_e({}, &#39;cvml&#39;, &#39;brian@freeswitch.org&#39;);" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What exactly are you trying to accomplish?<br>
<div><br>
On Sep 22, 2013, at 8:18 PM, David Villasmil &lt;<a href="javascript:_e({}, &#39;cvml&#39;, &#39;david.villasmil.work@gmail.com&#39;);" target="_blank">david.villasmil.work@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Thanks for replying Brian,<br>
&gt;<br>
&gt; But as far as I remember, the execution of the script would only continue &quot;after&quot; the &quot;bridge&quot; finished (with answer, busy, whatever)... if so, I can&#39;t check the status on the bridge WHILE the bridge is ongoing... is this right?<br>



&gt;<br>
&gt; Thanks<br>
<br>
<br>
<br>
</div>--<br>
Brian West<br>
<a href="javascript:_e({}, &#39;cvml&#39;, &#39;brian@freeswitch.org&#39;);" target="_blank">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH_Wire , @briankwest<br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001" target="_blank">+1.918.420.9001</a>  |  F: <a href="tel:%2B1.918.420.9002" value="+19184209002" target="_blank">+1.918.420.9002</a>  |  M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001" target="_blank">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e({}, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;);" target="_blank">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="javascript:_e({}, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" 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>
</blockquote></div>