originate_disposition , hangup_cause - return empty
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
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
Call is bridge from lua & the bridge {sip_invite_domain=abc.mydomain.ca ,ignore_early_media=true,force_transfer_context=abc.mydomain.ca ,originate_timeout=20}[leg_timeout=20]${sofia_contact(walley@abc.mydomain.ca )},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 abc.mydomain.ca call_count 3 outbound.max.calls@abc.mydomain.ca XML abc.mydomain.ca}[leg_timeout=20]sofia/gateway/utel/14164791234 * * On Thu, Jun 27, 2013 at 7:26 PM, Avi Marcus <avi@avimarcus.net> wrote:
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
_________________________________________________________________________ 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
participants (2)
-
Avi Marcus
-
Lloyd Aloysius