Combine lua with execute_on_answer perhaps.

Or create an outbound session and only bridge it to Aleg when answered (though then you'll need to generate your own ringback)



On Monday, September 23, 2013, David Villasmil wrote:
Hello Brian,

I'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... 

I'm not sure if i'm clear enough...

thanks!

David


On Mon, Sep 23, 2013 at 2:59 PM, Brian West <brian@freeswitch.org> wrote:
What exactly are you trying to accomplish?

On Sep 22, 2013, at 8:18 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:

> Thanks for replying Brian,
>
> But as far as I remember, the execution of the script would only continue "after" the "bridge" finished (with answer, busy, whatever)... if so, I can't check the status on the bridge WHILE the bridge is ongoing... is this right?
>
> Thanks



--
Brian West
brian@freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH_Wire , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org