<font face="verdana,sans-serif">Call is bridge from lua &amp; the bridge</font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><br></font><div><font face="verdana,sans-serif"><div>

{sip_invite_domain=<a href="http://abc.mydomain.ca">abc.mydomain.ca</a>,ignore_early_media=true,force_transfer_context=<a href="http://abc.mydomain.ca">abc.mydomain.ca</a>,originate_timeout=20}[leg_timeout=20]${sofia_contact(<a href="mailto:walley@abc.mydomain.ca">walley@abc.mydomain.ca</a>)},pickup/walley@abc.mydomain.ca:_:{ignore_early_media=true,group_confirm_file=/usr/local/hostedsip/sounds/press-1-to-accept.wav,group_confirm_key=1,hangup_after_bridge=true,pstn_direction=PSTN_OUTBOUND,execute_on_originate=limit db <a href="http://abc.mydomain.ca">abc.mydomain.ca</a> call_count 3 <a href="mailto:outbound.max.calls@abc.mydomain.ca">outbound.max.calls@abc.mydomain.ca</a> XML <a href="http://abc.mydomain.ca">abc.mydomain.ca</a>}[leg_timeout=20]sofia/gateway/utel/14164791234</div>

<div><br></div></font></div><div><font face="verdana,sans-serif"><br clear="all"></font><br clear="all"><div><font face="verdana, sans-serif"><span style="font-family:arial"><font face="verdana, sans-serif"><br></font><div>

<font face="verdana, sans-serif" color="#cc6600" size="1"><b><br></b></font></div></span></font></div>
<br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 7:26 PM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Looks like the right vars, I use originate_disposition and bridge_hangup_cause right after the bridges....<div>More info on the call flow? Is the bridge initiated within lua? Or if not, anything else happen in between?<br>



<div><div><span style="font-family:Verdana,Arial,Helvetica,sans-serif">-Avi</span></div><div><br><div class="gmail_quote"><div><div class="h5">On Fri, Jun 28, 2013 at 2:07 AM, Lloyd Aloysius <span dir="ltr">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><font face="verdana,sans-serif">Hi All</font><div><font face="verdana,sans-serif"><br>

</font></div><div><font face="verdana, sans-serif">fs_cli shows the reason the for the bridge fails is </font></div>

<div><font face="verdana, sans-serif"><br>

</font></div><div><font face="verdana,sans-serif"><b>mod_dptools.c:3096 Originate Failed.  Cause: NO_ANSWER</b></font></div><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana, sans-serif">When I try to get the reason for the bridge fail from lua. All the following return empty or nil value</font></div>





<div><font face="verdana, sans-serif"><br></font></div><div><div>local last_bridge_hangup_cause=session:getVariable(&quot;last_bridge_hangup_cause&quot;)</div><div>local bridge_hangup_cause=session:getVariable(&quot;bridge_hangup_cause&quot;)</div>





<div>local hangup_cause=session:getVariable(&quot;hangup_cause&quot;)</div></div><div>local originate_disposition = session:getVariable(&quot;originate_disposition&quot;)</div><div><br></div><div>Does this seem to be a bug? or I am accessing a wrong variable?</div>





<div><br></div><div><font face="verdana, sans-serif">Thanks</font></div><span><font color="#888888"><div><font face="verdana, sans-serif">Lloyd</font></div>
</font></span><br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto: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></blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div></div>