[Freeswitch-users] originate_disposition , hangup_cause - return empty

Lloyd Aloysius lloyd.aloysius at gmail.com
Fri Jun 28 22:27:56 MSD 2013


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 at abc.mydomain.ca
)},pickup/walley at 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 at 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 at 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130628/ff54a46e/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list