<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><steveayre@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Steven Ayre <steveayre@gmail.com><br>Subject: Re: [Freeswitch-users] HANGUP_CAUSE after bridge in outbound ESL<br>To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><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 <<a ymailto="mailto:kbdfck@gmail.com" href="/mc/compose?to=kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>> Hi All<br>><br>> What is correct method to get bridge status after execute("bridge") in ESL?<br>> I have inbound call that gets bridged to SIP endpoint. I need to know<br>> whether it was
ORIGINATOR_CANCEL or BUSY or something else, but if I use<br>> sync, seems I can't determine ORIGINATOR_CANCEL status, because it is set on<br>> a-leg which is destroyed first after hangup.<br>><br>> Is there a way to get bridge status without messing with events and event<br>> source filtering by channel uuid or event type?<br>><br>> --<br>> Best regards,<br>><br>> Dmitry Sytchev,<br>> IT Engineer<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>><br>><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>