<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, check<span class="mw-headline"> originate_disposition</span> variable<br><br>http://wiki.freeswitch.org/wiki/Extension_Status_Example<br>http://wiki.freeswitch.org/wiki/Variable_originate_disposition<br><br>Diego Toro<br>
http://voipensando.blogspot.com/<br><br>--- On <b>Tue, 3/1/11, Steven Ayre <i>&lt;steveayre@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Steven Ayre &lt;steveayre@gmail.com&gt;<br>Subject: Re: [Freeswitch-users] HANGUP_CAUSE after bridge in outbound ESL<br>To: "FreeSWITCH Users Help" &lt;freeswitch-users@lists.freeswitch.org&gt;<br>Date: Tuesday, March 1, 2011, 4:08 AM<br><br><div class="plainMail">The correct way is to use events. You can register for just the hangup event.<br><br>-Steve<br><br><br>On 28 February 2011 22:43, Dmitry Sytchev &lt;<a ymailto="mailto:kbdfck@gmail.com" href="/mc/compose?to=kbdfck@gmail.com">kbdfck@gmail.com</a>&gt; wrote:<br>&gt; Hi All<br>&gt;<br>&gt; What is correct method to get bridge status after execute("bridge") in ESL?<br>&gt; I have inbound call that gets bridged to SIP endpoint. I need to know<br>&gt; whether it was
 ORIGINATOR_CANCEL or BUSY or something else, but if I use<br>&gt; sync, seems I can't determine ORIGINATOR_CANCEL status, because it is set on<br>&gt; a-leg which is destroyed first after hangup.<br>&gt;<br>&gt; Is there a way to get bridge status without messing with events and event<br>&gt; source filtering by channel uuid or event type?<br>&gt;<br>&gt; --<br>&gt; Best regards,<br>&gt;<br>&gt; Dmitry Sytchev,<br>&gt; IT Engineer<br>&gt;<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=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></blockquote></td></tr></table><br>