Yes, this was exactly my problem with session variables. Seems I've been using freeswitch git version where perl ESL event filtering was broken. I saw a thread about this on mailing list. I'll try with latest git.<br>
<br><div class="gmail_quote">2011/3/1 Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF"><div>Yes... Problem is how to get it. One way is the CDR, but that's not through ESL. Events are another - it'll be sent as a header. There's the uuid_getvar api but that won't work if the session has been destroyed.<br>
<br>Steve on iPhone</div><div><div class="h5"><div><br>On 1 Mar 2011, at 14:04, Diego Toro <<a href="mailto:dftoro@yahoo.com" target="_blank">dftoro@yahoo.com</a>> wrote:<br><br></div><blockquote type="cite"><div><table cellspacing="0" cellpadding="0" border="0">
<tbody><tr><td valign="top" style="font:inherit">Hi, check<span> originate_disposition</span> variable<br><br><a href="http://wiki.freeswitch.org/wiki/Extension_Status_Example" target="_blank">http://wiki.freeswitch.org/wiki/Extension_Status_Example</a><br>
<a href="http://wiki.freeswitch.org/wiki/Variable_originate_disposition" target="_blank">http://wiki.freeswitch.org/wiki/Variable_originate_disposition</a><br><br>Diego Toro<br>
<a href="http://voipensando.blogspot.com/" target="_blank">http://voipensando.blogspot.com/</a><br><br>--- On <b>Tue, 3/1/11, Steven Ayre <i><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Steven Ayre <<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>><br>Subject: Re: [Freeswitch-users] HANGUP_CAUSE after bridge in outbound ESL<br>
To: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Date: Tuesday, March 1, 2011, 4:08 AM<br><br><div>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 href="http://mc/compose?to=kbdfck@gmail.com" target="_blank">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 href="http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" 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>><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" 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></div></blockquote></td></tr></tbody></table><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto: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></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>