After dump all the channel variables.I see the following behavior 1. Single Bridge (eg. sofia/gw/foo/bar) have the last_bridge_hangup_cause & originate_disposition values. 2. But when we use enterprise originate :_: , (eg. sofia/gw/foo/bar:_:sofia/gw/foo/baz) I do not see any variables related the originate hangup cause * * How to get the hangup cause in the second scenario? Thanks Lloyd On Tue, Jul 9, 2013 at 8:51 PM, Vincent Xia <gmangudai@gmail.com> wrote:
maybe you can try doing this in a lua script
sessionB = freeswitch.Session(dial_string) cause = sessionB:hangupCause()
hopefully you will get the cause value in 'cause', this should be the equivalent of bridge_hangup_cause in XML dialplan but i dont know why the latter is not working (sometimes).
2013/7/10 Lloyd Aloysius <lloyd.aloysius@gmail.com>
Hi All
When originate fail . The cli shows
mod_dptools.c:3123 Originate Failed. Cause: ALLOTTED_TIMEOUT
Which channel variables gives this cause value. I try several no luck
bridge_hangup_cause last_bridge_hangup_cause hangup_cause_q850
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