<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 'cause',</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"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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 class="HOEnZb"><font color="#888888"><br></font></span></font></div></font><span class="HOEnZb"><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>_________________________________________________________________________<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>