mod_perl hangupCause() returning 'NONE' and hangup_cause is null
Hi, I am running a perl script after the call lands on my dialplan. I want to get the status that whether the call was originated properly and and if yes what was the hangup cause. I am getting the hangup status using hangupCause() and it returns 'NONE' everytime no matter what the reason is. Also the hangup_cause variable is nill or not set everytime. Any help is appreciated. Thanks in advance!! -- Regards Ashish Gautam
In a case like this you are better off doing a uuid_dump to a temp file and sifting through the output to see what is actually available. My guess is that there will be something in there that you can use. -MC On Thu, Mar 28, 2013 at 4:50 AM, Ashish gautam <ashish@nms.co.in> wrote:
Hi,
I am running a perl script after the call lands on my dialplan. I want to get the status that whether the call was originated properly and and if yes what was the hangup cause. I am getting the hangup status using hangupCause() and it returns 'NONE' everytime no matter what the reason is. Also the hangup_cause variable is nill or not set everytime.
Any help is appreciated.
Thanks in advance!!
-- Regards
Ashish Gautam
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
Ashish gautam
-
Michael Collins