The correct way is to use events. You can register for just the hangup event. -Steve On 28 February 2011 22:43, Dmitry Sytchev <kbdfck@gmail.com> wrote:
Hi All
What is correct method to get bridge status after execute("bridge") in ESL? I have inbound call that gets bridged to SIP endpoint. I need to know whether it was ORIGINATOR_CANCEL or BUSY or something else, but if I use sync, seems I can't determine ORIGINATOR_CANCEL status, because it is set on a-leg which is destroyed first after hangup.
Is there a way to get bridge status without messing with events and event source filtering by channel uuid or event type?
-- Best regards,
Dmitry Sytchev, IT Engineer
_______________________________________________ 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