<font face="verdana,sans-serif">After dump all the channel variables.</font><font face="verdana,sans-serif">I see the following </font><font face="verdana, sans-serif">behavior</font><div><font face="verdana,sans-serif"><br>

</font></div><div><font face="verdana,sans-serif">1. Single Bridge (eg. </font><font face="verdana, sans-serif">sofia/gw/foo/bar) </font><font face="verdana,sans-serif">have the </font><span style="background-color:rgb(255,255,255)"><font face="arial, sans-serif">last_bridge_hangup_cause &amp; originate_disposition values.</font></span></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">2. But when we use enterprise originate  :_:  , (eg. sofia/gw/foo/bar:_:sofia/gw/foo/baz</font><span style="font-family:arial,sans-serif">)     I do not see any variables related the originate hangup cause</span></div>

<div><div><font face="verdana, sans-serif"><div><span style="font-family:arial"><div><font face="verdana, sans-serif" color="#cc6600" size="1"><b><br></b></font></div></span></div></font></div>
How to get the hangup cause in the second scenario?</div><div><br></div><div>Thanks</div><div>Lloyd<br><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 8:51 PM, Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</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"><div>maybe you can try doing this in a lua script</div><div><br></div><div>sessionB = freeswitch.Session(dial_string)</div>

<div>cause = sessionB:hangupCause()</div><div><br></div><div>hopefully you will get the cause value in &#39;cause&#39;,</div>
<div>this should be the equivalent of bridge_hangup_cause in XML dialplan </div><div>but i dont know why the latter is not working (sometimes).</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">


2013/7/10 Lloyd Aloysius <span dir="ltr">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</span><br><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">When originate fail . The cli shows</font></div><div><font face="verdana,sans-serif"><br>




</font></div><div><font face="verdana,sans-serif">mod_dptools.c:3123 Originate Failed.  Cause: ALLOTTED_TIMEOUT<br clear="all"></font><br>Which channel variables gives this cause value. I try several no luck</div><div><br>




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




<font face="verdana, sans-serif">Thanks<span><font color="#888888"><br></font></span></font></div></font><span><font color="#888888">LLoyd<br><div style="font-family:arial"><font face="verdana, sans-serif" color="#cc6600" size="1"><b><br>


</b></font></div></font></span></div></font></div>
</div>
<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>
<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>