Looks like the right vars, I use originate_disposition and bridge_hangup_cause right after the bridges....
More info on the call flow? Is the bridge initiated within lua? Or if not, anything else happen in between?
-Avi

On Fri, Jun 28, 2013 at 2:07 AM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Hi All

fs_cli shows the reason the for the bridge fails is 

mod_dptools.c:3096 Originate Failed.  Cause: NO_ANSWER

When I try to get the reason for the bridge fail from lua. All the following return empty or nil value

local last_bridge_hangup_cause=session:getVariable("last_bridge_hangup_cause")
local bridge_hangup_cause=session:getVariable("bridge_hangup_cause")
local hangup_cause=session:getVariable("hangup_cause")
local originate_disposition = session:getVariable("originate_disposition")

Does this seem to be a bug? or I am accessing a wrong variable?

Thanks
Lloyd

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org